gtk3 3.0.5 → 3.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/gtk3/rb-gtk3-cell-layout.c +42 -0
- data/ext/gtk3/rb-gtk3-private.h +3 -0
- data/ext/gtk3/rb-gtk3-tree-model.c +77 -0
- data/ext/gtk3/rb-gtk3-tree-view.c +42 -0
- data/ext/gtk3/rb-gtk3.c +33 -0
- data/lib/gtk3/builder.rb +54 -11
- data/lib/gtk3/container.rb +13 -0
- data/lib/gtk3/deprecated.rb +4 -4
- data/lib/gtk3/loader.rb +2 -0
- data/lib/gtk3/show-uri.rb +34 -0
- data/lib/gtk3/stock-item.rb +36 -0
- data/lib/gtk3/tree-iter.rb +3 -1
- data/sample/gtk-demo/TODO +1 -1
- data/sample/gtk-demo/alias_cursor.png +0 -0
- data/sample/gtk-demo/all_scroll_cursor.png +0 -0
- data/sample/gtk-demo/application.ui +11 -18
- data/sample/gtk-demo/brick.png +0 -0
- data/sample/gtk-demo/brick2.png +0 -0
- data/sample/gtk-demo/cell_cursor.png +0 -0
- data/sample/gtk-demo/col_resize_cursor.png +0 -0
- data/sample/gtk-demo/copy_cursor.png +0 -0
- data/sample/gtk-demo/crosshair_cursor.png +0 -0
- data/sample/gtk-demo/css_accordion.css +1 -2
- data/sample/gtk-demo/css_basics.css +1 -1
- data/sample/gtk-demo/css_multiplebgs.css +136 -0
- data/sample/gtk-demo/css_pixbufs.css +76 -0
- data/sample/gtk-demo/css_shadows.css +44 -0
- data/sample/gtk-demo/cssview.css +41 -0
- data/sample/gtk-demo/decor1.png +0 -0
- data/sample/gtk-demo/decor2.png +0 -0
- data/sample/gtk-demo/default_cursor.png +0 -0
- data/sample/gtk-demo/demo.gresource.xml +216 -0
- data/sample/gtk-demo/demo.ui +285 -241
- data/sample/gtk-demo/e_resize_cursor.png +0 -0
- data/sample/gtk-demo/ew_resize_cursor.png +0 -0
- data/sample/gtk-demo/filtermodel.ui +195 -0
- data/sample/gtk-demo/font-features.ui +966 -0
- data/sample/gtk-demo/glarea-fragment.glsl +9 -0
- data/sample/gtk-demo/glarea-vertex.glsl +8 -0
- data/sample/gtk-demo/grab_cursor.png +0 -0
- data/sample/gtk-demo/grabbing_cursor.png +0 -0
- data/sample/gtk-demo/hand_cursor.png +0 -0
- data/sample/gtk-demo/help_cursor.png +0 -0
- data/sample/gtk-demo/listbox.ui +332 -0
- data/sample/gtk-demo/main.rb +132 -313
- data/sample/gtk-demo/main.ui +190 -0
- data/sample/gtk-demo/markup.txt +16 -0
- data/sample/gtk-demo/menus.ui +1 -1
- data/sample/gtk-demo/messages.txt +388 -0
- data/sample/gtk-demo/modelbutton.ui +162 -0
- data/sample/gtk-demo/move_cursor.png +0 -0
- data/sample/gtk-demo/n_resize_cursor.png +0 -0
- data/sample/gtk-demo/ne_resize_cursor.png +0 -0
- data/sample/gtk-demo/nesw_resize_cursor.png +0 -0
- data/sample/gtk-demo/no_drop_cursor.png +0 -0
- data/sample/gtk-demo/none_cursor.png +0 -0
- data/sample/gtk-demo/not_allowed_cursor.png +0 -0
- data/sample/gtk-demo/ns_resize_cursor.png +0 -0
- data/sample/gtk-demo/nw_resize_cursor.png +0 -0
- data/sample/gtk-demo/nwse_resize_cursor.png +0 -0
- data/sample/gtk-demo/org.gtk.Demo.gschema.xml +17 -0
- data/sample/gtk-demo/pointer_cursor.png +0 -0
- data/sample/gtk-demo/popover.ui +94 -0
- data/sample/gtk-demo/progress_cursor.png +0 -0
- data/sample/gtk-demo/reset.css +0 -1
- data/sample/gtk-demo/revealer.ui +177 -0
- data/sample/gtk-demo/row_resize_cursor.png +0 -0
- data/sample/gtk-demo/s_resize_cursor.png +0 -0
- data/sample/gtk-demo/scale.ui +117 -0
- data/sample/gtk-demo/se_resize_cursor.png +0 -0
- data/sample/gtk-demo/spinbutton.ui +194 -0
- data/sample/gtk-demo/stack.ui +72 -0
- data/sample/gtk-demo/sw_resize_cursor.png +0 -0
- data/sample/gtk-demo/text_cursor.png +0 -0
- data/sample/gtk-demo/theming.ui +102 -147
- data/sample/gtk-demo/vertical_text_cursor.png +0 -0
- data/sample/gtk-demo/w_resize_cursor.png +0 -0
- data/sample/gtk-demo/wait_cursor.png +0 -0
- data/sample/gtk-demo/zoom_in_cursor.png +0 -0
- data/sample/gtk-demo/zoom_out_cursor.png +0 -0
- data/sample/tutorial/README.md +415 -0
- data/test/run-test.rb +1 -1
- data/test/test-gtk-builder.rb +108 -30
- data/test/test-gtk-cell-layout.rb +6 -0
- metadata +80 -16
data/lib/gtk3/tree-iter.rb
CHANGED
@@ -30,7 +30,9 @@ module Gtk
|
|
30
30
|
alias_method :[], :get_value
|
31
31
|
|
32
32
|
def set_value(column, value)
|
33
|
-
@model.
|
33
|
+
gtype = @model.get_column_type(column)
|
34
|
+
gvalue = GLib::Value.new(gtype, value)
|
35
|
+
@model.set_value(self, column, gvalue)
|
34
36
|
end
|
35
37
|
alias_method :[]=, :set_value
|
36
38
|
|
data/sample/gtk-demo/TODO
CHANGED
Binary file
|
Binary file
|
@@ -3,9 +3,7 @@
|
|
3
3
|
<object class="GtkGrid" id="grid">
|
4
4
|
<child>
|
5
5
|
<object class="GtkToolbar" id="toolbar">
|
6
|
-
<property name="
|
7
|
-
<property name="halign">fill</property>
|
8
|
-
<property name="hexpand">True</property>
|
6
|
+
<property name="hexpand">1</property>
|
9
7
|
<style>
|
10
8
|
<class name="primary-toolbar"/>
|
11
9
|
</style>
|
@@ -37,16 +35,14 @@
|
|
37
35
|
</child>
|
38
36
|
<child>
|
39
37
|
<object class="GtkInfoBar" id="infobar">
|
40
|
-
<property name="no-show-all">
|
41
|
-
<property name="
|
42
|
-
<property name="hexpand">True</property>
|
38
|
+
<property name="no-show-all">1</property>
|
39
|
+
<property name="hexpand">1</property>
|
43
40
|
<child internal-child="content_area">
|
44
41
|
<object class="GtkBox" id="content_area">
|
45
42
|
<child>
|
46
43
|
<object class="GtkLabel" id="message">
|
47
|
-
<property name="visible">
|
48
|
-
<property name="hexpand">
|
49
|
-
<property name="halign">fill</property>
|
44
|
+
<property name="visible">1</property>
|
45
|
+
<property name="hexpand">1</property>
|
50
46
|
</object>
|
51
47
|
</child>
|
52
48
|
</object>
|
@@ -55,10 +51,10 @@
|
|
55
51
|
<object class="GtkBox" id="action_area">
|
56
52
|
<child>
|
57
53
|
<object class="GtkButton" id="button">
|
58
|
-
<property name="visible">
|
54
|
+
<property name="visible">1</property>
|
59
55
|
<property name="valign">center</property>
|
60
56
|
<property name="label" translatable="yes">_OK</property>
|
61
|
-
<property name="use_underline">
|
57
|
+
<property name="use_underline">1</property>
|
62
58
|
</object>
|
63
59
|
</child>
|
64
60
|
</object>
|
@@ -74,10 +70,8 @@
|
|
74
70
|
<property name="shadow-type">in</property>
|
75
71
|
<child>
|
76
72
|
<object class="GtkTextView" id="contents">
|
77
|
-
<property name="
|
78
|
-
<property name="
|
79
|
-
<property name="hexpand">True</property>
|
80
|
-
<property name="vexpand">True</property>
|
73
|
+
<property name="hexpand">1</property>
|
74
|
+
<property name="vexpand">1</property>
|
81
75
|
</object>
|
82
76
|
</child>
|
83
77
|
</object>
|
@@ -88,9 +82,8 @@
|
|
88
82
|
</child>
|
89
83
|
<child>
|
90
84
|
<object class="GtkStatusbar" id="status">
|
91
|
-
<property name="
|
92
|
-
<property name="
|
93
|
-
<property name="visible">True</property>
|
85
|
+
<property name="hexpand">1</property>
|
86
|
+
<property name="visible">1</property>
|
94
87
|
</object>
|
95
88
|
<packing>
|
96
89
|
<property name="left-attach">0</property>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import url("reset.css");
|
1
|
+
@import url("resource://css_accordion/reset.css");
|
2
2
|
|
3
3
|
* {
|
4
4
|
transition-property: color, background-color, border-color, background-image, padding, border-width;
|
@@ -50,4 +50,3 @@ GtkWindow {
|
|
50
50
|
.button:active {
|
51
51
|
background-color: #993401;
|
52
52
|
}
|
53
|
-
|
@@ -0,0 +1,136 @@
|
|
1
|
+
/* You can edit the text in this window to change the
|
2
|
+
* appearance of this Window.
|
3
|
+
* Be careful, if you screw it up, nothing might be visible
|
4
|
+
* anymore. :)
|
5
|
+
*/
|
6
|
+
|
7
|
+
/* This CSS resets all properties to their defaults values
|
8
|
+
* and overrides all user settings and the theme in use */
|
9
|
+
@import url("resource://css_multiplebgs/reset.css");
|
10
|
+
@import url("resource://css_multiplebgs/cssview.css");
|
11
|
+
|
12
|
+
#canvas {
|
13
|
+
transition-property: background-color, background-image;
|
14
|
+
transition-duration: 0.5s;
|
15
|
+
|
16
|
+
background-color: #4870bc;
|
17
|
+
}
|
18
|
+
|
19
|
+
/* The gradients below are adapted versions of Lea Verou's CSS3 patterns,
|
20
|
+
* licensed under the MIT license:
|
21
|
+
* Copyright (c) 2011 Lea Verou, http://lea.verou.me/
|
22
|
+
*
|
23
|
+
* See https://github.com/LeaVerou/CSS3-Patterns-Gallery
|
24
|
+
*/
|
25
|
+
|
26
|
+
/**********
|
27
|
+
* Bricks *
|
28
|
+
**********/
|
29
|
+
/*
|
30
|
+
@define-color brick_hi #d42;
|
31
|
+
@define-color brick_lo #b42;
|
32
|
+
@define-color brick_hi_backdrop #888;
|
33
|
+
@define-color brick_lo_backdrop #999;
|
34
|
+
|
35
|
+
#canvas {
|
36
|
+
background-color: #999;
|
37
|
+
background-image: linear-gradient(205deg, @brick_lo, @brick_lo 23px, transparent 23px),
|
38
|
+
linear-gradient(25deg, @brick_hi, @brick_hi 23px, transparent 23px),
|
39
|
+
linear-gradient(205deg, @brick_lo, @brick_lo 23px, transparent 23px),
|
40
|
+
linear-gradient(25deg, @brick_hi, @brick_hi 23px, transparent 23px);
|
41
|
+
background-size: 58px 58px;
|
42
|
+
background-position: 0px 6px, 4px 31px, 29px 35px, 34px 2px;
|
43
|
+
}
|
44
|
+
|
45
|
+
#canvas:backdrop {
|
46
|
+
background-color: #444;
|
47
|
+
background-image: linear-gradient(205deg, @brick_lo_backdrop, @brick_lo_backdrop 23px, transparent 23px),
|
48
|
+
linear-gradient(25deg, @brick_hi_backdrop, @brick_hi_backdrop 23px, transparent 23px),
|
49
|
+
linear-gradient(205deg, @brick_lo_backdrop, @brick_lo_backdrop 23px, transparent 23px),
|
50
|
+
linear-gradient(25deg, @brick_hi_backdrop, @brick_hi_backdrop 23px, transparent 23px);
|
51
|
+
background-size: 58px 58px;
|
52
|
+
background-position: 0px 6px, 4px 31px, 29px 35px, 34px 2px;
|
53
|
+
}
|
54
|
+
*/
|
55
|
+
|
56
|
+
/*
|
57
|
+
#bricks-button {
|
58
|
+
background-color: #eef;
|
59
|
+
background-image: -gtk-scaled(url('resource:///css_multiplebgs/brick.png'),url('resource:///css_multiplebgs/brick2.png'));
|
60
|
+
background-repeat: no-repeat;
|
61
|
+
background-position: center;
|
62
|
+
}
|
63
|
+
|
64
|
+
*/
|
65
|
+
/**********
|
66
|
+
* Tartan *
|
67
|
+
**********/
|
68
|
+
/*
|
69
|
+
@define-color tartan_bg #662e2c;
|
70
|
+
@define-color tartan_bg_backdrop #333;
|
71
|
+
|
72
|
+
#canvas {
|
73
|
+
background-color: @tartan_bg;
|
74
|
+
background-image: repeating-linear-gradient(transparent, transparent 50px, rgba(0,0,0,.4) 50px,
|
75
|
+
rgba(0,0,0,.4) 53px, transparent 53px, transparent 63px,
|
76
|
+
rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px, transparent 66px,
|
77
|
+
transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px,
|
78
|
+
rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px,
|
79
|
+
rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px,
|
80
|
+
rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),
|
81
|
+
repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(0,0,0,.4) 50px, rgba(0,0,0,.4) 53px,
|
82
|
+
transparent 53px, transparent 63px, rgba(0,0,0,.4) 63px, rgba(0,0,0,.4) 66px,
|
83
|
+
transparent 66px, transparent 116px, rgba(0,0,0,.5) 116px, rgba(0,0,0,.5) 166px,
|
84
|
+
rgba(255,255,255,.2) 166px, rgba(255,255,255,.2) 169px, rgba(0,0,0,.5) 169px,
|
85
|
+
rgba(0,0,0,.5) 179px, rgba(255,255,255,.2) 179px, rgba(255,255,255,.2) 182px,
|
86
|
+
rgba(0,0,0,.5) 182px, rgba(0,0,0,.5) 232px, transparent 232px),
|
87
|
+
repeating-linear-gradient(-55deg, transparent, transparent 1px, rgba(0,0,0,.2) 1px, rgba(0,0,0,.2) 4px,
|
88
|
+
transparent 4px, transparent 19px, rgba(0,0,0,.2) 19px,
|
89
|
+
rgba(0,0,0,.2) 24px, transparent 24px, transparent 51px, rgba(0,0,0,.2) 51px,
|
90
|
+
rgba(0,0,0,.2) 54px, transparent 54px, transparent 74px);
|
91
|
+
}
|
92
|
+
|
93
|
+
#canvas:backdrop {
|
94
|
+
background-color: @tartan_bg_backdrop;
|
95
|
+
}
|
96
|
+
*/
|
97
|
+
|
98
|
+
/***********
|
99
|
+
* Stripes *
|
100
|
+
***********/
|
101
|
+
|
102
|
+
/*
|
103
|
+
@define-color base_bg #4870bc;
|
104
|
+
@define-color backdrop_bg #555;
|
105
|
+
|
106
|
+
#canvas {
|
107
|
+
background-color: @base_bg;
|
108
|
+
background-image: linear-gradient(to left, transparent, rgba(255,255,255,.07) 50%, transparent 50%),
|
109
|
+
linear-gradient(to left, transparent, rgba(255,255,255,.13) 50%, transparent 50%),
|
110
|
+
linear-gradient(to left, transparent, transparent 50%, rgba(255,255,255,.17) 50%),
|
111
|
+
linear-gradient(to left, transparent, transparent 50%, rgba(255,255,255,.19) 50%);
|
112
|
+
background-size: 29px, 59px, 73px, 109px;
|
113
|
+
}
|
114
|
+
|
115
|
+
#canvas:backdrop {
|
116
|
+
background-color: @backdrop_bg;
|
117
|
+
}
|
118
|
+
*/
|
119
|
+
|
120
|
+
/***************
|
121
|
+
* Lined Paper *
|
122
|
+
***************/
|
123
|
+
/*
|
124
|
+
#canvas {
|
125
|
+
background-color: #fff;
|
126
|
+
background-image: linear-gradient(90deg, transparent 79px, alpha(#f98195, 0.40) 79px, #f98195 80px, alpha(#f98195, 0.40) 81px, transparent 81px),
|
127
|
+
linear-gradient(alpha(#77c5cf, 0.60), alpha(#77c5cf, 0.60) 1px, transparent 1px);
|
128
|
+
background-size: 100% 36px;
|
129
|
+
}
|
130
|
+
|
131
|
+
#canvas:backdrop {
|
132
|
+
background-color: #f1f2f4;
|
133
|
+
background-image: linear-gradient(90deg, transparent 79px, alpha(#999, 0.40) 79px, #999 80px, alpha(#999, 0.40) 81px, transparent 81px),
|
134
|
+
linear-gradient(alpha(#bbb, 0.60), alpha(#bbb, 0.60) 1px, transparent 1px);
|
135
|
+
}
|
136
|
+
*/
|
@@ -0,0 +1,76 @@
|
|
1
|
+
/* You can edit the text in this window to change the
|
2
|
+
* appearance of this Window.
|
3
|
+
* Be careful, if you screw it up, nothing might be visible
|
4
|
+
* anymore. :)
|
5
|
+
*/
|
6
|
+
|
7
|
+
/* This CSS resets all properties to their defaults values
|
8
|
+
* and overrides all user settings and the theme in use */
|
9
|
+
@import url("resource://css_pixbufs/reset.css");
|
10
|
+
@import url("resource://css_pixbufs/cssview.css");
|
11
|
+
|
12
|
+
@keyframes move-the-image {
|
13
|
+
0% { background-position: 50.00% 75.00%, 67.68% 67.68%, 75.00% 50.00%, 67.68% 32.32%, 50.00% 25.00%, 32.32% 32.32%, 25.00% 50.00%, 32.32% 67.68%, 0% 0%; }
|
14
|
+
3.125% { background-position: 55.19% 76.11%, 72.14% 64.79%, 76.11% 44.81%, 64.79% 27.86%, 44.81% 23.89%, 27.86% 35.21%, 23.89% 55.19%, 35.21% 72.14%, 0% 0%; }
|
15
|
+
6.25% { background-position: 60.79% 76.04%, 76.04% 60.79%, 76.04% 39.21%, 60.79% 23.96%, 39.21% 23.96%, 23.96% 39.21%, 23.96% 60.79%, 39.21% 76.04%, 0% 0%; }
|
16
|
+
9.375% { background-position: 66.46% 74.64%, 79.06% 55.78%, 74.64% 33.54%, 55.78% 20.94%, 33.54% 25.36%, 20.94% 44.22%, 25.36% 66.46%, 44.22% 79.06%, 0% 0%; }
|
17
|
+
12.5% { background-position: 71.84% 71.84%, 80.89% 50.00%, 71.84% 28.16%, 50.00% 19.11%, 28.16% 28.16%, 19.11% 50.00%, 28.16% 71.84%, 50.00% 80.89%, 0% 0%; }
|
18
|
+
15.625% { background-position: 76.55% 67.74%, 81.32% 43.77%, 67.74% 23.45%, 43.77% 18.68%, 23.45% 32.26%, 18.68% 56.23%, 32.26% 76.55%, 56.23% 81.32%, 0% 0%; }
|
19
|
+
18.75% { background-position: 80.21% 62.51%, 80.21% 37.49%, 62.51% 19.79%, 37.49% 19.79%, 19.79% 37.49%, 19.79% 62.51%, 37.49% 80.21%, 62.51% 80.21%, 0% 0%; }
|
20
|
+
21.875% { background-position: 82.54% 56.47%, 77.58% 31.57%, 56.47% 17.46%, 31.57% 22.42%, 17.46% 43.53%, 22.42% 68.43%, 43.53% 82.54%, 68.43% 77.58%, 0% 0%; }
|
21
|
+
25% { background-position: 83.33% 50.00%, 73.57% 26.43%, 50.00% 16.67%, 26.43% 26.43%, 16.67% 50.00%, 26.43% 73.57%, 50.00% 83.33%, 73.57% 73.57%, 0% 0%; }
|
22
|
+
28.125% { background-position: 82.54% 43.53%, 68.43% 22.42%, 43.53% 17.46%, 22.42% 31.57%, 17.46% 56.47%, 31.57% 77.58%, 56.47% 82.54%, 77.58% 68.43%, 0% 0%; }
|
23
|
+
31.25% { background-position: 80.21% 37.49%, 62.51% 19.79%, 37.49% 19.79%, 19.79% 37.49%, 19.79% 62.51%, 37.49% 80.21%, 62.51% 80.21%, 80.21% 62.51%, 0% 0%; }
|
24
|
+
34.375% { background-position: 76.55% 32.26%, 56.23% 18.68%, 32.26% 23.45%, 18.68% 43.77%, 23.45% 67.74%, 43.77% 81.32%, 67.74% 76.55%, 81.32% 56.23%, 0% 0%; }
|
25
|
+
37.5% { background-position: 71.84% 28.16%, 50.00% 19.11%, 28.16% 28.16%, 19.11% 50.00%, 28.16% 71.84%, 50.00% 80.89%, 71.84% 71.84%, 80.89% 50.00%, 0% 0%; }
|
26
|
+
40.625% { background-position: 66.46% 25.36%, 44.22% 20.94%, 25.36% 33.54%, 20.94% 55.78%, 33.54% 74.64%, 55.78% 79.06%, 74.64% 66.46%, 79.06% 44.22%, 0% 0%; }
|
27
|
+
43.75% { background-position: 60.79% 23.96%, 39.21% 23.96%, 23.96% 39.21%, 23.96% 60.79%, 39.21% 76.04%, 60.79% 76.04%, 76.04% 60.79%, 76.04% 39.21%, 0% 0%; }
|
28
|
+
46.875% { background-position: 55.19% 23.89%, 35.21% 27.86%, 23.89% 44.81%, 27.86% 64.79%, 44.81% 76.11%, 64.79% 72.14%, 76.11% 55.19%, 72.14% 35.21%, 0% 0%; }
|
29
|
+
50% { background-position: 50.00% 25.00%, 32.32% 32.32%, 25.00% 50.00%, 32.32% 67.68%, 50.00% 75.00%, 67.68% 67.68%, 75.00% 50.00%, 67.68% 32.32%, 0% 0%; }
|
30
|
+
53.125% { background-position: 45.44% 27.07%, 30.57% 37.01%, 27.07% 54.56%, 37.01% 69.43%, 54.56% 72.93%, 69.43% 62.99%, 72.93% 45.44%, 62.99% 30.57%, 0% 0%; }
|
31
|
+
56.25% { background-position: 41.65% 29.85%, 29.85% 41.65%, 29.85% 58.35%, 41.65% 70.15%, 58.35% 70.15%, 70.15% 58.35%, 70.15% 41.65%, 58.35% 29.85%, 0% 0%; }
|
32
|
+
59.375% { background-position: 38.68% 33.06%, 30.02% 46.03%, 33.06% 61.32%, 46.03% 69.98%, 61.32% 66.94%, 69.98% 53.97%, 66.94% 38.68%, 53.97% 30.02%, 0% 0%; }
|
33
|
+
62.5% { background-position: 36.49% 36.49%, 30.89% 50.00%, 36.49% 63.51%, 50.00% 69.11%, 63.51% 63.51%, 69.11% 50.00%, 63.51% 36.49%, 50.00% 30.89%, 0% 0%; }
|
34
|
+
65.625% { background-position: 34.97% 39.96%, 32.28% 53.53%, 39.96% 65.03%, 53.53% 67.72%, 65.03% 60.04%, 67.72% 46.47%, 60.04% 34.97%, 46.47% 32.28%, 0% 0%; }
|
35
|
+
68.75% { background-position: 34.02% 43.38%, 34.02% 56.62%, 43.38% 65.98%, 56.62% 65.98%, 65.98% 56.62%, 65.98% 43.38%, 56.62% 34.02%, 43.38% 34.02%, 0% 0%; }
|
36
|
+
71.875% { background-position: 33.50% 46.72%, 36.01% 59.35%, 46.72% 66.50%, 59.35% 63.99%, 66.50% 53.28%, 63.99% 40.65%, 53.28% 33.50%, 40.65% 36.01%, 0% 0%; }
|
37
|
+
75% { background-position: 33.33% 50.00%, 38.21% 61.79%, 50.00% 66.67%, 61.79% 61.79%, 66.67% 50.00%, 61.79% 38.21%, 50.00% 33.33%, 38.21% 38.21%, 0% 0%; }
|
38
|
+
78.125% { background-position: 33.50% 53.28%, 40.65% 63.99%, 53.28% 66.50%, 63.99% 59.35%, 66.50% 46.72%, 59.35% 36.01%, 46.72% 33.50%, 36.01% 40.65%, 0% 0%; }
|
39
|
+
81.25% { background-position: 34.02% 56.62%, 43.38% 65.98%, 56.62% 65.98%, 65.98% 56.62%, 65.98% 43.38%, 56.62% 34.02%, 43.38% 34.02%, 34.02% 43.38%, 0% 0%; }
|
40
|
+
84.375% { background-position: 34.97% 60.04%, 46.47% 67.72%, 60.04% 65.03%, 67.72% 53.53%, 65.03% 39.96%, 53.53% 32.28%, 39.96% 34.97%, 32.28% 46.47%, 0% 0%; }
|
41
|
+
87.5% { background-position: 36.49% 63.51%, 50.00% 69.11%, 63.51% 63.51%, 69.11% 50.00%, 63.51% 36.49%, 50.00% 30.89%, 36.49% 36.49%, 30.89% 50.00%, 0% 0%; }
|
42
|
+
90.625% { background-position: 38.68% 66.94%, 53.97% 69.98%, 66.94% 61.32%, 69.98% 46.03%, 61.32% 33.06%, 46.03% 30.02%, 33.06% 38.68%, 30.02% 53.97%, 0% 0%; }
|
43
|
+
93.75% { background-position: 41.65% 70.15%, 58.35% 70.15%, 70.15% 58.35%, 70.15% 41.65%, 58.35% 29.85%, 41.65% 29.85%, 29.85% 41.65%, 29.85% 58.35%, 0% 0%; }
|
44
|
+
96.875% { background-position: 45.44% 72.93%, 62.99% 69.43%, 72.93% 54.56%, 69.43% 37.01%, 54.56% 27.07%, 37.01% 30.57%, 27.07% 45.44%, 30.57% 62.99%, 0% 0%; }
|
45
|
+
100% { background-position: 50.00% 75.00%, 67.68% 67.68%, 75.00% 50.00%, 67.68% 32.32%, 50.00% 25.00%, 32.32% 32.32%, 25.00% 50.00%, 32.32% 67.68%, 0% 0%; }
|
46
|
+
}
|
47
|
+
|
48
|
+
@keyframes size-the-image {
|
49
|
+
0% { background-size: 96px, 12px, 96px, 12px, 96px, 12px, 96px, 12px, auto }
|
50
|
+
100% { background-size: 12px, 96px, 12px, 96px, 12px, 96px, 12px, 96px, auto }
|
51
|
+
}
|
52
|
+
|
53
|
+
GtkWindow {
|
54
|
+
background-image: url("resource://css_pixbufs/apple-red.png"),
|
55
|
+
url("resource://css_pixbufs/gnome-applets.png"),
|
56
|
+
url("resource://css_pixbufs/gnome-calendar.png"),
|
57
|
+
url("resource://css_pixbufs/gnome-foot.png"),
|
58
|
+
url("resource://css_pixbufs/gnome-gmush.png"),
|
59
|
+
url("resource://css_pixbufs/gnome-gimp.png"),
|
60
|
+
url("resource://css_pixbufs/gnome-gsame.png"),
|
61
|
+
url("resource://css_pixbufs/gnu-keys.png"),
|
62
|
+
url("resource://css_pixbufs/background.jpg");
|
63
|
+
background-position: 50.00% 75.00%, 67.68% 67.68%, 75.00% 50.00%, 67.68% 32.32%, 50.00% 25.00%, 32.32% 32.32%, 25.00% 50.00%, 32.32% 67.68%, 0% 0%;
|
64
|
+
background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat;
|
65
|
+
animation: move-the-image infinite linear 3s, size-the-image infinite alternate ease-in-out 0.75s;
|
66
|
+
}
|
67
|
+
|
68
|
+
/* Make the text editor has a nice style */
|
69
|
+
.view, .scrollbar, .pane-separator {
|
70
|
+
color: black;
|
71
|
+
background-color: rgba(255,255,255,0.5);
|
72
|
+
}
|
73
|
+
|
74
|
+
.view:selected {
|
75
|
+
background-color: rgba(127,127,255,0.5);
|
76
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/* You can edit the text in this window to change the
|
2
|
+
* appearance of this Window.
|
3
|
+
* Be careful, if you screw it up, nothing might be visible
|
4
|
+
* anymore. :)
|
5
|
+
*/
|
6
|
+
|
7
|
+
/* This CSS resets all properties to their defaults values
|
8
|
+
* and overrides all user settings and the theme in use */
|
9
|
+
@import url("resource://css_shadows/reset.css");
|
10
|
+
@import url("resource://css_shadows/cssview.css");
|
11
|
+
|
12
|
+
/* Get a nice background for the window */
|
13
|
+
.background {
|
14
|
+
background-color: #4870bc;
|
15
|
+
background-image: linear-gradient(to left, transparent, rgba(255,255,255,.07) 50%, transparent 50%),
|
16
|
+
linear-gradient(to left, transparent, rgba(255,255,255,.13) 50%, transparent 50%),
|
17
|
+
linear-gradient(to left, transparent, transparent 50%, rgba(255,255,255,.17) 50%),
|
18
|
+
linear-gradient(to left, transparent, transparent 50%, rgba(255,255,255,.19) 50%);
|
19
|
+
background-size: 29px, 59px, 73px, 109px;
|
20
|
+
}
|
21
|
+
|
22
|
+
.button {
|
23
|
+
color: black;
|
24
|
+
padding: 10px;
|
25
|
+
border-radius: 5px;
|
26
|
+
transition: all 250ms ease-in;
|
27
|
+
border: 1px transparent solid;
|
28
|
+
}
|
29
|
+
|
30
|
+
.button:hover {
|
31
|
+
text-shadow: 3px 3px 5px alpha(black, 0.75);
|
32
|
+
icon-shadow: 3px 3px 5px alpha(black, 0.75);
|
33
|
+
box-shadow: 3px 3px 5px alpha(black, 0.5) inset;
|
34
|
+
border: solid 1px alpha(black, 0.75);
|
35
|
+
}
|
36
|
+
|
37
|
+
.button:active {
|
38
|
+
padding: 11px 9px 9px 11px;
|
39
|
+
text-shadow: 1px 1px 2.5px alpha(black, 0.6);
|
40
|
+
icon-shadow: 1px 1px 2.5px alpha(black, 0.6);
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
|
@@ -0,0 +1,41 @@
|
|
1
|
+
/* Make the text editor has a nice style */
|
2
|
+
.view {
|
3
|
+
color: #2e3436;
|
4
|
+
font: Monospace;
|
5
|
+
background-color: alpha(white, 0.30);
|
6
|
+
}
|
7
|
+
|
8
|
+
.view:selected {
|
9
|
+
color: white;
|
10
|
+
background-color: #4a90d9;
|
11
|
+
}
|
12
|
+
|
13
|
+
.scrollbar.trough,
|
14
|
+
.scrollbars-junction {
|
15
|
+
background-color: alpha(white, 0.80);
|
16
|
+
}
|
17
|
+
|
18
|
+
.scrollbar.slider {
|
19
|
+
border-width: 3px;
|
20
|
+
border-style: solid;
|
21
|
+
border-radius: 10px;
|
22
|
+
border-color: transparent;
|
23
|
+
background-clip: padding-box;
|
24
|
+
background-color: #999;
|
25
|
+
}
|
26
|
+
|
27
|
+
.scrollbar.slider:prelight {
|
28
|
+
background-color: #555;
|
29
|
+
}
|
30
|
+
|
31
|
+
.pane-separator {
|
32
|
+
background-color: alpha(white, 0.80);
|
33
|
+
background-image: linear-gradient(transparent, transparent 1px, #999 1px, #999 4px, transparent 4px);
|
34
|
+
background-size: 40px auto;
|
35
|
+
background-repeat: no-repeat;
|
36
|
+
background-position: center;
|
37
|
+
}
|
38
|
+
|
39
|
+
.pane-separator:prelight {
|
40
|
+
background-image: linear-gradient(transparent, transparent 1px, #555 1px, #555 4px, transparent 4px);
|
41
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,216 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<gresources>
|
3
|
+
<gresource prefix="/ui">
|
4
|
+
<file preprocess="xml-stripblanks">main.ui</file>
|
5
|
+
</gresource>
|
6
|
+
<gresource prefix="/application">
|
7
|
+
<file>application.ui</file>
|
8
|
+
<file>menus.ui</file>
|
9
|
+
</gresource>
|
10
|
+
<gresource prefix="/builder">
|
11
|
+
<file>demo.ui</file>
|
12
|
+
</gresource>
|
13
|
+
<gresource prefix="/css_accordion">
|
14
|
+
<file>css_accordion.css</file>
|
15
|
+
<file>reset.css</file>
|
16
|
+
</gresource>
|
17
|
+
<gresource prefix="/css_basics">
|
18
|
+
<file>css_basics.css</file>
|
19
|
+
<file>reset.css</file>
|
20
|
+
</gresource>
|
21
|
+
<gresource prefix="/css_multiplebgs">
|
22
|
+
<file>css_multiplebgs.css</file>
|
23
|
+
<file>brick.png</file>
|
24
|
+
<file>brick2.png</file>
|
25
|
+
<file>cssview.css</file>
|
26
|
+
<file>reset.css</file>
|
27
|
+
</gresource>
|
28
|
+
<gresource prefix="/theming_style_classes">
|
29
|
+
<file>theming.ui</file>
|
30
|
+
</gresource>
|
31
|
+
<gresource prefix="/css_pixbufs">
|
32
|
+
<file alias="gtk.css">css_pixbufs.css</file>
|
33
|
+
<file>cssview.css</file>
|
34
|
+
<file>reset.css</file>
|
35
|
+
<file>background.jpg</file>
|
36
|
+
<file>apple-red.png</file>
|
37
|
+
<file>gnome-applets.png</file>
|
38
|
+
<file>gnome-calendar.png</file>
|
39
|
+
<file>gnome-foot.png</file>
|
40
|
+
<file>gnome-gmush.png</file>
|
41
|
+
<file>gnome-gimp.png</file>
|
42
|
+
<file>gnome-gsame.png</file>
|
43
|
+
<file>gnu-keys.png</file>
|
44
|
+
</gresource>
|
45
|
+
<gresource prefix="/css_shadows">
|
46
|
+
<file alias="gtk.css">css_shadows.css</file>
|
47
|
+
<file>cssview.css</file>
|
48
|
+
<file>reset.css</file>
|
49
|
+
</gresource>
|
50
|
+
<gresource prefix="/cursors">
|
51
|
+
<file>alias_cursor.png</file>
|
52
|
+
<file>all_scroll_cursor.png</file>
|
53
|
+
<file>cell_cursor.png</file>
|
54
|
+
<file>col_resize_cursor.png</file>
|
55
|
+
<file>copy_cursor.png</file>
|
56
|
+
<file>crosshair_cursor.png</file>
|
57
|
+
<file>default_cursor.png</file>
|
58
|
+
<file>e_resize_cursor.png</file>
|
59
|
+
<file>ew_resize_cursor.png</file>
|
60
|
+
<file>grabbing_cursor.png</file>
|
61
|
+
<file>grab_cursor.png</file>
|
62
|
+
<file>hand_cursor.png</file>
|
63
|
+
<file>help_cursor.png</file>
|
64
|
+
<file>move_cursor.png</file>
|
65
|
+
<file>ne_resize_cursor.png</file>
|
66
|
+
<file>nesw_resize_cursor.png</file>
|
67
|
+
<file>no_drop_cursor.png</file>
|
68
|
+
<file>none_cursor.png</file>
|
69
|
+
<file>not_allowed_cursor.png</file>
|
70
|
+
<file>n_resize_cursor.png</file>
|
71
|
+
<file>ns_resize_cursor.png</file>
|
72
|
+
<file>nw_resize_cursor.png</file>
|
73
|
+
<file>nwse_resize_cursor.png</file>
|
74
|
+
<file>pointer_cursor.png</file>
|
75
|
+
<file>progress_cursor.png</file>
|
76
|
+
<file>row_resize_cursor.png</file>
|
77
|
+
<file>se_resize_cursor.png</file>
|
78
|
+
<file>s_resize_cursor.png</file>
|
79
|
+
<file>sw_resize_cursor.png</file>
|
80
|
+
<file>text_cursor.png</file>
|
81
|
+
<file>vertical_text_cursor.png</file>
|
82
|
+
<file>wait_cursor.png</file>
|
83
|
+
<file>w_resize_cursor.png</file>
|
84
|
+
<file>zoom_in_cursor.png</file>
|
85
|
+
<file>zoom_out_cursor.png</file>
|
86
|
+
</gresource>
|
87
|
+
<gresource prefix="/iconview">
|
88
|
+
<file preprocess="to-pixdata">gnome-fs-directory.png</file>
|
89
|
+
<file preprocess="to-pixdata">gnome-fs-regular.png</file>
|
90
|
+
</gresource>
|
91
|
+
<gresource prefix="/stack">
|
92
|
+
<file>stack.ui</file>
|
93
|
+
</gresource>
|
94
|
+
<gresource prefix="/revealer">
|
95
|
+
<file>revealer.ui</file>
|
96
|
+
</gresource>
|
97
|
+
<gresource prefix="/images">
|
98
|
+
<file>alphatest.png</file>
|
99
|
+
<file>floppybuddy.gif</file>
|
100
|
+
</gresource>
|
101
|
+
<gresource prefix="/pixbufs">
|
102
|
+
<file>apple-red.png</file>
|
103
|
+
<file>background.jpg</file>
|
104
|
+
<file>gnome-applets.png</file>
|
105
|
+
<file>gnome-calendar.png</file>
|
106
|
+
<file>gnome-foot.png</file>
|
107
|
+
<file>gnome-gmush.png</file>
|
108
|
+
<file>gnome-gimp.png</file>
|
109
|
+
<file>gnome-gsame.png</file>
|
110
|
+
<file>gnu-keys.png</file>
|
111
|
+
</gresource>
|
112
|
+
<gresource prefix="/sources">
|
113
|
+
<!-- <file>application.rb</file>
|
114
|
+
<file>assistant.rb</file>
|
115
|
+
<file>builder.rb</file>
|
116
|
+
<file>button_box.rb</file>
|
117
|
+
<file>changedisplay.rb</file>
|
118
|
+
<file>clipboard.rb</file>
|
119
|
+
<file>colorsel.rb</file>
|
120
|
+
<file>combobox.rb</file>
|
121
|
+
<file>css_accordion.rb</file>
|
122
|
+
<file>css_basics.rb</file>
|
123
|
+
<file>css_multiplebgs.rb</file>
|
124
|
+
<file>css_pixbufs.rb</file>
|
125
|
+
<file>css_shadows.rb</file>
|
126
|
+
<file>cursors.rb</file>
|
127
|
+
<file>dialog.rb</file>
|
128
|
+
<file>drawingarea.rb</file>
|
129
|
+
<file>editable_cells.rb</file>
|
130
|
+
<file>entry_buffer.rb</file>
|
131
|
+
<file>entry_completion.rb</file>
|
132
|
+
<file>event_axes.rb</file>
|
133
|
+
<file>expander.rb</file>
|
134
|
+
<file>filtermodel.rb</file>
|
135
|
+
<file>flowbox.rb</file>
|
136
|
+
<file>font_features.rb</file>
|
137
|
+
<file>gestures.rb</file>
|
138
|
+
<file>glarea.rb</file>
|
139
|
+
<file>headerbar.rb</file>
|
140
|
+
<file>hypertext.rb</file>
|
141
|
+
<file>iconview.rb</file>
|
142
|
+
<file>iconview_edit.rb</file>
|
143
|
+
<file>images.rb</file>
|
144
|
+
<file>infobar.rb</file>
|
145
|
+
<file>links.rb</file>
|
146
|
+
<file>listbox.rb</file>
|
147
|
+
<file>list_store.rb</file>
|
148
|
+
<file>markup.rb</file>
|
149
|
+
<file>menus.rb</file>
|
150
|
+
<file>modelbutton.rb</file>
|
151
|
+
<file>offscreen_window.rb</file>
|
152
|
+
<file>offscreen_window2.rb</file>
|
153
|
+
<file>overlay.rb</file>
|
154
|
+
<file>overlay2.rb</file>
|
155
|
+
<file>pagesetup.rb</file>
|
156
|
+
<file>panes.rb</file>
|
157
|
+
<file>pickers.rb</file>
|
158
|
+
<file>pixbufs.rb</file>
|
159
|
+
<file>popover.rb</file>
|
160
|
+
<file>printing.rb</file>
|
161
|
+
<file>revealer.rb</file>
|
162
|
+
<file>rotated_text.rb</file>
|
163
|
+
<file>scale.rb</file>
|
164
|
+
<file>search_entry.rb</file>
|
165
|
+
<file>search_entry2.rb</file>
|
166
|
+
<file>sizegroup.rb</file>
|
167
|
+
<file>sidebar.rb</file>
|
168
|
+
<file>stack.rb</file>
|
169
|
+
<file>spinbutton.rb</file>
|
170
|
+
<file>spinner.rb</file>
|
171
|
+
<file>textview.rb</file>
|
172
|
+
<file>textscroll.rb</file>
|
173
|
+
<file>theming_style_classes.rb</file>
|
174
|
+
<file>toolpalette.rb</file>
|
175
|
+
<file>transparent.rb</file>
|
176
|
+
<file>tree_store.rb</file>
|
177
|
+
<file>textmask.rb</file> -->
|
178
|
+
</gresource>
|
179
|
+
<gresource prefix="/textview">
|
180
|
+
<file>floppybuddy.gif</file>
|
181
|
+
</gresource>
|
182
|
+
<gresource prefix="/listbox">
|
183
|
+
<file>listbox.ui</file>
|
184
|
+
<file>messages.txt</file>
|
185
|
+
<file>apple-red.png</file>
|
186
|
+
</gresource>
|
187
|
+
<gresource prefix="/popover">
|
188
|
+
<file>popover.ui</file>
|
189
|
+
</gresource>
|
190
|
+
<gresource prefix="/glarea">
|
191
|
+
<file>glarea-fragment.glsl</file>
|
192
|
+
<file>glarea-vertex.glsl</file>
|
193
|
+
</gresource>
|
194
|
+
<gresource prefix="/font-features">
|
195
|
+
<file>font-features.ui</file>
|
196
|
+
</gresource>
|
197
|
+
<gresource prefix="/spinbutton">
|
198
|
+
<file>spinbutton.ui</file>
|
199
|
+
</gresource>
|
200
|
+
<gresource prefix="/filtermodel">
|
201
|
+
<file>filtermodel.ui</file>
|
202
|
+
</gresource>
|
203
|
+
<gresource prefix="/overlay2">
|
204
|
+
<file>decor1.png</file>
|
205
|
+
<file>decor2.png</file>
|
206
|
+
</gresource>
|
207
|
+
<gresource prefix="/markup">
|
208
|
+
<file>markup.txt</file>
|
209
|
+
</gresource>
|
210
|
+
<gresource prefix="/scale">
|
211
|
+
<file>scale.ui</file>
|
212
|
+
</gresource>
|
213
|
+
<gresource prefix="/modelbutton">
|
214
|
+
<file>modelbutton.ui</file>
|
215
|
+
</gresource>
|
216
|
+
</gresources>
|