gtk3 3.0.5 → 3.0.6

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-cell-layout.c +42 -0
  3. data/ext/gtk3/rb-gtk3-private.h +3 -0
  4. data/ext/gtk3/rb-gtk3-tree-model.c +77 -0
  5. data/ext/gtk3/rb-gtk3-tree-view.c +42 -0
  6. data/ext/gtk3/rb-gtk3.c +33 -0
  7. data/lib/gtk3/builder.rb +54 -11
  8. data/lib/gtk3/container.rb +13 -0
  9. data/lib/gtk3/deprecated.rb +4 -4
  10. data/lib/gtk3/loader.rb +2 -0
  11. data/lib/gtk3/show-uri.rb +34 -0
  12. data/lib/gtk3/stock-item.rb +36 -0
  13. data/lib/gtk3/tree-iter.rb +3 -1
  14. data/sample/gtk-demo/TODO +1 -1
  15. data/sample/gtk-demo/alias_cursor.png +0 -0
  16. data/sample/gtk-demo/all_scroll_cursor.png +0 -0
  17. data/sample/gtk-demo/application.ui +11 -18
  18. data/sample/gtk-demo/brick.png +0 -0
  19. data/sample/gtk-demo/brick2.png +0 -0
  20. data/sample/gtk-demo/cell_cursor.png +0 -0
  21. data/sample/gtk-demo/col_resize_cursor.png +0 -0
  22. data/sample/gtk-demo/copy_cursor.png +0 -0
  23. data/sample/gtk-demo/crosshair_cursor.png +0 -0
  24. data/sample/gtk-demo/css_accordion.css +1 -2
  25. data/sample/gtk-demo/css_basics.css +1 -1
  26. data/sample/gtk-demo/css_multiplebgs.css +136 -0
  27. data/sample/gtk-demo/css_pixbufs.css +76 -0
  28. data/sample/gtk-demo/css_shadows.css +44 -0
  29. data/sample/gtk-demo/cssview.css +41 -0
  30. data/sample/gtk-demo/decor1.png +0 -0
  31. data/sample/gtk-demo/decor2.png +0 -0
  32. data/sample/gtk-demo/default_cursor.png +0 -0
  33. data/sample/gtk-demo/demo.gresource.xml +216 -0
  34. data/sample/gtk-demo/demo.ui +285 -241
  35. data/sample/gtk-demo/e_resize_cursor.png +0 -0
  36. data/sample/gtk-demo/ew_resize_cursor.png +0 -0
  37. data/sample/gtk-demo/filtermodel.ui +195 -0
  38. data/sample/gtk-demo/font-features.ui +966 -0
  39. data/sample/gtk-demo/glarea-fragment.glsl +9 -0
  40. data/sample/gtk-demo/glarea-vertex.glsl +8 -0
  41. data/sample/gtk-demo/grab_cursor.png +0 -0
  42. data/sample/gtk-demo/grabbing_cursor.png +0 -0
  43. data/sample/gtk-demo/hand_cursor.png +0 -0
  44. data/sample/gtk-demo/help_cursor.png +0 -0
  45. data/sample/gtk-demo/listbox.ui +332 -0
  46. data/sample/gtk-demo/main.rb +132 -313
  47. data/sample/gtk-demo/main.ui +190 -0
  48. data/sample/gtk-demo/markup.txt +16 -0
  49. data/sample/gtk-demo/menus.ui +1 -1
  50. data/sample/gtk-demo/messages.txt +388 -0
  51. data/sample/gtk-demo/modelbutton.ui +162 -0
  52. data/sample/gtk-demo/move_cursor.png +0 -0
  53. data/sample/gtk-demo/n_resize_cursor.png +0 -0
  54. data/sample/gtk-demo/ne_resize_cursor.png +0 -0
  55. data/sample/gtk-demo/nesw_resize_cursor.png +0 -0
  56. data/sample/gtk-demo/no_drop_cursor.png +0 -0
  57. data/sample/gtk-demo/none_cursor.png +0 -0
  58. data/sample/gtk-demo/not_allowed_cursor.png +0 -0
  59. data/sample/gtk-demo/ns_resize_cursor.png +0 -0
  60. data/sample/gtk-demo/nw_resize_cursor.png +0 -0
  61. data/sample/gtk-demo/nwse_resize_cursor.png +0 -0
  62. data/sample/gtk-demo/org.gtk.Demo.gschema.xml +17 -0
  63. data/sample/gtk-demo/pointer_cursor.png +0 -0
  64. data/sample/gtk-demo/popover.ui +94 -0
  65. data/sample/gtk-demo/progress_cursor.png +0 -0
  66. data/sample/gtk-demo/reset.css +0 -1
  67. data/sample/gtk-demo/revealer.ui +177 -0
  68. data/sample/gtk-demo/row_resize_cursor.png +0 -0
  69. data/sample/gtk-demo/s_resize_cursor.png +0 -0
  70. data/sample/gtk-demo/scale.ui +117 -0
  71. data/sample/gtk-demo/se_resize_cursor.png +0 -0
  72. data/sample/gtk-demo/spinbutton.ui +194 -0
  73. data/sample/gtk-demo/stack.ui +72 -0
  74. data/sample/gtk-demo/sw_resize_cursor.png +0 -0
  75. data/sample/gtk-demo/text_cursor.png +0 -0
  76. data/sample/gtk-demo/theming.ui +102 -147
  77. data/sample/gtk-demo/vertical_text_cursor.png +0 -0
  78. data/sample/gtk-demo/w_resize_cursor.png +0 -0
  79. data/sample/gtk-demo/wait_cursor.png +0 -0
  80. data/sample/gtk-demo/zoom_in_cursor.png +0 -0
  81. data/sample/gtk-demo/zoom_out_cursor.png +0 -0
  82. data/sample/tutorial/README.md +415 -0
  83. data/test/run-test.rb +1 -1
  84. data/test/test-gtk-builder.rb +108 -30
  85. data/test/test-gtk-cell-layout.rb +6 -0
  86. metadata +80 -16
@@ -32,4 +32,10 @@ class TestGtkCellLayout < Test::Unit::TestCase
32
32
  @layout.set_attributes(@renderer, {:text => 1})
33
33
  end
34
34
  end
35
+
36
+ test "#set_cell_data_func" do
37
+ @layout.set_cell_data_func(@renderer) do
38
+ # TODO: assert block arguments
39
+ end
40
+ end
35
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtk3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-22 00:00:00.000000000 Z
11
+ date: 2015-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,98 +16,98 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.5
19
+ version: 3.0.6
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.5
26
+ version: 3.0.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gio2
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.5
33
+ version: 3.0.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.5
40
+ version: 3.0.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: atk
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.0.5
47
+ version: 3.0.6
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.0.5
54
+ version: 3.0.6
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: pango
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.0.5
61
+ version: 3.0.6
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 3.0.5
68
+ version: 3.0.6
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: gdk_pixbuf2
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 3.0.5
75
+ version: 3.0.6
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 3.0.5
82
+ version: 3.0.6
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: gdk3
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 3.0.5
89
+ version: 3.0.6
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 3.0.5
96
+ version: 3.0.6
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: gobject-introspection
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 3.0.5
103
+ version: 3.0.6
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 3.0.5
110
+ version: 3.0.6
111
111
  description: Ruby/GTK3 is a Ruby binding of GTK+-3.x.
112
112
  email: ruby-gnome2-devel-en@lists.sourceforge.net
113
113
  executables: []
@@ -118,8 +118,11 @@ files:
118
118
  - Rakefile
119
119
  - ext/gtk3/depend
120
120
  - ext/gtk3/extconf.rb
121
+ - ext/gtk3/rb-gtk3-cell-layout.c
121
122
  - ext/gtk3/rb-gtk3-container.c
122
123
  - ext/gtk3/rb-gtk3-private.h
124
+ - ext/gtk3/rb-gtk3-tree-model.c
125
+ - ext/gtk3/rb-gtk3-tree-view.c
123
126
  - ext/gtk3/rb-gtk3-widget.c
124
127
  - ext/gtk3/rb-gtk3.c
125
128
  - ext/gtk3/rb-gtk3.h
@@ -167,8 +170,10 @@ files:
167
170
  - lib/gtk3/scrolled-window.rb
168
171
  - lib/gtk3/search-bar.rb
169
172
  - lib/gtk3/selection-data.rb
173
+ - lib/gtk3/show-uri.rb
170
174
  - lib/gtk3/spin-button.rb
171
175
  - lib/gtk3/stack.rb
176
+ - lib/gtk3/stock-item.rb
172
177
  - lib/gtk3/stock.rb
173
178
  - lib/gtk3/style-context.rb
174
179
  - lib/gtk3/style-properties.rb
@@ -195,10 +200,14 @@ files:
195
200
  - lib/gtk3/window.rb
196
201
  - sample/gtk-demo/README
197
202
  - sample/gtk-demo/TODO
203
+ - sample/gtk-demo/alias_cursor.png
204
+ - sample/gtk-demo/all_scroll_cursor.png
198
205
  - sample/gtk-demo/alphatest.png
199
206
  - sample/gtk-demo/apple-red.png
200
207
  - sample/gtk-demo/application.ui
201
208
  - sample/gtk-demo/background.jpg
209
+ - sample/gtk-demo/brick.png
210
+ - sample/gtk-demo/brick2.png
202
211
  - sample/gtk-demo/builder.rb
203
212
  - sample/gtk-demo/button-box.rb
204
213
  - sample/gtk-demo/cairo-arc-negative.rb
@@ -224,21 +233,39 @@ files:
224
233
  - sample/gtk-demo/cairo-text-align-center.rb
225
234
  - sample/gtk-demo/cairo-text-extents.rb
226
235
  - sample/gtk-demo/cairo-text.rb
236
+ - sample/gtk-demo/cell_cursor.png
227
237
  - sample/gtk-demo/changedisplay.rb
228
238
  - sample/gtk-demo/clipboard.rb
239
+ - sample/gtk-demo/col_resize_cursor.png
229
240
  - sample/gtk-demo/colorsel.rb
230
241
  - sample/gtk-demo/common.rb
242
+ - sample/gtk-demo/copy_cursor.png
243
+ - sample/gtk-demo/crosshair_cursor.png
231
244
  - sample/gtk-demo/css_accordion.css
232
245
  - sample/gtk-demo/css_accordion.rb
233
246
  - sample/gtk-demo/css_basics.css
234
247
  - sample/gtk-demo/css_basics.rb
248
+ - sample/gtk-demo/css_multiplebgs.css
249
+ - sample/gtk-demo/css_pixbufs.css
250
+ - sample/gtk-demo/css_shadows.css
251
+ - sample/gtk-demo/cssview.css
252
+ - sample/gtk-demo/decor1.png
253
+ - sample/gtk-demo/decor2.png
254
+ - sample/gtk-demo/default_cursor.png
255
+ - sample/gtk-demo/demo.gresource.xml
235
256
  - sample/gtk-demo/demo.ui
236
257
  - sample/gtk-demo/dialog.rb
237
258
  - sample/gtk-demo/drawingarea.rb
259
+ - sample/gtk-demo/e_resize_cursor.png
238
260
  - sample/gtk-demo/editable_cells.rb
239
261
  - sample/gtk-demo/entry_completion.rb
262
+ - sample/gtk-demo/ew_resize_cursor.png
240
263
  - sample/gtk-demo/expander.rb
264
+ - sample/gtk-demo/filtermodel.ui
241
265
  - sample/gtk-demo/floppybuddy.gif
266
+ - sample/gtk-demo/font-features.ui
267
+ - sample/gtk-demo/glarea-fragment.glsl
268
+ - sample/gtk-demo/glarea-vertex.glsl
242
269
  - sample/gtk-demo/gnome-applets.png
243
270
  - sample/gtk-demo/gnome-calendar.png
244
271
  - sample/gtk-demo/gnome-foot.png
@@ -248,7 +275,11 @@ files:
248
275
  - sample/gtk-demo/gnome-gmush.png
249
276
  - sample/gtk-demo/gnome-gsame.png
250
277
  - sample/gtk-demo/gnu-keys.png
278
+ - sample/gtk-demo/grab_cursor.png
279
+ - sample/gtk-demo/grabbing_cursor.png
251
280
  - sample/gtk-demo/gtk-logo-rgb.gif
281
+ - sample/gtk-demo/hand_cursor.png
282
+ - sample/gtk-demo/help_cursor.png
252
283
  - sample/gtk-demo/hypertext.rb
253
284
  - sample/gtk-demo/iconview.rb
254
285
  - sample/gtk-demo/images.rb
@@ -256,22 +287,55 @@ files:
256
287
  - sample/gtk-demo/item_factory.rb
257
288
  - sample/gtk-demo/links.rb
258
289
  - sample/gtk-demo/list_store.rb
290
+ - sample/gtk-demo/listbox.ui
259
291
  - sample/gtk-demo/main.rb
292
+ - sample/gtk-demo/main.ui
293
+ - sample/gtk-demo/markup.txt
260
294
  - sample/gtk-demo/menus.rb
261
295
  - sample/gtk-demo/menus.ui
296
+ - sample/gtk-demo/messages.txt
297
+ - sample/gtk-demo/modelbutton.ui
298
+ - sample/gtk-demo/move_cursor.png
299
+ - sample/gtk-demo/n_resize_cursor.png
300
+ - sample/gtk-demo/ne_resize_cursor.png
301
+ - sample/gtk-demo/nesw_resize_cursor.png
302
+ - sample/gtk-demo/no_drop_cursor.png
303
+ - sample/gtk-demo/none_cursor.png
304
+ - sample/gtk-demo/not_allowed_cursor.png
305
+ - sample/gtk-demo/ns_resize_cursor.png
306
+ - sample/gtk-demo/nw_resize_cursor.png
307
+ - sample/gtk-demo/nwse_resize_cursor.png
308
+ - sample/gtk-demo/org.gtk.Demo.gschema.xml
262
309
  - sample/gtk-demo/panes.rb
263
310
  - sample/gtk-demo/pixbufs.rb
311
+ - sample/gtk-demo/pointer_cursor.png
312
+ - sample/gtk-demo/popover.ui
264
313
  - sample/gtk-demo/printing.rb
314
+ - sample/gtk-demo/progress_cursor.png
265
315
  - sample/gtk-demo/reset.css
316
+ - sample/gtk-demo/revealer.ui
266
317
  - sample/gtk-demo/rotated_text.rb
318
+ - sample/gtk-demo/row_resize_cursor.png
267
319
  - sample/gtk-demo/ruby-gnome2-logo.png
320
+ - sample/gtk-demo/s_resize_cursor.png
321
+ - sample/gtk-demo/scale.ui
322
+ - sample/gtk-demo/se_resize_cursor.png
268
323
  - sample/gtk-demo/sizegroup.rb
324
+ - sample/gtk-demo/spinbutton.ui
269
325
  - sample/gtk-demo/spinner.rb
326
+ - sample/gtk-demo/stack.ui
270
327
  - sample/gtk-demo/stock_browser.rb
328
+ - sample/gtk-demo/sw_resize_cursor.png
329
+ - sample/gtk-demo/text_cursor.png
271
330
  - sample/gtk-demo/textview.rb
272
331
  - sample/gtk-demo/theming.ui
273
332
  - sample/gtk-demo/theming_style_classes.rb
274
333
  - sample/gtk-demo/tree_store.rb
334
+ - sample/gtk-demo/vertical_text_cursor.png
335
+ - sample/gtk-demo/w_resize_cursor.png
336
+ - sample/gtk-demo/wait_cursor.png
337
+ - sample/gtk-demo/zoom_in_cursor.png
338
+ - sample/gtk-demo/zoom_out_cursor.png
275
339
  - sample/misc/aboutdialog.rb
276
340
  - sample/misc/aboutdialog2.rb
277
341
  - sample/misc/alpha-demo.rb