gtk2 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. data/ChangeLog +6664 -0
  2. data/README +33 -0
  3. data/Rakefile +71 -0
  4. data/extconf.rb +116 -0
  5. data/src/global.h +33 -0
  6. data/src/init.c +39 -0
  7. data/src/lib/gtk2.rb +13 -0
  8. data/src/lib/gtk2/base.rb +95 -0
  9. data/src/makeinits.rb +57 -0
  10. data/src/makekeysyms.rb +5 -0
  11. data/src/rbgdk.c +395 -0
  12. data/src/rbgdk.h +50 -0
  13. data/src/rbgdkatom.c +122 -0
  14. data/src/rbgdkcairo.c +100 -0
  15. data/src/rbgdkcolor.c +151 -0
  16. data/src/rbgdkcolormap.c +142 -0
  17. data/src/rbgdkconst.c +29 -0
  18. data/src/rbgdkconversions.h +18 -0
  19. data/src/rbgdkcursor.c +115 -0
  20. data/src/rbgdkdevice.c +235 -0
  21. data/src/rbgdkdisplay.c +634 -0
  22. data/src/rbgdkdisplaymanager.c +50 -0
  23. data/src/rbgdkdragcontext.c +280 -0
  24. data/src/rbgdkdraw.c +487 -0
  25. data/src/rbgdkevent.c +1020 -0
  26. data/src/rbgdkgc.c +456 -0
  27. data/src/rbgdkgeometry.c +272 -0
  28. data/src/rbgdkimage.c +155 -0
  29. data/src/rbgdkinput.c +70 -0
  30. data/src/rbgdkkeymap.c +153 -0
  31. data/src/rbgdkkeysyms.h +2174 -0
  32. data/src/rbgdkkeyval.c +105 -0
  33. data/src/rbgdkpango.c +171 -0
  34. data/src/rbgdkpangorenderer.c +132 -0
  35. data/src/rbgdkpixbuf.c +178 -0
  36. data/src/rbgdkpixmap.c +255 -0
  37. data/src/rbgdkproperty.c +342 -0
  38. data/src/rbgdkrectangle.c +146 -0
  39. data/src/rbgdkregion.c +242 -0
  40. data/src/rbgdkrgb.c +197 -0
  41. data/src/rbgdkscreen.c +535 -0
  42. data/src/rbgdkselection.c +161 -0
  43. data/src/rbgdkthreads.c +68 -0
  44. data/src/rbgdktimecoord.c +118 -0
  45. data/src/rbgdkvisual.c +273 -0
  46. data/src/rbgdkwindow.c +1302 -0
  47. data/src/rbgdkwindowattr.c +213 -0
  48. data/src/rbgdkx11.c +256 -0
  49. data/src/rbgtk.c +93 -0
  50. data/src/rbgtk.h +121 -0
  51. data/src/rbgtkaboutdialog.c +195 -0
  52. data/src/rbgtkaccelerator.c +78 -0
  53. data/src/rbgtkaccelgroup.c +216 -0
  54. data/src/rbgtkaccelgroupentry.c +85 -0
  55. data/src/rbgtkaccelkey.c +116 -0
  56. data/src/rbgtkaccellabel.c +46 -0
  57. data/src/rbgtkaccelmap.c +162 -0
  58. data/src/rbgtkaccessible.c +29 -0
  59. data/src/rbgtkaction.c +277 -0
  60. data/src/rbgtkactiongroup.c +377 -0
  61. data/src/rbgtkadjustment.c +153 -0
  62. data/src/rbgtkalignment.c +71 -0
  63. data/src/rbgtkallocation.c +171 -0
  64. data/src/rbgtkarrow.c +47 -0
  65. data/src/rbgtkaspectframe.c +46 -0
  66. data/src/rbgtkassistant.c +230 -0
  67. data/src/rbgtkbbox.c +47 -0
  68. data/src/rbgtkbin.c +31 -0
  69. data/src/rbgtkbindingset.c +192 -0
  70. data/src/rbgtkborder.c +80 -0
  71. data/src/rbgtkbox.c +142 -0
  72. data/src/rbgtkbuildable.c +115 -0
  73. data/src/rbgtkbuilder.c +154 -0
  74. data/src/rbgtkbutton.c +151 -0
  75. data/src/rbgtkcalendar.c +159 -0
  76. data/src/rbgtkcelleditable.c +49 -0
  77. data/src/rbgtkcelllayout.c +144 -0
  78. data/src/rbgtkcellrenderer.c +139 -0
  79. data/src/rbgtkcellrendereraccel.c +42 -0
  80. data/src/rbgtkcellrenderercombo.c +37 -0
  81. data/src/rbgtkcellrendererpixbuf.c +33 -0
  82. data/src/rbgtkcellrendererprogress.c +37 -0
  83. data/src/rbgtkcellrendererspin.c +38 -0
  84. data/src/rbgtkcellrenderertext.c +45 -0
  85. data/src/rbgtkcellrenderertoggle.c +32 -0
  86. data/src/rbgtkcellview.c +134 -0
  87. data/src/rbgtkcheckbutton.c +55 -0
  88. data/src/rbgtkcheckmenuitem.c +56 -0
  89. data/src/rbgtkclipboard.c +473 -0
  90. data/src/rbgtkcolorbutton.c +63 -0
  91. data/src/rbgtkcolorsel.c +175 -0
  92. data/src/rbgtkcolorselectiondialog.c +72 -0
  93. data/src/rbgtkcombo.c +117 -0
  94. data/src/rbgtkcombobox.c +240 -0
  95. data/src/rbgtkcomboboxentry.c +60 -0
  96. data/src/rbgtkconst.c +163 -0
  97. data/src/rbgtkcontainer.c +776 -0
  98. data/src/rbgtkconversions.h +26 -0
  99. data/src/rbgtkcurve.c +105 -0
  100. data/src/rbgtkdialog.c +244 -0
  101. data/src/rbgtkdrag.c +436 -0
  102. data/src/rbgtkdrawingarea.c +31 -0
  103. data/src/rbgtkeditable.c +152 -0
  104. data/src/rbgtkentry.c +161 -0
  105. data/src/rbgtkentrycompletion.c +167 -0
  106. data/src/rbgtkeventbox.c +31 -0
  107. data/src/rbgtkexpander.c +67 -0
  108. data/src/rbgtkfilechooser.c +403 -0
  109. data/src/rbgtkfilechooserbutton.c +72 -0
  110. data/src/rbgtkfilechooserdialog.c +58 -0
  111. data/src/rbgtkfilechooserwidget.c +50 -0
  112. data/src/rbgtkfilefilter.c +139 -0
  113. data/src/rbgtkfilesel.c +155 -0
  114. data/src/rbgtkfixed.c +72 -0
  115. data/src/rbgtkfontbutton.c +69 -0
  116. data/src/rbgtkfontselection.c +30 -0
  117. data/src/rbgtkfontselectiondialog.c +106 -0
  118. data/src/rbgtkframe.c +64 -0
  119. data/src/rbgtkgamma.c +47 -0
  120. data/src/rbgtkhandlebox.c +42 -0
  121. data/src/rbgtkhbbox.c +31 -0
  122. data/src/rbgtkhbox.c +38 -0
  123. data/src/rbgtkhpaned.c +31 -0
  124. data/src/rbgtkhruler.c +31 -0
  125. data/src/rbgtkhscale.c +45 -0
  126. data/src/rbgtkhscrollbar.c +38 -0
  127. data/src/rbgtkhseparator.c +30 -0
  128. data/src/rbgtkiconfactory.c +80 -0
  129. data/src/rbgtkiconinfo.c +118 -0
  130. data/src/rbgtkiconset.c +87 -0
  131. data/src/rbgtkiconsize.c +90 -0
  132. data/src/rbgtkiconsource.c +176 -0
  133. data/src/rbgtkicontheme.c +309 -0
  134. data/src/rbgtkiconview.c +351 -0
  135. data/src/rbgtkimage.c +152 -0
  136. data/src/rbgtkimagemenuitem.c +52 -0
  137. data/src/rbgtkimcontext.c +134 -0
  138. data/src/rbgtkimcontextsimple.c +48 -0
  139. data/src/rbgtkimmulticontext.c +38 -0
  140. data/src/rbgtkinits.c +473 -0
  141. data/src/rbgtkinputdialog.c +30 -0
  142. data/src/rbgtkinvisible.c +68 -0
  143. data/src/rbgtkitem.c +51 -0
  144. data/src/rbgtkitemfactory.c +312 -0
  145. data/src/rbgtklabel.c +168 -0
  146. data/src/rbgtklayout.c +91 -0
  147. data/src/rbgtklinkbutton.c +68 -0
  148. data/src/rbgtkliststore.c +412 -0
  149. data/src/rbgtkmacros.h +26 -0
  150. data/src/rbgtkmain.c +532 -0
  151. data/src/rbgtkmenu.c +272 -0
  152. data/src/rbgtkmenubar.c +48 -0
  153. data/src/rbgtkmenuitem.c +171 -0
  154. data/src/rbgtkmenushell.c +128 -0
  155. data/src/rbgtkmenutoolbutton.c +74 -0
  156. data/src/rbgtkmessagedialog.c +102 -0
  157. data/src/rbgtkmisc.c +63 -0
  158. data/src/rbgtknotebook.c +484 -0
  159. data/src/rbgtkobject.c +186 -0
  160. data/src/rbgtkoptionmenu.c +65 -0
  161. data/src/rbgtkpagesetup.c +196 -0
  162. data/src/rbgtkpagesetupunixdialog.c +80 -0
  163. data/src/rbgtkpaned.c +114 -0
  164. data/src/rbgtkpapersize.c +186 -0
  165. data/src/rbgtkplug.c +84 -0
  166. data/src/rbgtkprintcontext.c +124 -0
  167. data/src/rbgtkprinter.c +155 -0
  168. data/src/rbgtkprintjob.c +151 -0
  169. data/src/rbgtkprintoperation.c +152 -0
  170. data/src/rbgtkprintoperationpreview.c +54 -0
  171. data/src/rbgtkprintsettings.c +794 -0
  172. data/src/rbgtkprintunixdialog.c +98 -0
  173. data/src/rbgtkprogress.c +21 -0
  174. data/src/rbgtkprogressbar.c +72 -0
  175. data/src/rbgtkradioaction.c +102 -0
  176. data/src/rbgtkradiobutton.c +83 -0
  177. data/src/rbgtkradiomenuitem.c +115 -0
  178. data/src/rbgtkradiotoolbutton.c +99 -0
  179. data/src/rbgtkrange.c +98 -0
  180. data/src/rbgtkrc.c +228 -0
  181. data/src/rbgtkrcstyle.c +184 -0
  182. data/src/rbgtkrecentaction.c +52 -0
  183. data/src/rbgtkrecentchooser.c +276 -0
  184. data/src/rbgtkrecentchooserdialog.c +59 -0
  185. data/src/rbgtkrecentchoosermenu.c +55 -0
  186. data/src/rbgtkrecentchooserwidget.c +45 -0
  187. data/src/rbgtkrecentdata.c +152 -0
  188. data/src/rbgtkrecentfilter.c +180 -0
  189. data/src/rbgtkrecentfilterinfo.c +197 -0
  190. data/src/rbgtkrecentinfo.c +232 -0
  191. data/src/rbgtkrecentmanager.c +164 -0
  192. data/src/rbgtkruler.c +82 -0
  193. data/src/rbgtkscale.c +47 -0
  194. data/src/rbgtkscalebutton.c +115 -0
  195. data/src/rbgtkscrollbar.c +21 -0
  196. data/src/rbgtkscrolledwindow.c +160 -0
  197. data/src/rbgtkselection.c +171 -0
  198. data/src/rbgtkselectiondata.c +333 -0
  199. data/src/rbgtkseparator.c +21 -0
  200. data/src/rbgtkseparatormenuitem.c +28 -0
  201. data/src/rbgtkseparatortoolitem.c +40 -0
  202. data/src/rbgtksettings.c +225 -0
  203. data/src/rbgtksizegroup.c +74 -0
  204. data/src/rbgtksocket.c +72 -0
  205. data/src/rbgtkspinbutton.c +138 -0
  206. data/src/rbgtkstatusbar.c +90 -0
  207. data/src/rbgtkstatusicon.c +120 -0
  208. data/src/rbgtkstock.c +264 -0
  209. data/src/rbgtkstyle.c +722 -0
  210. data/src/rbgtktable.c +190 -0
  211. data/src/rbgtktargetlist.c +148 -0
  212. data/src/rbgtktearoffmenuitem.c +30 -0
  213. data/src/rbgtktextappearance.c +173 -0
  214. data/src/rbgtktextattributes.c +209 -0
  215. data/src/rbgtktextbuffer.c +993 -0
  216. data/src/rbgtktextchild.c +49 -0
  217. data/src/rbgtktextiter.c +553 -0
  218. data/src/rbgtktextmark.c +87 -0
  219. data/src/rbgtktexttag.c +66 -0
  220. data/src/rbgtktexttagtable.c +94 -0
  221. data/src/rbgtktextview.c +351 -0
  222. data/src/rbgtktoggleaction.c +76 -0
  223. data/src/rbgtktogglebutton.c +84 -0
  224. data/src/rbgtktoggletoolbutton.c +70 -0
  225. data/src/rbgtktoolbar.c +373 -0
  226. data/src/rbgtktoolbutton.c +75 -0
  227. data/src/rbgtktoolitem.c +184 -0
  228. data/src/rbgtktooltip.c +76 -0
  229. data/src/rbgtktooltips.c +107 -0
  230. data/src/rbgtktreedragdest.c +19 -0
  231. data/src/rbgtktreedragsource.c +19 -0
  232. data/src/rbgtktreeiter.c +259 -0
  233. data/src/rbgtktreemodel.c +256 -0
  234. data/src/rbgtktreemodelfilter.c +214 -0
  235. data/src/rbgtktreemodelsort.c +113 -0
  236. data/src/rbgtktreepath.c +195 -0
  237. data/src/rbgtktreerowreference.c +168 -0
  238. data/src/rbgtktreeselection.c +235 -0
  239. data/src/rbgtktreesortable.c +127 -0
  240. data/src/rbgtktreestore.c +379 -0
  241. data/src/rbgtktreeview.c +881 -0
  242. data/src/rbgtktreeviewcolumn.c +331 -0
  243. data/src/rbgtkuimanager.c +210 -0
  244. data/src/rbgtkvbbox.c +31 -0
  245. data/src/rbgtkvbox.c +38 -0
  246. data/src/rbgtkviewport.c +33 -0
  247. data/src/rbgtkvolumebutton.c +36 -0
  248. data/src/rbgtkvpaned.c +31 -0
  249. data/src/rbgtkvruler.c +30 -0
  250. data/src/rbgtkvscale.c +45 -0
  251. data/src/rbgtkvscrollbar.c +38 -0
  252. data/src/rbgtkvseparator.c +30 -0
  253. data/src/rbgtkwidget.c +1414 -0
  254. data/src/rbgtkwindow.c +822 -0
  255. data/src/rbgtkwindowgroup.c +48 -0
  256. data/test/gtk-test-utils.rb +15 -0
  257. data/test/run-test.rb +30 -0
  258. data/test/test_gc.rb +25 -0
  259. data/test/test_gdk.rb +18 -0
  260. data/test/test_gdk_color.rb +10 -0
  261. data/test/test_gdk_display.rb +37 -0
  262. data/test/test_gdk_event.rb +11 -0
  263. data/test/test_gdk_gc.rb +7 -0
  264. data/test/test_gdk_keymap.rb +8 -0
  265. data/test/test_gdk_pango.rb +9 -0
  266. data/test/test_gdk_selection_data.rb +17 -0
  267. data/test/test_gdk_window.rb +29 -0
  268. data/test/test_gdk_window_attribute.rb +9 -0
  269. data/test/test_gtk_about_dialog.rb +14 -0
  270. data/test/test_gtk_buildable.rb +66 -0
  271. data/test/test_gtk_builder.rb +188 -0
  272. data/test/test_gtk_entry.rb +18 -0
  273. data/test/test_gtk_icon_theme.rb +30 -0
  274. data/test/test_gtk_image.rb +8 -0
  275. data/test/test_gtk_list_store.rb +65 -0
  276. data/test/test_gtk_menu_item.rb +13 -0
  277. data/test/test_gtk_rc_style.rb +14 -0
  278. data/test/test_gtk_tree_path.rb +20 -0
  279. data/test/test_gtk_unix_print.rb +14 -0
  280. data/test/test_gtk_widget.rb +32 -0
  281. metadata +393 -0
@@ -0,0 +1,18 @@
1
+ class TestGtkEntry < Test::Unit::TestCase
2
+ include GtkTestUtils
3
+
4
+ def setup
5
+ @entry = Gtk::Entry.new
6
+ end
7
+
8
+ def test_cursor_hadjustment
9
+ only_gtk_version(2, 12)
10
+
11
+ assert_nil(@entry.cursor_hadjustment)
12
+ adjustment = Gtk::Adjustment.new(0.0, 0.0,
13
+ 100.0, 100.0,
14
+ 1.0, 1.0)
15
+ @entry.cursor_hadjustment = adjustment
16
+ assert_equal(adjustment, @entry.cursor_hadjustment)
17
+ end
18
+ end
@@ -0,0 +1,30 @@
1
+ class TestGtkIconTheme < Test::Unit::TestCase
2
+ include GtkTestUtils
3
+
4
+ def setup
5
+ @theme = Gtk::IconTheme.default
6
+ end
7
+
8
+ def test_choose_icon
9
+ only_gtk_version(2, 12)
10
+
11
+ assert_nil(@theme.choose_icon("non-existent", 100))
12
+
13
+ icon = @theme.choose_icon("undo", 10)
14
+ assert_not_nil(icon)
15
+ assert_match(/undo/, icon.filename)
16
+
17
+ assert_not_nil(@theme.choose_icon("undo", 29, [:use_builtin, :no_svg]))
18
+ end
19
+
20
+ def test_contexts
21
+ only_gtk_version(2, 12)
22
+
23
+ assert_operator(@theme.contexts, :include?, "MimeTypes")
24
+ end
25
+
26
+ def test_icons
27
+ assert_operator(@theme.icons, :include?, "undo")
28
+ assert_operator(@theme.icons("Actions"), :include?, "remove")
29
+ end
30
+ end
@@ -0,0 +1,8 @@
1
+ class TestGtkImage < Test::Unit::TestCase
2
+ include GtkTestUtils
3
+
4
+ def test_stock
5
+ image = Gtk::Image.new(Gtk::Stock::GO_FORWARD, Gtk::IconSize::DIALOG)
6
+ assert_equal(Gtk::Stock::GO_FORWARD, image.stock)
7
+ end
8
+ end
@@ -0,0 +1,65 @@
1
+ class TestGtkListStore < Test::Unit::TestCase
2
+ include GtkTestUtils
3
+
4
+ ID = 0
5
+ NAME = 1
6
+
7
+ COLUMNS = {
8
+ ID => Integer,
9
+ NAME => String,
10
+ }
11
+
12
+ def setup
13
+ columns = COLUMNS.keys.sort.collect do |key|
14
+ COLUMNS[key]
15
+ end
16
+ @store = Gtk::ListStore.new(*columns)
17
+ end
18
+
19
+ def test_set_values
20
+ only_gtk_version(2, 12)
21
+
22
+ iter = @store.append
23
+ assert_nothing_raised do
24
+ @store.set_values(iter, [0, '1'])
25
+ end
26
+ assert_equal([0, '1'], [iter[0], iter[1]])
27
+
28
+ iter = @store.append
29
+ assert_nothing_raised do
30
+ @store.set_values(iter, [2, '3'])
31
+ end
32
+ assert_equal([2, '3'], [iter[0], iter[1]])
33
+
34
+ assert_nothing_raised do
35
+ @store.set_values(iter, [])
36
+ end
37
+ assert_equal([2, '3'], [iter[0], iter[1]])
38
+ end
39
+
40
+ def test_set_values_with_hash
41
+ only_gtk_version(2, 12)
42
+
43
+ iter = @store.append
44
+ assert_nothing_raised do
45
+ @store.set_values(iter, {ID => 0, NAME => 'me'})
46
+ end
47
+ assert_equal([0, 'me'], [iter[ID], iter[NAME]])
48
+
49
+ iter = @store.append
50
+ assert_nothing_raised do
51
+ @store.set_values(iter, {NAME => 'you', ID => 2})
52
+ end
53
+ assert_equal([2, 'you'], [iter[ID], iter[NAME]])
54
+
55
+ assert_nothing_raised do
56
+ @store.set_values(iter, {NAME => "she"})
57
+ end
58
+ assert_equal([2, 'she'], [iter[ID], iter[NAME]])
59
+
60
+ assert_nothing_raised do
61
+ @store.set_values(iter, {})
62
+ end
63
+ assert_equal([2, 'she'], [iter[ID], iter[NAME]])
64
+ end
65
+ end
@@ -0,0 +1,13 @@
1
+ class TestGtkMenuItem < Test::Unit::TestCase
2
+ include GtkTestUtils
3
+
4
+ def test_new_with_label
5
+ item = Gtk::MenuItem.new("Label")
6
+ assert_equal("Label", item.label)
7
+ end
8
+
9
+ def test_new_with_nil_label
10
+ item = Gtk::MenuItem.new(nil)
11
+ assert_equal("", item.label)
12
+ end
13
+ end
@@ -0,0 +1,14 @@
1
+ class TestGtkRcStyle < Test::Unit::TestCase
2
+ include GtkTestUtils
3
+
4
+ def setup
5
+ @style = Gtk::RcStyle.new
6
+ end
7
+
8
+ def test_color_flags
9
+ assert_equal(Gtk::RC::Flags.new, @style.color_flags(:normal))
10
+ @style.set_color_flags(:normal, [:fg, :bg])
11
+ assert_equal(Gtk::RC::Flags::FG | Gtk::RC::Flags::BG,
12
+ @style.color_flags(:normal))
13
+ end
14
+ end
@@ -0,0 +1,20 @@
1
+ class TestGtkTreePath < Test::Unit::TestCase
2
+ include GtkTestUtils
3
+
4
+ def test_compare
5
+ assert_equal(-1, tree_path("0") <=> tree_path("1"))
6
+ assert_equal(0, tree_path("0") <=> tree_path("0"))
7
+ assert_equal(1, tree_path("1") <=> tree_path("0"))
8
+ end
9
+
10
+ def test_equal
11
+ assert_equal(tree_path("0"), tree_path("0"))
12
+ assert_not_equal(tree_path("0"), tree_path("1"))
13
+ assert_not_equal(tree_path("0"), "0")
14
+ end
15
+
16
+ private
17
+ def tree_path(path)
18
+ Gtk::TreePath.new(path)
19
+ end
20
+ end
@@ -0,0 +1,14 @@
1
+ class TestGtkUnixPrint < Test::Unit::TestCase
2
+ def test_classes
3
+ if GLib.os_unix?
4
+ assertion = :assert_const_defined
5
+ else
6
+ assertion = :assert_not_const_defined
7
+ end
8
+ send(assertion, Gtk, :PageSetupUnixDialog)
9
+ send(assertion, Gtk, :Printer)
10
+ send(assertion, Gtk, :PrintCapabilities)
11
+ send(assertion, Gtk, :PrintJob)
12
+ send(assertion, Gtk, :PrintUnixDialog)
13
+ end
14
+ end
@@ -0,0 +1,32 @@
1
+ class TestGtkWidget < Test::Unit::TestCase
2
+ include GtkTestUtils
3
+
4
+ def setup
5
+ @widget = Gtk::Invisible.new
6
+ end
7
+
8
+ def test_set_window
9
+ attrs = Gdk::WindowAttr.new(100, 100, :only, :temp)
10
+ window = Gdk::Window.new(nil, attrs, 0)
11
+ @widget.window = window
12
+ assert_equal(window, @widget.window)
13
+ end
14
+
15
+ def test_modify_color_component_with_nil_color
16
+ assert_nothing_raised do
17
+ @widget.modify_base(:normal, nil)
18
+ end
19
+
20
+ assert_nothing_raised do
21
+ @widget.modify_text(:normal, nil)
22
+ end
23
+
24
+ assert_nothing_raised do
25
+ @widget.modify_fg(:normal, nil)
26
+ end
27
+
28
+ assert_nothing_raised do
29
+ @widget.modify_bg(:normal, nil)
30
+ end
31
+ end
32
+ end
metadata ADDED
@@ -0,0 +1,393 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: gtk2
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 20
8
+ - 0
9
+ version: 0.20.0
10
+ platform: ruby
11
+ authors:
12
+ - ruby-gnome2/AUTHORS
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-07-11 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: glib2
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ version: "0"
31
+ type: :runtime
32
+ version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
34
+ name: pango
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ none: false
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
43
+ version: "0"
44
+ type: :runtime
45
+ version_requirements: *id002
46
+ description: Ruby/GTK2 is a Ruby binding of GTK+-2.0.x.
47
+ email: todd.fisher@gmail.com
48
+ executables: []
49
+
50
+ extensions:
51
+ - extconf.rb
52
+ extra_rdoc_files:
53
+ - README
54
+ files:
55
+ - ChangeLog
56
+ - README
57
+ - Rakefile
58
+ - extconf.rb
59
+ - src/lib/gtk2/base.rb
60
+ - src/lib/gtk2.rb
61
+ - src/makeinits.rb
62
+ - src/makekeysyms.rb
63
+ - src/init.c
64
+ - src/rbgdk.c
65
+ - src/rbgdkatom.c
66
+ - src/rbgdkcairo.c
67
+ - src/rbgdkcolor.c
68
+ - src/rbgdkcolormap.c
69
+ - src/rbgdkconst.c
70
+ - src/rbgdkcursor.c
71
+ - src/rbgdkdevice.c
72
+ - src/rbgdkdisplay.c
73
+ - src/rbgdkdisplaymanager.c
74
+ - src/rbgdkdragcontext.c
75
+ - src/rbgdkdraw.c
76
+ - src/rbgdkevent.c
77
+ - src/rbgdkgc.c
78
+ - src/rbgdkgeometry.c
79
+ - src/rbgdkimage.c
80
+ - src/rbgdkinput.c
81
+ - src/rbgdkkeymap.c
82
+ - src/rbgdkkeyval.c
83
+ - src/rbgdkpango.c
84
+ - src/rbgdkpangorenderer.c
85
+ - src/rbgdkpixbuf.c
86
+ - src/rbgdkpixmap.c
87
+ - src/rbgdkproperty.c
88
+ - src/rbgdkrectangle.c
89
+ - src/rbgdkregion.c
90
+ - src/rbgdkrgb.c
91
+ - src/rbgdkscreen.c
92
+ - src/rbgdkselection.c
93
+ - src/rbgdkthreads.c
94
+ - src/rbgdktimecoord.c
95
+ - src/rbgdkvisual.c
96
+ - src/rbgdkwindow.c
97
+ - src/rbgdkwindowattr.c
98
+ - src/rbgdkx11.c
99
+ - src/rbgtk.c
100
+ - src/rbgtkaboutdialog.c
101
+ - src/rbgtkaccelerator.c
102
+ - src/rbgtkaccelgroup.c
103
+ - src/rbgtkaccelgroupentry.c
104
+ - src/rbgtkaccelkey.c
105
+ - src/rbgtkaccellabel.c
106
+ - src/rbgtkaccelmap.c
107
+ - src/rbgtkaccessible.c
108
+ - src/rbgtkaction.c
109
+ - src/rbgtkactiongroup.c
110
+ - src/rbgtkadjustment.c
111
+ - src/rbgtkalignment.c
112
+ - src/rbgtkallocation.c
113
+ - src/rbgtkarrow.c
114
+ - src/rbgtkaspectframe.c
115
+ - src/rbgtkassistant.c
116
+ - src/rbgtkbbox.c
117
+ - src/rbgtkbin.c
118
+ - src/rbgtkbindingset.c
119
+ - src/rbgtkborder.c
120
+ - src/rbgtkbox.c
121
+ - src/rbgtkbuildable.c
122
+ - src/rbgtkbuilder.c
123
+ - src/rbgtkbutton.c
124
+ - src/rbgtkcalendar.c
125
+ - src/rbgtkcelleditable.c
126
+ - src/rbgtkcelllayout.c
127
+ - src/rbgtkcellrenderer.c
128
+ - src/rbgtkcellrendereraccel.c
129
+ - src/rbgtkcellrenderercombo.c
130
+ - src/rbgtkcellrendererpixbuf.c
131
+ - src/rbgtkcellrendererprogress.c
132
+ - src/rbgtkcellrendererspin.c
133
+ - src/rbgtkcellrenderertext.c
134
+ - src/rbgtkcellrenderertoggle.c
135
+ - src/rbgtkcellview.c
136
+ - src/rbgtkcheckbutton.c
137
+ - src/rbgtkcheckmenuitem.c
138
+ - src/rbgtkclipboard.c
139
+ - src/rbgtkcolorbutton.c
140
+ - src/rbgtkcolorsel.c
141
+ - src/rbgtkcolorselectiondialog.c
142
+ - src/rbgtkcombo.c
143
+ - src/rbgtkcombobox.c
144
+ - src/rbgtkcomboboxentry.c
145
+ - src/rbgtkconst.c
146
+ - src/rbgtkcontainer.c
147
+ - src/rbgtkcurve.c
148
+ - src/rbgtkdialog.c
149
+ - src/rbgtkdrag.c
150
+ - src/rbgtkdrawingarea.c
151
+ - src/rbgtkeditable.c
152
+ - src/rbgtkentry.c
153
+ - src/rbgtkentrycompletion.c
154
+ - src/rbgtkeventbox.c
155
+ - src/rbgtkexpander.c
156
+ - src/rbgtkfilechooser.c
157
+ - src/rbgtkfilechooserbutton.c
158
+ - src/rbgtkfilechooserdialog.c
159
+ - src/rbgtkfilechooserwidget.c
160
+ - src/rbgtkfilefilter.c
161
+ - src/rbgtkfilesel.c
162
+ - src/rbgtkfixed.c
163
+ - src/rbgtkfontbutton.c
164
+ - src/rbgtkfontselection.c
165
+ - src/rbgtkfontselectiondialog.c
166
+ - src/rbgtkframe.c
167
+ - src/rbgtkgamma.c
168
+ - src/rbgtkhandlebox.c
169
+ - src/rbgtkhbbox.c
170
+ - src/rbgtkhbox.c
171
+ - src/rbgtkhpaned.c
172
+ - src/rbgtkhruler.c
173
+ - src/rbgtkhscale.c
174
+ - src/rbgtkhscrollbar.c
175
+ - src/rbgtkhseparator.c
176
+ - src/rbgtkiconfactory.c
177
+ - src/rbgtkiconinfo.c
178
+ - src/rbgtkiconset.c
179
+ - src/rbgtkiconsize.c
180
+ - src/rbgtkiconsource.c
181
+ - src/rbgtkicontheme.c
182
+ - src/rbgtkiconview.c
183
+ - src/rbgtkimage.c
184
+ - src/rbgtkimagemenuitem.c
185
+ - src/rbgtkimcontext.c
186
+ - src/rbgtkimcontextsimple.c
187
+ - src/rbgtkimmulticontext.c
188
+ - src/rbgtkinits.c
189
+ - src/rbgtkinputdialog.c
190
+ - src/rbgtkinvisible.c
191
+ - src/rbgtkitem.c
192
+ - src/rbgtkitemfactory.c
193
+ - src/rbgtklabel.c
194
+ - src/rbgtklayout.c
195
+ - src/rbgtklinkbutton.c
196
+ - src/rbgtkliststore.c
197
+ - src/rbgtkmain.c
198
+ - src/rbgtkmenu.c
199
+ - src/rbgtkmenubar.c
200
+ - src/rbgtkmenuitem.c
201
+ - src/rbgtkmenushell.c
202
+ - src/rbgtkmenutoolbutton.c
203
+ - src/rbgtkmessagedialog.c
204
+ - src/rbgtkmisc.c
205
+ - src/rbgtknotebook.c
206
+ - src/rbgtkobject.c
207
+ - src/rbgtkoptionmenu.c
208
+ - src/rbgtkpagesetup.c
209
+ - src/rbgtkpagesetupunixdialog.c
210
+ - src/rbgtkpaned.c
211
+ - src/rbgtkpapersize.c
212
+ - src/rbgtkplug.c
213
+ - src/rbgtkprintcontext.c
214
+ - src/rbgtkprinter.c
215
+ - src/rbgtkprintjob.c
216
+ - src/rbgtkprintoperation.c
217
+ - src/rbgtkprintoperationpreview.c
218
+ - src/rbgtkprintsettings.c
219
+ - src/rbgtkprintunixdialog.c
220
+ - src/rbgtkprogress.c
221
+ - src/rbgtkprogressbar.c
222
+ - src/rbgtkradioaction.c
223
+ - src/rbgtkradiobutton.c
224
+ - src/rbgtkradiomenuitem.c
225
+ - src/rbgtkradiotoolbutton.c
226
+ - src/rbgtkrange.c
227
+ - src/rbgtkrc.c
228
+ - src/rbgtkrcstyle.c
229
+ - src/rbgtkrecentaction.c
230
+ - src/rbgtkrecentchooser.c
231
+ - src/rbgtkrecentchooserdialog.c
232
+ - src/rbgtkrecentchoosermenu.c
233
+ - src/rbgtkrecentchooserwidget.c
234
+ - src/rbgtkrecentdata.c
235
+ - src/rbgtkrecentfilter.c
236
+ - src/rbgtkrecentfilterinfo.c
237
+ - src/rbgtkrecentinfo.c
238
+ - src/rbgtkrecentmanager.c
239
+ - src/rbgtkruler.c
240
+ - src/rbgtkscale.c
241
+ - src/rbgtkscalebutton.c
242
+ - src/rbgtkscrollbar.c
243
+ - src/rbgtkscrolledwindow.c
244
+ - src/rbgtkselection.c
245
+ - src/rbgtkselectiondata.c
246
+ - src/rbgtkseparator.c
247
+ - src/rbgtkseparatormenuitem.c
248
+ - src/rbgtkseparatortoolitem.c
249
+ - src/rbgtksettings.c
250
+ - src/rbgtksizegroup.c
251
+ - src/rbgtksocket.c
252
+ - src/rbgtkspinbutton.c
253
+ - src/rbgtkstatusbar.c
254
+ - src/rbgtkstatusicon.c
255
+ - src/rbgtkstock.c
256
+ - src/rbgtkstyle.c
257
+ - src/rbgtktable.c
258
+ - src/rbgtktargetlist.c
259
+ - src/rbgtktearoffmenuitem.c
260
+ - src/rbgtktextappearance.c
261
+ - src/rbgtktextattributes.c
262
+ - src/rbgtktextbuffer.c
263
+ - src/rbgtktextchild.c
264
+ - src/rbgtktextiter.c
265
+ - src/rbgtktextmark.c
266
+ - src/rbgtktexttag.c
267
+ - src/rbgtktexttagtable.c
268
+ - src/rbgtktextview.c
269
+ - src/rbgtktoggleaction.c
270
+ - src/rbgtktogglebutton.c
271
+ - src/rbgtktoggletoolbutton.c
272
+ - src/rbgtktoolbar.c
273
+ - src/rbgtktoolbutton.c
274
+ - src/rbgtktoolitem.c
275
+ - src/rbgtktooltip.c
276
+ - src/rbgtktooltips.c
277
+ - src/rbgtktreedragdest.c
278
+ - src/rbgtktreedragsource.c
279
+ - src/rbgtktreeiter.c
280
+ - src/rbgtktreemodel.c
281
+ - src/rbgtktreemodelfilter.c
282
+ - src/rbgtktreemodelsort.c
283
+ - src/rbgtktreepath.c
284
+ - src/rbgtktreerowreference.c
285
+ - src/rbgtktreeselection.c
286
+ - src/rbgtktreesortable.c
287
+ - src/rbgtktreestore.c
288
+ - src/rbgtktreeview.c
289
+ - src/rbgtktreeviewcolumn.c
290
+ - src/rbgtkuimanager.c
291
+ - src/rbgtkvbbox.c
292
+ - src/rbgtkvbox.c
293
+ - src/rbgtkviewport.c
294
+ - src/rbgtkvolumebutton.c
295
+ - src/rbgtkvpaned.c
296
+ - src/rbgtkvruler.c
297
+ - src/rbgtkvscale.c
298
+ - src/rbgtkvscrollbar.c
299
+ - src/rbgtkvseparator.c
300
+ - src/rbgtkwidget.c
301
+ - src/rbgtkwindow.c
302
+ - src/rbgtkwindowgroup.c
303
+ - src/global.h
304
+ - src/rbgdk.h
305
+ - src/rbgdkconversions.h
306
+ - src/rbgdkkeysyms.h
307
+ - src/rbgtk.h
308
+ - src/rbgtkconversions.h
309
+ - src/rbgtkmacros.h
310
+ - test/gtk-test-utils.rb
311
+ - test/run-test.rb
312
+ - test/test_gc.rb
313
+ - test/test_gdk.rb
314
+ - test/test_gdk_color.rb
315
+ - test/test_gdk_display.rb
316
+ - test/test_gdk_event.rb
317
+ - test/test_gdk_gc.rb
318
+ - test/test_gdk_keymap.rb
319
+ - test/test_gdk_pango.rb
320
+ - test/test_gdk_selection_data.rb
321
+ - test/test_gdk_window.rb
322
+ - test/test_gdk_window_attribute.rb
323
+ - test/test_gtk_about_dialog.rb
324
+ - test/test_gtk_buildable.rb
325
+ - test/test_gtk_builder.rb
326
+ - test/test_gtk_entry.rb
327
+ - test/test_gtk_icon_theme.rb
328
+ - test/test_gtk_image.rb
329
+ - test/test_gtk_list_store.rb
330
+ - test/test_gtk_menu_item.rb
331
+ - test/test_gtk_rc_style.rb
332
+ - test/test_gtk_tree_path.rb
333
+ - test/test_gtk_unix_print.rb
334
+ - test/test_gtk_widget.rb
335
+ has_rdoc: true
336
+ homepage: http://ruby-gnome2.sourceforge.jp/
337
+ licenses: []
338
+
339
+ post_install_message:
340
+ rdoc_options:
341
+ - --main
342
+ - README
343
+ require_paths:
344
+ - src
345
+ required_ruby_version: !ruby/object:Gem::Requirement
346
+ none: false
347
+ requirements:
348
+ - - ">="
349
+ - !ruby/object:Gem::Version
350
+ segments:
351
+ - 0
352
+ version: "0"
353
+ required_rubygems_version: !ruby/object:Gem::Requirement
354
+ none: false
355
+ requirements:
356
+ - - ">="
357
+ - !ruby/object:Gem::Version
358
+ segments:
359
+ - 0
360
+ version: "0"
361
+ requirements: []
362
+
363
+ rubyforge_project: gtk2
364
+ rubygems_version: 1.3.7
365
+ signing_key:
366
+ specification_version: 3
367
+ summary: Ruby gtk2 bindings
368
+ test_files:
369
+ - test/gtk-test-utils.rb
370
+ - test/run-test.rb
371
+ - test/test_gc.rb
372
+ - test/test_gdk.rb
373
+ - test/test_gdk_color.rb
374
+ - test/test_gdk_display.rb
375
+ - test/test_gdk_event.rb
376
+ - test/test_gdk_gc.rb
377
+ - test/test_gdk_keymap.rb
378
+ - test/test_gdk_pango.rb
379
+ - test/test_gdk_selection_data.rb
380
+ - test/test_gdk_window.rb
381
+ - test/test_gdk_window_attribute.rb
382
+ - test/test_gtk_about_dialog.rb
383
+ - test/test_gtk_buildable.rb
384
+ - test/test_gtk_builder.rb
385
+ - test/test_gtk_entry.rb
386
+ - test/test_gtk_icon_theme.rb
387
+ - test/test_gtk_image.rb
388
+ - test/test_gtk_list_store.rb
389
+ - test/test_gtk_menu_item.rb
390
+ - test/test_gtk_rc_style.rb
391
+ - test/test_gtk_tree_path.rb
392
+ - test/test_gtk_unix_print.rb
393
+ - test/test_gtk_widget.rb