gtk3 3.0.8-x86-mingw32 → 3.0.9-x86-mingw32
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.c +17 -0
- data/lib/2.2/gtk3.so +0 -0
- data/lib/2.3/gtk3.so +0 -0
- data/lib/gtk3/container.rb +0 -7
- data/lib/gtk3/deprecated.rb +3 -3
- data/lib/gtk3/image.rb +7 -7
- data/lib/gtk3/loader.rb +11 -5
- data/lib/gtk3/text-buffer.rb +33 -12
- data/lib/gtk3/text-view.rb +53 -0
- data/lib/gtk3/tree-model.rb +5 -0
- data/lib/gtk3/tree-view.rb +25 -0
- data/lib/gtk3/widget.rb +0 -5
- data/sample/gtk-demo/TODO +10 -6
- data/sample/gtk-demo/application.ui +93 -70
- data/sample/gtk-demo/appmenu.ui +19 -0
- data/sample/gtk-demo/assistant.rb +1 -0
- data/sample/gtk-demo/css_accordion.css +8 -8
- data/sample/gtk-demo/css_accordion.rb +2 -2
- data/sample/gtk-demo/css_basics.css +1 -1
- data/sample/gtk-demo/css_basics.rb +2 -2
- data/sample/gtk-demo/css_multiplebgs.rb +2 -2
- data/sample/gtk-demo/css_pixbufs.css +2 -2
- data/sample/gtk-demo/css_pixbufs.rb +2 -2
- data/sample/gtk-demo/css_shadows.css +5 -5
- data/sample/gtk-demo/css_shadows.rb +2 -2
- data/sample/gtk-demo/cssview.css +5 -5
- data/sample/gtk-demo/data/16x16/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/16x16/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/22x22/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/22x22/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/24x24/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/24x24/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/256x256/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/256x256/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/32x32/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/32x32/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/48x48/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/48x48/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/512x512/gtk3-demo-symbolic.symbolic.png +0 -0
- data/sample/gtk-demo/data/512x512/gtk3-demo.png +0 -0
- data/sample/gtk-demo/data/source.svg +2886 -0
- data/sample/gtk-demo/data/symbolic-source.svg +29 -0
- data/sample/gtk-demo/demo.gresource.xml +16 -5
- data/sample/gtk-demo/demo.ui +1 -0
- data/sample/gtk-demo/font_features.rb +1 -1
- data/sample/gtk-demo/main.rb +2 -2
- data/sample/gtk-demo/main.ui +18 -36
- data/sample/gtk-demo/markup.rb +53 -8
- data/sample/gtk-demo/markup.txt +2 -2
- data/sample/gtk-demo/org.gtk.Demo.gschema.xml +9 -0
- data/sample/gtk-demo/pixbufs.rb +105 -145
- data/sample/gtk-demo/reset.css +1 -58
- data/sample/gtk-demo/rotated_text.rb +119 -55
- data/sample/gtk-demo/shortcuts-boxes.ui +167 -0
- data/sample/gtk-demo/shortcuts-builder.ui +547 -0
- data/sample/gtk-demo/shortcuts-clocks.ui +166 -0
- data/sample/gtk-demo/shortcuts-gedit.ui +172 -0
- data/sample/gtk-demo/shortcuts.ui +65 -0
- data/sample/gtk-demo/stack.ui +5 -5
- data/sample/gtk-demo/textscroll.rb +106 -0
- data/sample/gtk-demo/theming.ui +58 -22
- data/sample/gtk-demo/theming_style_classes.rb +5 -4
- data/sample/gtk-demo/transparent.rb +143 -0
- data/sample/misc/aboutdialog.rb +1 -1
- data/sample/misc/bindings.rb +36 -15
- data/sample/misc/combobox.rb +1 -1
- data/sample/misc/dnd.rb +3 -3
- data/sample/misc/icons-theme-viewer.rb +1 -1
- data/sample/misc/iconview.rb +2 -2
- data/sample/misc/textbuffer-serialize.rb +18 -14
- data/sample/misc/to-drawable.rb +2 -2
- data/sample/misc/tooltips.rb +1 -0
- data/sample/misc/treeview.rb +1 -1
- data/sample/tutorial/README.md +18 -18
- data/test/test-gtk-clipboard.rb +1 -1
- data/test/test-gtk-combo-box.rb +2 -2
- data/test/test-gtk-icon-view.rb +2 -2
- data/test/test-gtk-image.rb +1 -1
- data/test/test-gtk-list-store.rb +9 -3
- data/test/test-gtk-text-view.rb +64 -0
- data/test/test-gtk-tree-path.rb +1 -3
- data/test/test-gtk-tree-view.rb +97 -0
- data/test/test-gtk-window.rb +2 -2
- data/test/test-pango-context.rb +56 -0
- metadata +46 -19
@@ -1,8 +1,8 @@
|
|
1
|
-
# Copyright (c) 2015 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (c) 2015-2016 Ruby-GNOME2 Project Team
|
2
2
|
# This program is licenced under the same licence as Ruby-GNOME2.
|
3
3
|
#
|
4
4
|
=begin
|
5
|
-
=
|
5
|
+
= Theming/CSS Accordion
|
6
6
|
|
7
7
|
A simple accordion demo written using CSS transitions and multiple backgrounds
|
8
8
|
=end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# Copyright (c) 2015 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (c) 2015-2016 Ruby-GNOME2 Project Team
|
2
2
|
# This program is licenced under the same licence as Ruby-GNOME2.
|
3
3
|
#
|
4
4
|
=begin
|
5
|
-
=
|
5
|
+
= Theming/CSS Basics
|
6
6
|
|
7
7
|
Gtk themes are written using CSS. Every widget is build of multiple items
|
8
8
|
that you can style very similarly to a regular website.
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# Copyright (c) 2015 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (c) 2015-2016 Ruby-GNOME2 Project Team
|
2
2
|
# This program is licenced under the same licence as Ruby-GNOME2.
|
3
3
|
#
|
4
4
|
=begin
|
5
|
-
=
|
5
|
+
= Theming/Multiple Backgrounds
|
6
6
|
|
7
7
|
Gtk themes are written using CSS. Every widget is build of multiple items
|
8
8
|
that you can style very similarly to a regular website.
|
@@ -50,7 +50,7 @@
|
|
50
50
|
100% { background-size: 12px, 96px, 12px, 96px, 12px, 96px, 12px, 96px, auto }
|
51
51
|
}
|
52
52
|
|
53
|
-
|
53
|
+
window {
|
54
54
|
background-image: url("resource://css_pixbufs/apple-red.png"),
|
55
55
|
url("resource://css_pixbufs/gnome-applets.png"),
|
56
56
|
url("resource://css_pixbufs/gnome-calendar.png"),
|
@@ -66,7 +66,7 @@ GtkWindow {
|
|
66
66
|
}
|
67
67
|
|
68
68
|
/* Make the text editor has a nice style */
|
69
|
-
.view,
|
69
|
+
.view, scrollbar, separator {
|
70
70
|
color: black;
|
71
71
|
background-color: rgba(255,255,255,0.5);
|
72
72
|
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# Copyright (c) 2015 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (c) 2015-2016 Ruby-GNOME2 Project Team
|
2
2
|
# This program is licenced under the same licence as Ruby-GNOME2.
|
3
3
|
#
|
4
4
|
=begin
|
5
|
-
=
|
5
|
+
= Theming/Animated Backgrounds
|
6
6
|
|
7
7
|
This demo is done in honour of the Pixbufs demo further down.
|
8
8
|
It is done exclusively with CSS as the background of the window.
|
@@ -19,7 +19,7 @@
|
|
19
19
|
background-size: 29px, 59px, 73px, 109px;
|
20
20
|
}
|
21
21
|
|
22
|
-
|
22
|
+
button {
|
23
23
|
color: black;
|
24
24
|
padding: 10px;
|
25
25
|
border-radius: 5px;
|
@@ -27,17 +27,17 @@
|
|
27
27
|
border: 1px transparent solid;
|
28
28
|
}
|
29
29
|
|
30
|
-
|
30
|
+
button:hover {
|
31
31
|
text-shadow: 3px 3px 5px alpha(black, 0.75);
|
32
|
-
icon-shadow: 3px 3px 5px alpha(black, 0.75);
|
32
|
+
-gtk-icon-shadow: 3px 3px 5px alpha(black, 0.75);
|
33
33
|
box-shadow: 3px 3px 5px alpha(black, 0.5) inset;
|
34
34
|
border: solid 1px alpha(black, 0.75);
|
35
35
|
}
|
36
36
|
|
37
|
-
|
37
|
+
button:active {
|
38
38
|
padding: 11px 9px 9px 11px;
|
39
39
|
text-shadow: 1px 1px 2.5px alpha(black, 0.6);
|
40
|
-
icon-shadow: 1px 1px 2.5px alpha(black, 0.6);
|
40
|
+
-gtk-icon-shadow: 1px 1px 2.5px alpha(black, 0.6);
|
41
41
|
}
|
42
42
|
|
43
43
|
|
@@ -1,8 +1,8 @@
|
|
1
|
-
# Copyright (c) 2015 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (c) 2015-2016 Ruby-GNOME2 Project Team
|
2
2
|
# This program is licenced under the same licence as Ruby-GNOME2.
|
3
3
|
#
|
4
4
|
=begin
|
5
|
-
=
|
5
|
+
= Theming/Shadows
|
6
6
|
|
7
7
|
This demo shows how to use CSS shadows.
|
8
8
|
=end
|
data/sample/gtk-demo/cssview.css
CHANGED
@@ -10,12 +10,12 @@
|
|
10
10
|
background-color: #4a90d9;
|
11
11
|
}
|
12
12
|
|
13
|
-
|
13
|
+
scrollbar trough,
|
14
14
|
.scrollbars-junction {
|
15
15
|
background-color: alpha(white, 0.80);
|
16
16
|
}
|
17
17
|
|
18
|
-
|
18
|
+
scrollbar slider {
|
19
19
|
border-width: 3px;
|
20
20
|
border-style: solid;
|
21
21
|
border-radius: 10px;
|
@@ -24,11 +24,11 @@
|
|
24
24
|
background-color: #999;
|
25
25
|
}
|
26
26
|
|
27
|
-
|
27
|
+
scrollbar slider:hover {
|
28
28
|
background-color: #555;
|
29
29
|
}
|
30
30
|
|
31
|
-
|
31
|
+
paned separator {
|
32
32
|
background-color: alpha(white, 0.80);
|
33
33
|
background-image: linear-gradient(transparent, transparent 1px, #999 1px, #999 4px, transparent 4px);
|
34
34
|
background-size: 40px auto;
|
@@ -36,6 +36,6 @@
|
|
36
36
|
background-position: center;
|
37
37
|
}
|
38
38
|
|
39
|
-
|
39
|
+
paned separator:hover {
|
40
40
|
background-image: linear-gradient(transparent, transparent 1px, #555 1px, #555 4px, transparent 4px);
|
41
41
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|