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.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/ext/gtk3/rb-gtk3.c +17 -0
  3. data/lib/2.2/gtk3.so +0 -0
  4. data/lib/2.3/gtk3.so +0 -0
  5. data/lib/gtk3/container.rb +0 -7
  6. data/lib/gtk3/deprecated.rb +3 -3
  7. data/lib/gtk3/image.rb +7 -7
  8. data/lib/gtk3/loader.rb +11 -5
  9. data/lib/gtk3/text-buffer.rb +33 -12
  10. data/lib/gtk3/text-view.rb +53 -0
  11. data/lib/gtk3/tree-model.rb +5 -0
  12. data/lib/gtk3/tree-view.rb +25 -0
  13. data/lib/gtk3/widget.rb +0 -5
  14. data/sample/gtk-demo/TODO +10 -6
  15. data/sample/gtk-demo/application.ui +93 -70
  16. data/sample/gtk-demo/appmenu.ui +19 -0
  17. data/sample/gtk-demo/assistant.rb +1 -0
  18. data/sample/gtk-demo/css_accordion.css +8 -8
  19. data/sample/gtk-demo/css_accordion.rb +2 -2
  20. data/sample/gtk-demo/css_basics.css +1 -1
  21. data/sample/gtk-demo/css_basics.rb +2 -2
  22. data/sample/gtk-demo/css_multiplebgs.rb +2 -2
  23. data/sample/gtk-demo/css_pixbufs.css +2 -2
  24. data/sample/gtk-demo/css_pixbufs.rb +2 -2
  25. data/sample/gtk-demo/css_shadows.css +5 -5
  26. data/sample/gtk-demo/css_shadows.rb +2 -2
  27. data/sample/gtk-demo/cssview.css +5 -5
  28. data/sample/gtk-demo/data/16x16/gtk3-demo-symbolic.symbolic.png +0 -0
  29. data/sample/gtk-demo/data/16x16/gtk3-demo.png +0 -0
  30. data/sample/gtk-demo/data/22x22/gtk3-demo-symbolic.symbolic.png +0 -0
  31. data/sample/gtk-demo/data/22x22/gtk3-demo.png +0 -0
  32. data/sample/gtk-demo/data/24x24/gtk3-demo-symbolic.symbolic.png +0 -0
  33. data/sample/gtk-demo/data/24x24/gtk3-demo.png +0 -0
  34. data/sample/gtk-demo/data/256x256/gtk3-demo-symbolic.symbolic.png +0 -0
  35. data/sample/gtk-demo/data/256x256/gtk3-demo.png +0 -0
  36. data/sample/gtk-demo/data/32x32/gtk3-demo-symbolic.symbolic.png +0 -0
  37. data/sample/gtk-demo/data/32x32/gtk3-demo.png +0 -0
  38. data/sample/gtk-demo/data/48x48/gtk3-demo-symbolic.symbolic.png +0 -0
  39. data/sample/gtk-demo/data/48x48/gtk3-demo.png +0 -0
  40. data/sample/gtk-demo/data/512x512/gtk3-demo-symbolic.symbolic.png +0 -0
  41. data/sample/gtk-demo/data/512x512/gtk3-demo.png +0 -0
  42. data/sample/gtk-demo/data/source.svg +2886 -0
  43. data/sample/gtk-demo/data/symbolic-source.svg +29 -0
  44. data/sample/gtk-demo/demo.gresource.xml +16 -5
  45. data/sample/gtk-demo/demo.ui +1 -0
  46. data/sample/gtk-demo/font_features.rb +1 -1
  47. data/sample/gtk-demo/main.rb +2 -2
  48. data/sample/gtk-demo/main.ui +18 -36
  49. data/sample/gtk-demo/markup.rb +53 -8
  50. data/sample/gtk-demo/markup.txt +2 -2
  51. data/sample/gtk-demo/org.gtk.Demo.gschema.xml +9 -0
  52. data/sample/gtk-demo/pixbufs.rb +105 -145
  53. data/sample/gtk-demo/reset.css +1 -58
  54. data/sample/gtk-demo/rotated_text.rb +119 -55
  55. data/sample/gtk-demo/shortcuts-boxes.ui +167 -0
  56. data/sample/gtk-demo/shortcuts-builder.ui +547 -0
  57. data/sample/gtk-demo/shortcuts-clocks.ui +166 -0
  58. data/sample/gtk-demo/shortcuts-gedit.ui +172 -0
  59. data/sample/gtk-demo/shortcuts.ui +65 -0
  60. data/sample/gtk-demo/stack.ui +5 -5
  61. data/sample/gtk-demo/textscroll.rb +106 -0
  62. data/sample/gtk-demo/theming.ui +58 -22
  63. data/sample/gtk-demo/theming_style_classes.rb +5 -4
  64. data/sample/gtk-demo/transparent.rb +143 -0
  65. data/sample/misc/aboutdialog.rb +1 -1
  66. data/sample/misc/bindings.rb +36 -15
  67. data/sample/misc/combobox.rb +1 -1
  68. data/sample/misc/dnd.rb +3 -3
  69. data/sample/misc/icons-theme-viewer.rb +1 -1
  70. data/sample/misc/iconview.rb +2 -2
  71. data/sample/misc/textbuffer-serialize.rb +18 -14
  72. data/sample/misc/to-drawable.rb +2 -2
  73. data/sample/misc/tooltips.rb +1 -0
  74. data/sample/misc/treeview.rb +1 -1
  75. data/sample/tutorial/README.md +18 -18
  76. data/test/test-gtk-clipboard.rb +1 -1
  77. data/test/test-gtk-combo-box.rb +2 -2
  78. data/test/test-gtk-icon-view.rb +2 -2
  79. data/test/test-gtk-image.rb +1 -1
  80. data/test/test-gtk-list-store.rb +9 -3
  81. data/test/test-gtk-text-view.rb +64 -0
  82. data/test/test-gtk-tree-path.rb +1 -3
  83. data/test/test-gtk-tree-view.rb +97 -0
  84. data/test/test-gtk-window.rb +2 -2
  85. data/test/test-pango-context.rb +56 -0
  86. 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
- = CSS Theming/CSS Accordion
5
+ = Theming/CSS Accordion
6
6
 
7
7
  A simple accordion demo written using CSS transitions and multiple backgrounds
8
8
  =end
@@ -16,7 +16,7 @@
16
16
  }
17
17
 
18
18
  /* Make sure selections are visible */
19
- :selected {
19
+ selection {
20
20
  background-color: darkGreen;
21
21
  color: black;
22
22
  }
@@ -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
- = CSS Theming/CSS Basics
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
- = CSS Theming/Multiple Backgrounds
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
- GtkWindow {
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, .scrollbar, .pane-separator {
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
- = CSS Theming/Animated Backgrounds
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
- .button {
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
- .button:hover {
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
- .button:active {
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
- = CSS Theming/Shadows
5
+ = Theming/Shadows
6
6
 
7
7
  This demo shows how to use CSS shadows.
8
8
  =end
@@ -10,12 +10,12 @@
10
10
  background-color: #4a90d9;
11
11
  }
12
12
 
13
- .scrollbar.trough,
13
+ scrollbar trough,
14
14
  .scrollbars-junction {
15
15
  background-color: alpha(white, 0.80);
16
16
  }
17
17
 
18
- .scrollbar.slider {
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
- .scrollbar.slider:prelight {
27
+ scrollbar slider:hover {
28
28
  background-color: #555;
29
29
  }
30
30
 
31
- .pane-separator {
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
- .pane-separator:prelight {
39
+ paned separator:hover {
40
40
  background-image: linear-gradient(transparent, transparent 1px, #555 1px, #555 4px, transparent 4px);
41
41
  }