gtk2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (756) hide show
  1. data/Rakefile +66 -1
  2. data/ext/gtk2/extconf.rb +0 -96
  3. data/ext/gtk2/global.h +274 -13
  4. data/ext/gtk2/gtk2.def +5 -3
  5. data/ext/gtk2/init.c +263 -19
  6. data/ext/gtk2/rbgdk.c +245 -89
  7. data/ext/gtk2/rbgdk.h +32 -6
  8. data/ext/gtk2/rbgdkatom.c +38 -28
  9. data/ext/gtk2/rbgdkcairo.c +32 -42
  10. data/ext/gtk2/rbgdkcolor.c +52 -42
  11. data/ext/gtk2/rbgdkcolormap.c +42 -37
  12. data/ext/gtk2/rbgdkconst.c +23 -13
  13. data/ext/gtk2/rbgdkconversions.h +19 -6
  14. data/ext/gtk2/rbgdkcursor.c +37 -25
  15. data/ext/gtk2/rbgdkdevice.c +77 -67
  16. data/ext/gtk2/rbgdkdisplay.c +158 -150
  17. data/ext/gtk2/rbgdkdisplaymanager.c +27 -15
  18. data/ext/gtk2/rbgdkdragcontext.c +121 -70
  19. data/ext/gtk2/rbgdkdraw.c +252 -160
  20. data/ext/gtk2/rbgdkevent.c +30 -20
  21. data/ext/gtk2/rbgdkgc.c +123 -116
  22. data/ext/gtk2/rbgdkgeometry.c +77 -68
  23. data/ext/gtk2/rbgdkimage.c +58 -47
  24. data/ext/gtk2/rbgdkinput.c +33 -26
  25. data/ext/gtk2/rbgdkkeymap.c +38 -27
  26. data/ext/gtk2/rbgdkkeyval.c +44 -32
  27. data/ext/gtk2/rbgdkpango.c +66 -39
  28. data/ext/gtk2/rbgdkpangorenderer.c +63 -35
  29. data/ext/gtk2/rbgdkpixbuf.c +36 -25
  30. data/ext/gtk2/rbgdkpixmap.c +65 -49
  31. data/ext/gtk2/rbgdkproperty.c +66 -60
  32. data/ext/gtk2/rbgdkrectangle.c +54 -46
  33. data/ext/gtk2/rbgdkregion.c +144 -79
  34. data/ext/gtk2/rbgdkrgb.c +74 -58
  35. data/ext/gtk2/rbgdkscreen.c +103 -97
  36. data/ext/gtk2/rbgdkselection.c +49 -39
  37. data/ext/gtk2/rbgdkthreads.c +32 -19
  38. data/ext/gtk2/rbgdktimecoord.c +60 -38
  39. data/ext/gtk2/rbgdkvisual.c +79 -71
  40. data/ext/gtk2/rbgdkwindow.c +284 -305
  41. data/ext/gtk2/rbgdkwindowattr.c +69 -58
  42. data/ext/gtk2/rbgdkx11.c +41 -28
  43. data/ext/gtk2/rbgtk.c +498 -19
  44. data/ext/gtk2/rbgtk.h +35 -20
  45. data/ext/gtk2/rbgtkaboutdialog.c +33 -80
  46. data/ext/gtk2/rbgtkaccelerator.c +36 -23
  47. data/ext/gtk2/rbgtkaccelgroup.c +50 -40
  48. data/ext/gtk2/rbgtkaccelgroupentry.c +32 -20
  49. data/ext/gtk2/rbgtkaccelkey.c +40 -28
  50. data/ext/gtk2/rbgtkaccellabel.c +30 -18
  51. data/ext/gtk2/rbgtkaccelmap.c +55 -42
  52. data/ext/gtk2/rbgtkaccessible.c +25 -14
  53. data/ext/gtk2/rbgtkaction.c +68 -68
  54. data/ext/gtk2/rbgtkactiongroup.c +317 -195
  55. data/ext/gtk2/rbgtkadjustment.c +33 -46
  56. data/ext/gtk2/rbgtkalignment.c +36 -24
  57. data/ext/gtk2/rbgtkallocation.c +53 -42
  58. data/ext/gtk2/rbgtkarrow.c +34 -22
  59. data/ext/gtk2/rbgtkaspectframe.c +32 -20
  60. data/ext/gtk2/rbgtkassistant.c +81 -61
  61. data/ext/gtk2/rbgtkbbox.c +32 -20
  62. data/ext/gtk2/rbgtkbin.c +28 -16
  63. data/ext/gtk2/rbgtkbindingset.c +42 -35
  64. data/ext/gtk2/rbgtkborder.c +34 -23
  65. data/ext/gtk2/rbgtkbox.c +40 -29
  66. data/ext/gtk2/rbgtkbuildable.c +57 -45
  67. data/ext/gtk2/rbgtkbuilder.c +53 -38
  68. data/ext/gtk2/rbgtkbutton.c +41 -55
  69. data/ext/gtk2/rbgtkcalendar.c +51 -40
  70. data/ext/gtk2/rbgtkcelleditable.c +28 -17
  71. data/ext/gtk2/rbgtkcelllayout.c +41 -30
  72. data/ext/gtk2/rbgtkcellrenderer.c +43 -32
  73. data/ext/gtk2/rbgtkcellrendereraccel.c +26 -18
  74. data/ext/gtk2/rbgtkcellrenderercombo.c +25 -17
  75. data/ext/gtk2/rbgtkcellrendererpixbuf.c +24 -17
  76. data/ext/gtk2/rbgtkcellrendererprogress.c +25 -17
  77. data/ext/gtk2/rbgtkcellrendererspin.c +24 -16
  78. data/ext/gtk2/rbgtkcellrendererspinner.c +23 -11
  79. data/ext/gtk2/rbgtkcellrenderertext.c +28 -21
  80. data/ext/gtk2/rbgtkcellrenderertoggle.c +24 -16
  81. data/ext/gtk2/rbgtkcellview.c +34 -33
  82. data/ext/gtk2/rbgtkcheckbutton.c +28 -16
  83. data/ext/gtk2/rbgtkcheckmenuitem.c +31 -19
  84. data/ext/gtk2/rbgtkclipboard.c +123 -77
  85. data/ext/gtk2/rbgtkcolorbutton.c +26 -31
  86. data/ext/gtk2/rbgtkcolorsel.c +109 -55
  87. data/ext/gtk2/rbgtkcolorselectiondialog.c +28 -19
  88. data/ext/gtk2/rbgtkcombo.c +43 -32
  89. data/ext/gtk2/rbgtkcombobox.c +44 -83
  90. data/ext/gtk2/rbgtkcomboboxentry.c +26 -21
  91. data/ext/gtk2/rbgtkconst.c +23 -13
  92. data/ext/gtk2/rbgtkcontainer.c +153 -100
  93. data/ext/gtk2/rbgtkconversions.h +19 -6
  94. data/ext/gtk2/rbgtkcurve.c +46 -36
  95. data/ext/gtk2/rbgtkdialog.c +104 -70
  96. data/ext/gtk2/rbgtkdrag.c +173 -121
  97. data/ext/gtk2/rbgtkdrawingarea.c +28 -16
  98. data/ext/gtk2/rbgtkeditable.c +63 -51
  99. data/ext/gtk2/rbgtkentry.c +48 -85
  100. data/ext/gtk2/rbgtkentrycompletion.c +42 -55
  101. data/ext/gtk2/rbgtkeventbox.c +28 -16
  102. data/ext/gtk2/rbgtkexpander.c +26 -35
  103. data/ext/gtk2/rbgtkfilechooser.c +87 -143
  104. data/ext/gtk2/rbgtkfilechooserbutton.c +26 -32
  105. data/ext/gtk2/rbgtkfilechooserdialog.c +25 -15
  106. data/ext/gtk2/rbgtkfilechooserwidget.c +26 -15
  107. data/ext/gtk2/rbgtkfilefilter.c +45 -35
  108. data/ext/gtk2/rbgtkfilesel.c +54 -43
  109. data/ext/gtk2/rbgtkfilesystemerror.c +51 -0
  110. data/ext/gtk2/rbgtkfixed.c +36 -25
  111. data/ext/gtk2/rbgtkfontbutton.c +26 -37
  112. data/ext/gtk2/rbgtkfontselection.c +27 -15
  113. data/ext/gtk2/rbgtkfontselectiondialog.c +43 -32
  114. data/ext/gtk2/rbgtkframe.c +39 -28
  115. data/ext/gtk2/rbgtkgamma.c +32 -20
  116. data/ext/gtk2/rbgtkhandlebox.c +31 -19
  117. data/ext/gtk2/rbgtkhbbox.c +28 -16
  118. data/ext/gtk2/rbgtkhbox.c +29 -17
  119. data/ext/gtk2/rbgtkhpaned.c +28 -16
  120. data/ext/gtk2/rbgtkhruler.c +28 -16
  121. data/ext/gtk2/rbgtkhscale.c +28 -16
  122. data/ext/gtk2/rbgtkhscrollbar.c +28 -16
  123. data/ext/gtk2/rbgtkhseparator.c +28 -16
  124. data/ext/gtk2/rbgtkiconfactory.c +35 -23
  125. data/ext/gtk2/rbgtkiconinfo.c +42 -30
  126. data/ext/gtk2/rbgtkiconset.c +31 -19
  127. data/ext/gtk2/rbgtkiconsize.c +38 -25
  128. data/ext/gtk2/rbgtkiconsource.c +62 -50
  129. data/ext/gtk2/rbgtkicontheme.c +95 -95
  130. data/ext/gtk2/rbgtkiconview.c +87 -121
  131. data/ext/gtk2/rbgtkimage.c +31 -40
  132. data/ext/gtk2/rbgtkimagemenuitem.c +26 -14
  133. data/ext/gtk2/rbgtkimcontext.c +46 -34
  134. data/ext/gtk2/rbgtkimcontextsimple.c +47 -24
  135. data/ext/gtk2/rbgtkimmulticontext.c +26 -14
  136. data/ext/gtk2/rbgtkinputdialog.c +28 -16
  137. data/ext/gtk2/rbgtkinvisible.c +24 -18
  138. data/ext/gtk2/rbgtkitem.c +32 -20
  139. data/ext/gtk2/rbgtkitemfactory.c +65 -57
  140. data/ext/gtk2/rbgtklabel.c +46 -57
  141. data/ext/gtk2/rbgtklayout.c +40 -29
  142. data/ext/gtk2/rbgtklinkbutton.c +26 -15
  143. data/ext/gtk2/rbgtkliststore.c +145 -102
  144. data/ext/gtk2/rbgtkmacros.h +19 -6
  145. data/ext/gtk2/rbgtkmenu.c +47 -59
  146. data/ext/gtk2/rbgtkmenubar.c +30 -30
  147. data/ext/gtk2/rbgtkmenuitem.c +34 -41
  148. data/ext/gtk2/rbgtkmenushell.c +43 -42
  149. data/ext/gtk2/rbgtkmenutoolbutton.c +27 -16
  150. data/ext/gtk2/rbgtkmessagedialog.c +31 -25
  151. data/ext/gtk2/rbgtkmisc.c +33 -22
  152. data/ext/gtk2/rbgtknotebook.c +98 -134
  153. data/ext/gtk2/rbgtkobject.c +46 -81
  154. data/ext/gtk2/rbgtkoptionmenu.c +35 -23
  155. data/ext/gtk2/rbgtkpagesetup.c +64 -54
  156. data/ext/gtk2/rbgtkpagesetupunixdialog.c +34 -27
  157. data/ext/gtk2/rbgtkpaned.c +46 -36
  158. data/ext/gtk2/rbgtkpapersize.c +60 -54
  159. data/ext/gtk2/rbgtkplug.c +32 -20
  160. data/ext/gtk2/rbgtkprintcontext.c +43 -35
  161. data/ext/gtk2/rbgtkprinter.c +36 -37
  162. data/ext/gtk2/rbgtkprintjob.c +36 -37
  163. data/ext/gtk2/rbgtkprintoperation.c +44 -33
  164. data/ext/gtk2/rbgtkprintoperationpreview.c +30 -18
  165. data/ext/gtk2/rbgtkprintsettings.c +248 -192
  166. data/ext/gtk2/rbgtkprintunixdialog.c +33 -45
  167. data/ext/gtk2/rbgtkprogress.c +23 -13
  168. data/ext/gtk2/rbgtkprogressbar.c +47 -46
  169. data/ext/gtk2/rbgtkradioaction.c +84 -39
  170. data/ext/gtk2/rbgtkradiobutton.c +33 -21
  171. data/ext/gtk2/rbgtkradiomenuitem.c +86 -45
  172. data/ext/gtk2/rbgtkradiotoolbutton.c +99 -53
  173. data/ext/gtk2/rbgtkrange.c +36 -56
  174. data/ext/gtk2/rbgtkrc.c +61 -49
  175. data/ext/gtk2/rbgtkrcstyle.c +59 -48
  176. data/ext/gtk2/rbgtkrecentaction.c +28 -16
  177. data/ext/gtk2/rbgtkrecentchooser.c +58 -92
  178. data/ext/gtk2/rbgtkrecentchooserdialog.c +29 -18
  179. data/ext/gtk2/rbgtkrecentchoosermenu.c +25 -21
  180. data/ext/gtk2/rbgtkrecentchooserwidget.c +24 -13
  181. data/ext/gtk2/rbgtkrecentdata.c +47 -36
  182. data/ext/gtk2/rbgtkrecentfilter.c +55 -46
  183. data/ext/gtk2/rbgtkrecentfilterinfo.c +51 -40
  184. data/ext/gtk2/rbgtkrecentinfo.c +66 -56
  185. data/ext/gtk2/rbgtkrecentmanager.c +47 -43
  186. data/ext/gtk2/rbgtkruler.c +35 -30
  187. data/ext/gtk2/rbgtkscale.c +29 -18
  188. data/ext/gtk2/rbgtkscalebutton.c +27 -27
  189. data/ext/gtk2/rbgtkscrollbar.c +23 -13
  190. data/ext/gtk2/rbgtkscrolledwindow.c +44 -60
  191. data/ext/gtk2/rbgtkselection.c +87 -67
  192. data/ext/gtk2/rbgtkselectiondata.c +74 -65
  193. data/ext/gtk2/rbgtkseparator.c +23 -13
  194. data/ext/gtk2/rbgtkseparatormenuitem.c +25 -13
  195. data/ext/gtk2/rbgtkseparatortoolitem.c +26 -21
  196. data/ext/gtk2/rbgtksettings.c +123 -103
  197. data/ext/gtk2/rbgtksizegroup.c +33 -30
  198. data/ext/gtk2/rbgtksocket.c +32 -20
  199. data/ext/gtk2/rbgtkspinbutton.c +48 -38
  200. data/ext/gtk2/rbgtkspinner.c +27 -14
  201. data/ext/gtk2/rbgtkstatusbar.c +36 -31
  202. data/ext/gtk2/rbgtkstatusicon.c +31 -44
  203. data/ext/gtk2/rbgtkstock.c +137 -125
  204. data/ext/gtk2/rbgtkstyle.c +177 -161
  205. data/ext/gtk2/rbgtktable.c +58 -47
  206. data/ext/gtk2/rbgtktargetlist.c +56 -36
  207. data/ext/gtk2/rbgtktearoffmenuitem.c +28 -16
  208. data/ext/gtk2/rbgtktextappearance.c +44 -34
  209. data/ext/gtk2/rbgtktextattributes.c +54 -42
  210. data/ext/gtk2/rbgtktextbuffer.c +188 -191
  211. data/ext/gtk2/rbgtktextchild.c +29 -18
  212. data/ext/gtk2/rbgtktextiter.c +153 -145
  213. data/ext/gtk2/rbgtktextmark.c +33 -30
  214. data/ext/gtk2/rbgtktexttag.c +34 -22
  215. data/ext/gtk2/rbgtktexttagtable.c +36 -25
  216. data/ext/gtk2/rbgtktextview.c +85 -73
  217. data/ext/gtk2/rbgtktoggleaction.c +27 -22
  218. data/ext/gtk2/rbgtktogglebutton.c +37 -26
  219. data/ext/gtk2/rbgtktoggletoolbutton.c +26 -20
  220. data/ext/gtk2/rbgtktoolbar.c +66 -69
  221. data/ext/gtk2/rbgtktoolbutton.c +27 -40
  222. data/ext/gtk2/rbgtktoolitem.c +60 -62
  223. data/ext/gtk2/rbgtktooltip.c +36 -25
  224. data/ext/gtk2/rbgtktooltips.c +42 -34
  225. data/ext/gtk2/rbgtktreedragdest.c +20 -11
  226. data/ext/gtk2/rbgtktreedragsource.c +20 -11
  227. data/ext/gtk2/rbgtktreeiter.c +58 -47
  228. data/ext/gtk2/rbgtktreemodel.c +83 -65
  229. data/ext/gtk2/rbgtktreemodelfilter.c +47 -35
  230. data/ext/gtk2/rbgtktreemodelsort.c +38 -27
  231. data/ext/gtk2/rbgtktreepath.c +55 -44
  232. data/ext/gtk2/rbgtktreerowreference.c +60 -42
  233. data/ext/gtk2/rbgtktreeselection.c +61 -52
  234. data/ext/gtk2/rbgtktreesortable.c +52 -42
  235. data/ext/gtk2/rbgtktreestore.c +88 -67
  236. data/ext/gtk2/rbgtktreeview.c +157 -185
  237. data/ext/gtk2/rbgtktreeviewcolumn.c +57 -62
  238. data/ext/gtk2/rbgtkuimanager.c +61 -61
  239. data/ext/gtk2/rbgtkvbbox.c +28 -16
  240. data/ext/gtk2/rbgtkvbox.c +29 -17
  241. data/ext/gtk2/rbgtkviewport.c +28 -16
  242. data/ext/gtk2/rbgtkvolumebutton.c +28 -16
  243. data/ext/gtk2/rbgtkvpaned.c +28 -16
  244. data/ext/gtk2/rbgtkvruler.c +28 -16
  245. data/ext/gtk2/rbgtkvscale.c +28 -16
  246. data/ext/gtk2/rbgtkvscrollbar.c +28 -16
  247. data/ext/gtk2/rbgtkvseparator.c +28 -16
  248. data/ext/gtk2/rbgtkwidget.c +284 -296
  249. data/ext/gtk2/rbgtkwindow.c +156 -214
  250. data/ext/gtk2/rbgtkwindowgroup.c +35 -24
  251. data/lib/1.8/gtk2.so +0 -0
  252. data/lib/1.9/gtk2.so +0 -0
  253. data/sample/testgtk/labels.rb +1 -0
  254. data/sample/testgtk/testgtk.rb +2 -0
  255. data/vendor/local/bin/gtk-builder-convert +29 -2
  256. data/vendor/local/bin/gtk-demo.exe +0 -0
  257. data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
  258. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  259. data/vendor/local/bin/libgailutil-18.dll +0 -0
  260. data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
  261. data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
  262. data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
  263. data/vendor/local/include/gtk-2.0/gdk/gdk.h +4 -7
  264. data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +4 -0
  265. data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +4 -2
  266. data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +7 -0
  267. data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +7 -4
  268. data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +1 -1
  269. data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +2 -1
  270. data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +4 -0
  271. data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +13 -9
  272. data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +2 -0
  273. data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +6 -0
  274. data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +16 -6
  275. data/vendor/local/include/gtk-2.0/gtk/gtk.h +1 -0
  276. data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +18 -14
  277. data/vendor/local/include/gtk-2.0/gtk/gtkaction.h +7 -7
  278. data/vendor/local/include/gtk-2.0/gtk/gtkactiongroup.h +2 -2
  279. data/vendor/local/include/gtk-2.0/gtk/gtkassistant.h +1 -1
  280. data/vendor/local/include/gtk-2.0/gtk/gtkbutton.h +1 -1
  281. data/vendor/local/include/gtk-2.0/gtk/gtkcolorbutton.h +1 -1
  282. data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +15 -4
  283. data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +3 -0
  284. data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
  285. data/vendor/local/include/gtk-2.0/gtk/gtkentry.h +2 -2
  286. data/vendor/local/include/gtk-2.0/gtk/gtkentrybuffer.h +1 -1
  287. data/vendor/local/include/gtk-2.0/gtk/gtkexpander.h +1 -1
  288. data/vendor/local/include/gtk-2.0/gtk/gtkfilechooser.h +1 -1
  289. data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h +1 -1
  290. data/vendor/local/include/gtk-2.0/gtk/gtkfilefilter.h +1 -1
  291. data/vendor/local/include/gtk-2.0/gtk/gtkfilesel.h +1 -1
  292. data/vendor/local/include/gtk-2.0/gtk/gtkfontbutton.h +2 -2
  293. data/vendor/local/include/gtk-2.0/gtk/gtkfontsel.h +1 -1
  294. data/vendor/local/include/gtk-2.0/gtk/gtkframe.h +1 -1
  295. data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +4 -0
  296. data/vendor/local/include/gtk-2.0/gtk/gtkiconfactory.h +3 -3
  297. data/vendor/local/include/gtk-2.0/gtk/gtkicontheme.h +2 -2
  298. data/vendor/local/include/gtk-2.0/gtk/gtkimage.h +1 -1
  299. data/vendor/local/include/gtk-2.0/gtk/gtkitemfactory.h +1 -1
  300. data/vendor/local/include/gtk-2.0/gtk/gtklabel.h +3 -3
  301. data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +3 -1
  302. data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +5 -2
  303. data/vendor/local/include/gtk-2.0/gtk/gtkmenu.h +1 -1
  304. data/vendor/local/include/gtk-2.0/gtk/gtkmenuitem.h +3 -3
  305. data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +9 -7
  306. data/vendor/local/include/gtk-2.0/gtk/gtkpapersize.h +4 -4
  307. data/vendor/local/include/gtk-2.0/gtk/gtkprintoperation.h +1 -1
  308. data/vendor/local/include/gtk-2.0/gtk/gtkprintsettings.h +7 -7
  309. data/vendor/local/include/gtk-2.0/gtk/gtkprivate.h +25 -2
  310. data/vendor/local/include/gtk-2.0/gtk/gtkprogressbar.h +1 -1
  311. data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +6 -0
  312. data/vendor/local/include/gtk-2.0/gtk/gtkrecentfilter.h +1 -1
  313. data/vendor/local/include/gtk-2.0/gtk/gtkrecentmanager.h +4 -4
  314. data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +4 -0
  315. data/vendor/local/include/gtk-2.0/gtk/gtkstatusicon.h +3 -3
  316. data/vendor/local/include/gtk-2.0/gtk/gtktextmark.h +1 -1
  317. data/vendor/local/include/gtk-2.0/gtk/gtktoolbutton.h +3 -3
  318. data/vendor/local/include/gtk-2.0/gtk/gtktoolitemgroup.h +1 -1
  319. data/vendor/local/include/gtk-2.0/gtk/gtktoolpalette.h +2 -2
  320. data/vendor/local/include/gtk-2.0/gtk/gtktreeviewcolumn.h +1 -1
  321. data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +2 -0
  322. data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +4 -4
  323. data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +4 -0
  324. data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +6 -2
  325. data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +8 -7
  326. data/vendor/local/lib/gailutil.lib +0 -0
  327. data/vendor/local/lib/gdk-win32-2.0.lib +0 -0
  328. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
  329. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
  330. data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
  331. data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
  332. data/vendor/local/lib/libgailutil.dll.a +0 -0
  333. data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
  334. data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
  335. data/vendor/local/lib/pkgconfig/gail.pc +1 -1
  336. data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
  337. data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
  338. data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
  339. data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
  340. data/vendor/local/manifest/{gtk+-dev_2.22.1-1_win32.mft → gtk+-dev_2.24.8-1_win32.mft} +10 -8
  341. data/vendor/local/manifest/{gtk+_2.22.1-1_win32.mft → gtk+_2.24.8-1_win32.mft} +2 -6
  342. data/vendor/local/share/doc/{gtk+-2.22.1 → gtk+-2.24.8}/COPYING +0 -0
  343. data/vendor/local/share/doc/{gtk+-dev-2.22.1 → gtk+-dev-2.24.8}/COPYING +0 -0
  344. data/vendor/local/share/gtk-2.0/demo/appwindow.c +0 -21
  345. data/vendor/local/share/gtk-2.0/demo/combobox.c +6 -6
  346. data/vendor/local/share/gtk-2.0/demo/editable_cells.c +5 -5
  347. data/vendor/local/share/gtk-2.0/demo/iconview.c +1 -0
  348. data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +1 -1
  349. data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +1 -1
  350. data/vendor/local/share/gtk-2.0/demo/sizegroup.c +2 -2
  351. data/vendor/local/share/gtk-2.0/demo/textview.c +4 -4
  352. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +74 -108
  353. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +48 -62
  354. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +1 -1
  355. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +1 -1
  356. data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
  357. data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +3 -3
  358. data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +2 -1
  359. data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +154 -211
  360. data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +35 -39
  361. data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +182 -241
  362. data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +9 -6
  363. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +7 -7
  364. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +8 -8
  365. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +7 -7
  366. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +6 -6
  367. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +6 -6
  368. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +26 -26
  369. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +6 -6
  370. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +6 -6
  371. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +7 -7
  372. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +10 -10
  373. data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +10 -10
  374. data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +150 -20
  375. data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +174 -138
  376. data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +24 -27
  377. data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +136 -136
  378. data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +88 -46
  379. data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +139 -203
  380. data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +76 -95
  381. data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +164 -203
  382. data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +303 -419
  383. data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +324 -439
  384. data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +114 -147
  385. data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +157 -236
  386. data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +159 -233
  387. data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +114 -134
  388. data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +170 -252
  389. data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +92 -133
  390. data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +146 -194
  391. data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +37 -55
  392. data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +183 -198
  393. data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +94 -121
  394. data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +100 -158
  395. data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +147 -179
  396. data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +190 -237
  397. data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +100 -137
  398. data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +26 -39
  399. data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +61 -87
  400. data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +86 -111
  401. data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +725 -801
  402. data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +51 -134
  403. data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +75 -158
  404. data/vendor/local/share/gtk-doc/html/gdk/index.html +10 -13
  405. data/vendor/local/share/gtk-doc/html/gdk/index.sgml +10 -94
  406. data/vendor/local/share/gtk-doc/html/gdk/multihead.html +15 -15
  407. data/vendor/local/share/gtk-doc/html/gdk/reference.html +8 -10
  408. data/vendor/local/share/gtk-doc/html/gdk/style.css +2 -1
  409. data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +5 -5
  410. data/vendor/local/share/gtk-doc/html/gtk/Actions.html +5 -5
  411. data/vendor/local/share/gtk-doc/html/gtk/Builder.html +5 -5
  412. data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +5 -5
  413. data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +5 -5
  414. data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +5 -5
  415. data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +228 -212
  416. data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +41 -49
  417. data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +20 -20
  418. data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +181 -248
  419. data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +178 -261
  420. data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +48 -52
  421. data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +80 -116
  422. data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +58 -68
  423. data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +32 -38
  424. data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +38 -48
  425. data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +113 -134
  426. data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +16 -16
  427. data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +97 -122
  428. data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +88 -116
  429. data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +100 -139
  430. data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +156 -187
  431. data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +61 -78
  432. data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +637 -917
  433. data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +570 -1841
  434. data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +130 -165
  435. data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +38 -40
  436. data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +62 -89
  437. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +136 -160
  438. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +40 -49
  439. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +29 -34
  440. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +33 -34
  441. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +25 -27
  442. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +21 -22
  443. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +21 -22
  444. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +75 -80
  445. data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +47 -56
  446. data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +65 -83
  447. data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +32 -36
  448. data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +63 -85
  449. data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +128 -200
  450. data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +31 -34
  451. data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +65 -83
  452. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +346 -188
  453. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +59 -48
  454. data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +328 -0
  455. data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +170 -262
  456. data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +63 -81
  457. data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +102 -124
  458. data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +28 -30
  459. data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +71 -90
  460. data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +389 -491
  461. data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +73 -106
  462. data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +132 -187
  463. data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +37 -42
  464. data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +80 -100
  465. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +358 -414
  466. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +71 -94
  467. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +32 -37
  468. data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +23 -28
  469. data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +104 -148
  470. data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +43 -54
  471. data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +64 -90
  472. data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +70 -85
  473. data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +54 -63
  474. data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +55 -60
  475. data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +20 -21
  476. data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +19 -22
  477. data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +31 -36
  478. data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +15 -15
  479. data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +32 -26
  480. data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +67 -92
  481. data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +27 -32
  482. data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +20 -20
  483. data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +21 -22
  484. data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +57 -68
  485. data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +153 -191
  486. data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +20 -24
  487. data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +20 -24
  488. data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +213 -271
  489. data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +333 -455
  490. data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +241 -262
  491. data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +60 -71
  492. data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +69 -82
  493. data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +37 -42
  494. data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +42 -50
  495. data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +38 -44
  496. data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +185 -276
  497. data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +201 -251
  498. data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +72 -78
  499. data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +55 -64
  500. data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +132 -182
  501. data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +82 -132
  502. data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +142 -172
  503. data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +185 -229
  504. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +43 -51
  505. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +114 -147
  506. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +89 -121
  507. data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +75 -51
  508. data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +83 -83
  509. data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +37 -41
  510. data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +398 -454
  511. data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +150 -208
  512. data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +30 -34
  513. data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +82 -167
  514. data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +58 -68
  515. data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +117 -162
  516. data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +24 -27
  517. data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +99 -139
  518. data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkPaperSize.html → GtkPaperSize.html} +206 -254
  519. data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +51 -61
  520. data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +67 -83
  521. data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +122 -149
  522. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +40 -51
  523. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +57 -72
  524. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +284 -413
  525. data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +76 -96
  526. data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +112 -142
  527. data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +82 -113
  528. data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +93 -110
  529. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +44 -55
  530. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +88 -81
  531. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +65 -73
  532. data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +35 -44
  533. data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +224 -188
  534. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +36 -43
  535. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +137 -196
  536. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +29 -31
  537. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +27 -32
  538. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +19 -21
  539. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +67 -89
  540. data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +219 -286
  541. data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +85 -60
  542. data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +63 -74
  543. data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +67 -84
  544. data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +23 -23
  545. data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +98 -146
  546. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +15 -15
  547. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +19 -20
  548. data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +26 -29
  549. data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +134 -264
  550. data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +40 -47
  551. data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +52 -61
  552. data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +134 -179
  553. data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +26 -27
  554. data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +221 -285
  555. data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +62 -77
  556. data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +754 -1135
  557. data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +96 -137
  558. data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +20 -21
  559. data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +105 -148
  560. data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +527 -685
  561. data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkTextIter.html → GtkTextIter.html} +666 -807
  562. data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +43 -48
  563. data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +180 -210
  564. data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +86 -78
  565. data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +355 -439
  566. data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +76 -96
  567. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +45 -59
  568. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +61 -73
  569. data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +34 -40
  570. data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +82 -93
  571. data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +135 -168
  572. data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +86 -105
  573. data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +121 -144
  574. data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +44 -61
  575. data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +251 -362
  576. data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +37 -37
  577. data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +62 -72
  578. data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +107 -154
  579. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +48 -136
  580. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +434 -566
  581. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +97 -127
  582. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +65 -72
  583. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +125 -173
  584. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +55 -64
  585. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +173 -202
  586. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +588 -867
  587. data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +209 -288
  588. data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +127 -191
  589. data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +19 -22
  590. data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +29 -36
  591. data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +16 -16
  592. data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +33 -26
  593. data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +26 -31
  594. data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +20 -20
  595. data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +19 -20
  596. data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +60 -71
  597. data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +18 -19
  598. data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1499 -1795
  599. data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +447 -597
  600. data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +23 -41
  601. data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +5 -5
  602. data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +8 -5
  603. data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +5 -5
  604. data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +5 -5
  605. data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +5 -5
  606. data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +5 -5
  607. data/vendor/local/share/gtk-doc/html/gtk/Printing.html +6 -6
  608. data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +5 -5
  609. data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +5 -5
  610. data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +5 -5
  611. data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +5 -5
  612. data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +18 -18
  613. data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +6 -6
  614. data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +18 -18
  615. data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +5 -5
  616. data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +5 -5
  617. data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +20 -14
  618. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +23 -23
  619. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +9 -9
  620. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +6 -6
  621. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +7 -7
  622. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +6 -6
  623. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +8 -8
  624. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +6 -6
  625. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +8 -8
  626. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +121 -0
  627. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +31 -31
  628. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +6 -6
  629. data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +10 -10
  630. data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +239 -48
  631. data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +476 -388
  632. data/vendor/local/share/gtk-doc/html/gtk/ch01.html +17 -6
  633. data/vendor/local/share/gtk-doc/html/gtk/ch02.html +6 -6
  634. data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +19 -19
  635. data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +7 -7
  636. data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +6 -6
  637. data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +6 -6
  638. data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +5 -5
  639. data/vendor/local/share/gtk-doc/html/gtk/glossary.html +6 -6
  640. data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +78 -133
  641. data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +172 -234
  642. data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +235 -339
  643. data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +248 -318
  644. data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +37 -43
  645. data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +54 -60
  646. data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +295 -339
  647. data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +36 -42
  648. data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +80 -85
  649. data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +225 -293
  650. data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +180 -268
  651. data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +19 -22
  652. data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +159 -195
  653. data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +377 -450
  654. data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +192 -308
  655. data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +55 -55
  656. data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +154 -158
  657. data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +95 -143
  658. data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +212 -243
  659. data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +273 -345
  660. data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +20 -13
  661. data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +22 -22
  662. data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +7 -7
  663. data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +7 -7
  664. data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +9 -9
  665. data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +9 -9
  666. data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +65 -77
  667. data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +62 -79
  668. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +15 -15
  669. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +8 -8
  670. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +6 -6
  671. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +6 -6
  672. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +7 -12
  673. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +5 -5
  674. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +6 -6
  675. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +7 -7
  676. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +7 -7
  677. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +5 -5
  678. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +7 -7
  679. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +9 -9
  680. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +6 -6
  681. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +5 -5
  682. data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +5 -5
  683. data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +8 -8
  684. data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +12 -12
  685. data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +115 -115
  686. data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +11 -11
  687. data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +60 -33
  688. data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +12 -12
  689. data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +16 -16
  690. data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +14 -14
  691. data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +440 -413
  692. data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +483 -456
  693. data/vendor/local/share/gtk-doc/html/gtk/gtk.html +8 -8
  694. data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +6 -6
  695. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +5 -5
  696. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +5 -5
  697. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +5 -5
  698. data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +7 -7
  699. data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +11 -8
  700. data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +5 -5
  701. data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +5 -5
  702. data/vendor/local/share/gtk-doc/html/gtk/index.html +16 -12
  703. data/vendor/local/share/gtk-doc/html/gtk/index.sgml +189 -142
  704. data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +5 -5
  705. data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +20 -20
  706. data/vendor/local/share/gtk-doc/html/gtk/migrating.html +7 -7
  707. data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +5 -5
  708. data/vendor/local/share/gtk-doc/html/gtk/pt05.html +7 -7
  709. data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +5 -5
  710. data/vendor/local/share/gtk-doc/html/gtk/style.css +2 -1
  711. data/vendor/local/share/gtk-doc/html/gtk/{document-x-generic.png → text-x-generic.png} +0 -0
  712. data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +5 -5
  713. data/vendor/local/share/icons/hicolor/index.theme +1662 -0
  714. data/vendor/local/share/locale/be/LC_MESSAGES/gtk20.mo +0 -0
  715. data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
  716. data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
  717. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
  718. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
  719. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
  720. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
  721. data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
  722. data/vendor/local/share/locale/de/LC_MESSAGES/gtk20.mo +0 -0
  723. data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
  724. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
  725. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
  726. data/vendor/local/share/locale/es/LC_MESSAGES/gtk20.mo +0 -0
  727. data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
  728. data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
  729. data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20-properties.mo +0 -0
  730. data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
  731. data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
  732. data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
  733. data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
  734. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
  735. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
  736. data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
  737. data/vendor/local/share/locale/nl/LC_MESSAGES/gtk20.mo +0 -0
  738. data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20-properties.mo +0 -0
  739. data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
  740. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
  741. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
  742. data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
  743. data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
  744. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
  745. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
  746. data/vendor/local/src/dieterv/packaging/gtk+_2.24.8-1_win32.log +4937 -0
  747. data/vendor/local/src/{tml/packaging/gtk+_2.22.1-1_win32.sh → dieterv/packaging/gtk+_2.24.8-1_win32.sh} +8 -8
  748. metadata +29 -31
  749. data/ChangeLog +0 -6902
  750. data/ext/gtk2/rbgtkmain.c +0 -493
  751. data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +0 -2500
  752. data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20-properties.mo +0 -0
  753. data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20.mo +0 -0
  754. data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20-properties.mo +0 -0
  755. data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20.mo +0 -0
  756. data/vendor/local/src/tml/packaging/gtk+_2.22.1-1_win32.log +0 -5048
@@ -1,23 +1,34 @@
1
1
  /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
- /************************************************
3
-
4
- rbgdkwindow.c -
5
-
6
- $Author: ggc $
7
- $Date: 2007/07/13 16:07:31 $
8
-
9
- Copyright (C) 2002-2006 Ruby-GNOME2 Project Team
10
- Copyright (C) 1998-2000 Yukihiro Matsumoto,
11
- Daisuke Kanda,
12
- Hiroshi Igarashi
13
- ************************************************/
2
+ /*
3
+ * Copyright (C) 2011 Ruby-GNOME2 Project Team
4
+ * Copyright (C) 2002-2006 Ruby-GNOME2 Project Team
5
+ * Copyright (C) 1998-2000 Yukihiro Matsumoto,
6
+ * Daisuke Kanda,
7
+ * Hiroshi Igarashi
8
+ *
9
+ * This library is free software; you can redistribute it and/or
10
+ * modify it under the terms of the GNU Lesser General Public
11
+ * License as published by the Free Software Foundation; either
12
+ * version 2.1 of the License, or (at your option) any later version.
13
+ *
14
+ * This library is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
+ * Lesser General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU Lesser General Public
20
+ * License along with this library; if not, write to the Free Software
21
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
22
+ * MA 02110-1301 USA
23
+ */
14
24
 
15
25
  #include "global.h"
16
26
 
27
+ #define RG_TARGET_NAMESPACE cWindow
17
28
  #define _SELF(s) GDK_WINDOW(RVAL2GOBJ(s))
18
29
 
19
30
  static VALUE
20
- gdkwin_initialize(VALUE self, VALUE parent, VALUE attributes, VALUE attributes_mask)
31
+ rg_initialize(VALUE self, VALUE parent, VALUE attributes, VALUE attributes_mask)
21
32
  {
22
33
  GdkWindow* win;
23
34
  win = gdk_window_new(NIL_P(parent) ? NULL : _SELF(parent),
@@ -31,20 +42,20 @@ gdkwin_initialize(VALUE self, VALUE parent, VALUE attributes, VALUE attributes_m
31
42
  }
32
43
 
33
44
  static VALUE
34
- gdkwin_destroy(VALUE self)
45
+ rg_destroy(VALUE self)
35
46
  {
36
47
  gdk_window_destroy(_SELF(self));
37
48
  return Qnil;
38
49
  }
39
50
 
40
51
  static VALUE
41
- gdkwin_get_window_type(VALUE self)
52
+ rg_window_type(VALUE self)
42
53
  {
43
54
  return GENUM2RVAL(gdk_window_get_window_type(_SELF(self)), GDK_TYPE_WINDOW_TYPE);
44
55
  }
45
56
 
46
57
  static VALUE
47
- gdkwin_s_at_pointer(VALUE self)
58
+ rg_s_at_pointer(G_GNUC_UNUSED VALUE self)
48
59
  {
49
60
  gint x, y;
50
61
  GdkWindow* win = gdk_window_at_pointer(&x, &y);
@@ -52,102 +63,102 @@ gdkwin_s_at_pointer(VALUE self)
52
63
  }
53
64
 
54
65
  static VALUE
55
- gdkwin_show(VALUE self)
66
+ rg_show(VALUE self)
56
67
  {
57
68
  gdk_window_show(_SELF(self));
58
69
  return self;
59
70
  }
60
71
 
61
72
  static VALUE
62
- gdkwin_show_unraised(VALUE self)
73
+ rg_show_unraised(VALUE self)
63
74
  {
64
75
  gdk_window_show_unraised(_SELF(self));
65
76
  return self;
66
77
  }
67
78
 
68
79
  static VALUE
69
- gdkwin_hide(VALUE self)
80
+ rg_hide(VALUE self)
70
81
  {
71
82
  gdk_window_hide(_SELF(self));
72
83
  return Qnil;
73
84
  }
74
85
 
75
86
  static VALUE
76
- gdkwin_is_visible(VALUE self)
87
+ rg_visible_p(VALUE self)
77
88
  {
78
89
  return CBOOL2RVAL(gdk_window_is_visible(_SELF(self)));
79
90
  }
80
91
 
81
92
  static VALUE
82
- gdkwin_is_viewable(VALUE self)
93
+ rg_viewable_p(VALUE self)
83
94
  {
84
95
  return CBOOL2RVAL(gdk_window_is_viewable(_SELF(self)));
85
96
  }
86
97
 
87
98
  static VALUE
88
- gdkwin_get_state(VALUE self)
99
+ rg_state(VALUE self)
89
100
  {
90
101
  return GENUM2RVAL(gdk_window_get_state(_SELF(self)), GDK_TYPE_WINDOW_STATE);
91
102
  }
92
103
 
93
104
  static VALUE
94
- gdkwin_withdraw(VALUE self)
105
+ rg_withdraw(VALUE self)
95
106
  {
96
107
  gdk_window_withdraw(_SELF(self));
97
108
  return Qnil;
98
109
  }
99
110
 
100
111
  static VALUE
101
- gdkwin_iconify(VALUE self)
112
+ rg_iconify(VALUE self)
102
113
  {
103
114
  gdk_window_iconify(_SELF(self));
104
115
  return self;
105
116
  }
106
117
 
107
118
  static VALUE
108
- gdkwin_deiconify(VALUE self)
119
+ rg_deiconify(VALUE self)
109
120
  {
110
121
  gdk_window_deiconify(_SELF(self));
111
122
  return self;
112
123
  }
113
124
 
114
125
  static VALUE
115
- gdkwin_stick(VALUE self)
126
+ rg_stick(VALUE self)
116
127
  {
117
128
  gdk_window_stick(_SELF(self));
118
129
  return self;
119
130
  }
120
131
 
121
132
  static VALUE
122
- gdkwin_unstick(VALUE self)
133
+ rg_unstick(VALUE self)
123
134
  {
124
135
  gdk_window_unstick(_SELF(self));
125
136
  return self;
126
137
  }
127
138
 
128
139
  static VALUE
129
- gdkwin_maximize(VALUE self)
140
+ rg_maximize(VALUE self)
130
141
  {
131
142
  gdk_window_maximize(_SELF(self));
132
143
  return self;
133
144
  }
134
145
 
135
146
  static VALUE
136
- gdkwin_unmaximize(VALUE self)
147
+ rg_unmaximize(VALUE self)
137
148
  {
138
149
  gdk_window_unmaximize(_SELF(self));
139
150
  return self;
140
151
  }
141
152
  #if GTK_CHECK_VERSION(2,2,0)
142
153
  static VALUE
143
- gdkwin_fullscreen(VALUE self)
154
+ rg_fullscreen(VALUE self)
144
155
  {
145
156
  gdk_window_fullscreen(_SELF(self));
146
157
  return self;
147
158
  }
148
159
 
149
160
  static VALUE
150
- gdkwin_unfullscreen(VALUE self)
161
+ rg_unfullscreen(VALUE self)
151
162
  {
152
163
  gdk_window_unfullscreen(_SELF(self));
153
164
  return self;
@@ -155,14 +166,14 @@ gdkwin_unfullscreen(VALUE self)
155
166
  #endif
156
167
  #if GTK_CHECK_VERSION(2,4,0)
157
168
  static VALUE
158
- gdkwin_set_keep_above(VALUE self, VALUE setting)
169
+ rg_set_keep_above(VALUE self, VALUE setting)
159
170
  {
160
171
  gdk_window_set_keep_above(_SELF(self), RVAL2CBOOL(setting));
161
172
  return self;
162
173
  }
163
174
 
164
175
  static VALUE
165
- gdkwin_set_keep_below(VALUE self, VALUE setting)
176
+ rg_set_keep_below(VALUE self, VALUE setting)
166
177
  {
167
178
  gdk_window_set_keep_below(_SELF(self), RVAL2CBOOL(setting));
168
179
  return self;
@@ -170,28 +181,28 @@ gdkwin_set_keep_below(VALUE self, VALUE setting)
170
181
  #endif
171
182
 
172
183
  static VALUE
173
- gdkwin_move(VALUE self, VALUE x, VALUE y)
184
+ rg_move(VALUE self, VALUE x, VALUE y)
174
185
  {
175
186
  gdk_window_move(_SELF(self), NUM2INT(x), NUM2INT(y));
176
187
  return self;
177
188
  }
178
189
 
179
190
  static VALUE
180
- gdkwin_resize(VALUE self, VALUE w, VALUE h)
191
+ rg_resize(VALUE self, VALUE w, VALUE h)
181
192
  {
182
193
  gdk_window_resize(_SELF(self), NUM2INT(w), NUM2INT(h));
183
194
  return self;
184
195
  }
185
196
 
186
197
  static VALUE
187
- gdkwin_move_resize(VALUE self, VALUE x, VALUE y, VALUE w, VALUE h)
198
+ rg_move_resize(VALUE self, VALUE x, VALUE y, VALUE w, VALUE h)
188
199
  {
189
200
  gdk_window_move_resize(_SELF(self), NUM2INT(x), NUM2INT(y), NUM2INT(w), NUM2INT(h));
190
201
  return self;
191
202
  }
192
203
 
193
204
  static VALUE
194
- gdkwin_scroll(VALUE self, VALUE dx, VALUE dy)
205
+ rg_scroll(VALUE self, VALUE dx, VALUE dy)
195
206
  {
196
207
  gdk_window_scroll(_SELF(self), NUM2INT(dx), NUM2INT(dy));
197
208
  return self;
@@ -199,7 +210,7 @@ gdkwin_scroll(VALUE self, VALUE dx, VALUE dy)
199
210
 
200
211
  #if GTK_CHECK_VERSION(2,8,0)
201
212
  static VALUE
202
- gdkwin_move_region(VALUE self, VALUE region, VALUE dx, VALUE dy)
213
+ rg_move_region(VALUE self, VALUE region, VALUE dx, VALUE dy)
203
214
  {
204
215
  gdk_window_move_region(_SELF(self),
205
216
  (GdkRegion*)RVAL2BOXED(region, GDK_TYPE_REGION),
@@ -210,21 +221,21 @@ gdkwin_move_region(VALUE self, VALUE region, VALUE dx, VALUE dy)
210
221
  #endif
211
222
 
212
223
  static VALUE
213
- gdkwin_reparent(VALUE self, VALUE new_parent, VALUE x, VALUE y)
224
+ rg_reparent(VALUE self, VALUE new_parent, VALUE x, VALUE y)
214
225
  {
215
226
  gdk_window_reparent(_SELF(self), _SELF(new_parent), NUM2INT(x), NUM2INT(y));
216
227
  return self;
217
228
  }
218
229
 
219
230
  static VALUE
220
- gdkwin_clear(VALUE self)
231
+ rg_clear(VALUE self)
221
232
  {
222
233
  gdk_window_clear(_SELF(self));
223
234
  return self;
224
235
  }
225
236
 
226
237
  static VALUE
227
- gdkwin_clear_area(int argc, VALUE *argv, VALUE self)
238
+ rg_clear_area(int argc, VALUE *argv, VALUE self)
228
239
  {
229
240
  VALUE gen_expose, x, y, w, h;
230
241
  rb_scan_args(argc, argv, "41", &x, &y, &w, &h, &gen_expose);
@@ -239,40 +250,36 @@ gdkwin_clear_area(int argc, VALUE *argv, VALUE self)
239
250
  return self;
240
251
  }
241
252
 
242
- /* Obsolete
243
- #define gdk_window_copy_area()
244
- */
245
-
246
253
  static VALUE
247
- gdkwin_raise(VALUE self)
254
+ rg_raise(VALUE self)
248
255
  {
249
256
  gdk_window_raise(_SELF(self));
250
257
  return self;
251
258
  }
252
259
 
253
260
  static VALUE
254
- gdkwin_lower(VALUE self)
261
+ rg_lower(VALUE self)
255
262
  {
256
263
  gdk_window_lower(_SELF(self));
257
264
  return self;
258
265
  }
259
266
 
260
267
  static VALUE
261
- gdkwin_focus(VALUE self, VALUE timestamp)
268
+ rg_focus(VALUE self, VALUE timestamp)
262
269
  {
263
270
  gdk_window_focus(_SELF(self), NUM2UINT(timestamp));
264
271
  return self;
265
272
  }
266
273
 
267
274
  static VALUE
268
- gdkwin_register_dnd(VALUE self)
275
+ rg_register_dnd(VALUE self)
269
276
  {
270
277
  gdk_window_register_dnd(_SELF(self));
271
278
  return self;
272
279
  }
273
280
 
274
281
  static VALUE
275
- gdkwin_begin_resize_drag(VALUE self, VALUE edge, VALUE button, VALUE root_x, VALUE root_y, VALUE timestamp)
282
+ rg_begin_resize_drag(VALUE self, VALUE edge, VALUE button, VALUE root_x, VALUE root_y, VALUE timestamp)
276
283
  {
277
284
  gdk_window_begin_resize_drag(_SELF(self),
278
285
  RVAL2GENUM(edge, GDK_TYPE_WINDOW_EDGE),
@@ -283,7 +290,7 @@ gdkwin_begin_resize_drag(VALUE self, VALUE edge, VALUE button, VALUE root_x, VAL
283
290
  }
284
291
 
285
292
  static VALUE
286
- gdkwin_begin_move_drag(VALUE self, VALUE button, VALUE root_x, VALUE root_y, VALUE timestamp)
293
+ rg_begin_move_drag(VALUE self, VALUE button, VALUE root_x, VALUE root_y, VALUE timestamp)
287
294
  {
288
295
  gdk_window_begin_move_drag(_SELF(self), NUM2INT(button),
289
296
  NUM2INT(root_x), NUM2INT(root_y),
@@ -292,7 +299,7 @@ gdkwin_begin_move_drag(VALUE self, VALUE button, VALUE root_x, VALUE root_y, VAL
292
299
  }
293
300
 
294
301
  static VALUE
295
- gdkwin_s_constrain_size(VALUE self, VALUE geometry, VALUE flags, VALUE w, VALUE h)
302
+ rg_s_constrain_size(G_GNUC_UNUSED VALUE self, VALUE geometry, VALUE flags, VALUE w, VALUE h)
296
303
  {
297
304
  gint new_width, new_height;
298
305
  gdk_window_constrain_size((GdkGeometry*)RVAL2BOXED(geometry, GDK_TYPE_GEOMETRY),
@@ -303,7 +310,7 @@ gdkwin_s_constrain_size(VALUE self, VALUE geometry, VALUE flags, VALUE w, VALUE
303
310
 
304
311
  #if GTK_CHECK_VERSION(2, 12, 0)
305
312
  static VALUE
306
- gdkwin_beep(VALUE self)
313
+ rg_beep(VALUE self)
307
314
  {
308
315
  gdk_window_beep(_SELF(self));
309
316
  return self;
@@ -311,7 +318,7 @@ gdkwin_beep(VALUE self)
311
318
  #endif
312
319
 
313
320
  static VALUE
314
- gdkwin_begin_paint(VALUE self, VALUE area)
321
+ rg_begin_paint(VALUE self, VALUE area)
315
322
  {
316
323
  if (rb_obj_is_kind_of(area, GTYPE2CLASS(GDK_TYPE_RECTANGLE))){
317
324
  gdk_window_begin_paint_rect(_SELF(self),
@@ -324,14 +331,14 @@ gdkwin_begin_paint(VALUE self, VALUE area)
324
331
  }
325
332
 
326
333
  static VALUE
327
- gdkwin_end_paint(VALUE self)
334
+ rg_end_paint(VALUE self)
328
335
  {
329
336
  gdk_window_end_paint(_SELF(self));
330
337
  return self;
331
338
  }
332
339
 
333
340
  static VALUE
334
- gdkwin_invalidate(VALUE self, VALUE area, VALUE invalidate_children)
341
+ rg_invalidate(VALUE self, VALUE area, VALUE invalidate_children)
335
342
  {
336
343
  if (rb_obj_is_kind_of(area, GTYPE2CLASS(GDK_TYPE_REGION))){
337
344
  gdk_window_invalidate_region(_SELF(self),
@@ -355,7 +362,7 @@ invalidate_child_func_wrap(GdkWindow *window, VALUE func)
355
362
  typedef gboolean (*ChildFunc) (GdkWindow*, gpointer);
356
363
 
357
364
  static VALUE
358
- gdkwin_invalidate_maybe_recurse(VALUE self, VALUE region)
365
+ rg_invalidate_maybe_recurse(VALUE self, VALUE region)
359
366
  {
360
367
  VALUE func = (VALUE)NULL;
361
368
  if (rb_block_given_p()){
@@ -370,49 +377,49 @@ gdkwin_invalidate_maybe_recurse(VALUE self, VALUE region)
370
377
  }
371
378
 
372
379
  static VALUE
373
- gdkwin_get_update_area(VALUE self)
380
+ rg_update_area(VALUE self)
374
381
  {
375
382
  GdkRegion* ret = gdk_window_get_update_area(_SELF(self));
376
383
  return BOXED2RVAL(ret, GDK_TYPE_REGION);
377
384
  }
378
385
 
379
386
  static VALUE
380
- gdkwin_freeze_updates(VALUE self)
387
+ rg_freeze_updates(VALUE self)
381
388
  {
382
389
  gdk_window_freeze_updates(_SELF(self));
383
390
  return self;
384
391
  }
385
392
 
386
393
  static VALUE
387
- gdkwin_thaw_updates(VALUE self)
394
+ rg_thaw_updates(VALUE self)
388
395
  {
389
396
  gdk_window_thaw_updates(_SELF(self));
390
397
  return self;
391
398
  }
392
399
 
393
400
  static VALUE
394
- gdkwin_s_process_all_updates(VALUE self)
401
+ rg_s_process_all_updates(VALUE self)
395
402
  {
396
403
  gdk_window_process_all_updates();
397
404
  return self;
398
405
  }
399
406
 
400
407
  static VALUE
401
- gdkwin_process_updates(VALUE self, VALUE update_children)
408
+ rg_process_updates(VALUE self, VALUE update_children)
402
409
  {
403
410
  gdk_window_process_updates(_SELF(self), RVAL2CBOOL(update_children));
404
411
  return self;
405
412
  }
406
413
 
407
414
  static VALUE
408
- gdkwin_s_set_debug_updates(VALUE self, VALUE setting)
415
+ rg_s_set_debug_updates(VALUE self, VALUE setting)
409
416
  {
410
417
  gdk_window_set_debug_updates(RVAL2CBOOL(setting));
411
418
  return self;
412
419
  }
413
420
 
414
421
  static VALUE
415
- gdkwin_get_internal_paint_info(VALUE self)
422
+ rg_internal_paint_info(VALUE self)
416
423
  {
417
424
  GdkDrawable* real_drawable;
418
425
  gint x_offset, y_offset;
@@ -425,33 +432,33 @@ gdkwin_get_internal_paint_info(VALUE self)
425
432
 
426
433
  #if GTK_CHECK_VERSION(2,6,0)
427
434
  static VALUE
428
- gdkwin_configure_finished(VALUE self)
435
+ rg_configure_finished(VALUE self)
429
436
  {
430
437
  gdk_window_configure_finished(_SELF(self));
431
438
  return self;
432
439
  }
433
440
 
434
441
  static VALUE
435
- gdkwin_enable_synchronized_configure(VALUE self)
442
+ rg_enable_synchronized_configure(VALUE self)
436
443
  {
437
444
  gdk_window_enable_synchronized_configure(_SELF(self));
438
445
 
439
446
  if (rb_block_given_p()) {
440
- rb_ensure(rb_yield, self, gdkwin_configure_finished, self);
447
+ rb_ensure(rb_yield, self, rg_configure_finished, self);
441
448
  }
442
449
  return self;
443
450
  }
444
451
  #endif
445
452
 
446
453
  static VALUE
447
- gdkwin_set_user_data(VALUE self, VALUE user_data)
454
+ rg_set_user_data(VALUE self, VALUE user_data)
448
455
  {
449
456
  gdk_window_set_user_data(_SELF(self), (gpointer)RVAL2GOBJ(user_data));
450
457
  return self;
451
458
  }
452
459
 
453
460
  static VALUE
454
- gdkwin_set_override_redirect(VALUE self, VALUE override_redirect)
461
+ rg_set_override_redirect(VALUE self, VALUE override_redirect)
455
462
  {
456
463
  gdk_window_set_override_redirect(_SELF(self),
457
464
  RVAL2CBOOL(override_redirect));
@@ -460,7 +467,7 @@ gdkwin_set_override_redirect(VALUE self, VALUE override_redirect)
460
467
 
461
468
  #if GTK_CHECK_VERSION(2,4,0)
462
469
  static VALUE
463
- gdkwin_set_accept_focus(VALUE self, VALUE accept_focus)
470
+ rg_set_accept_focus(VALUE self, VALUE accept_focus)
464
471
  {
465
472
  gdk_window_set_accept_focus(_SELF(self), RVAL2CBOOL(accept_focus));
466
473
  return self;
@@ -469,7 +476,7 @@ gdkwin_set_accept_focus(VALUE self, VALUE accept_focus)
469
476
 
470
477
  #if GTK_CHECK_VERSION(2,6,0)
471
478
  static VALUE
472
- gdkwin_set_focus_on_map(VALUE self, VALUE focus_on_map)
479
+ rg_set_focus_on_map(VALUE self, VALUE focus_on_map)
473
480
  {
474
481
  gdk_window_set_focus_on_map(_SELF(self), RVAL2CBOOL(focus_on_map));
475
482
  return self;
@@ -489,7 +496,7 @@ gdkwin_set_focus_on_map(VALUE self, VALUE focus_on_map)
489
496
  */
490
497
 
491
498
  static VALUE
492
- gdkwin_shape_combine_mask(VALUE self, VALUE shape_mask, VALUE offset_x, VALUE offset_y)
499
+ rg_shape_combine_mask(VALUE self, VALUE shape_mask, VALUE offset_x, VALUE offset_y)
493
500
  {
494
501
  gdk_window_shape_combine_mask(_SELF(self),
495
502
  GDK_BITMAP(RVAL2GOBJ(shape_mask)),
@@ -498,7 +505,7 @@ gdkwin_shape_combine_mask(VALUE self, VALUE shape_mask, VALUE offset_x, VALUE of
498
505
  }
499
506
 
500
507
  static VALUE
501
- gdkwin_shape_combine_region(VALUE self, VALUE shape_region, VALUE offset_x, VALUE offset_y)
508
+ rg_shape_combine_region(VALUE self, VALUE shape_region, VALUE offset_x, VALUE offset_y)
502
509
  {
503
510
  gdk_window_shape_combine_region(_SELF(self),
504
511
  NIL_P(shape_region) ? NULL : (GdkRegion*)RVAL2BOXED(shape_region, GDK_TYPE_REGION),
@@ -507,14 +514,14 @@ gdkwin_shape_combine_region(VALUE self, VALUE shape_region, VALUE offset_x, VALU
507
514
  }
508
515
 
509
516
  static VALUE
510
- gdkwin_set_child_shapes(VALUE self)
517
+ rg_set_child_shapes(VALUE self)
511
518
  {
512
519
  gdk_window_set_child_shapes(_SELF(self));
513
520
  return self;
514
521
  }
515
522
 
516
523
  static VALUE
517
- gdkwin_merge_child_shapes(VALUE self)
524
+ rg_merge_child_shapes(VALUE self)
518
525
  {
519
526
  gdk_window_merge_child_shapes(_SELF(self));
520
527
  return self;
@@ -522,7 +529,7 @@ gdkwin_merge_child_shapes(VALUE self)
522
529
 
523
530
  #if GTK_CHECK_VERSION(2,10,0)
524
531
  static VALUE
525
- gdkwin_input_shape_combine_mask(VALUE self, VALUE mask, VALUE x, VALUE y)
532
+ rg_input_shape_combine_mask(VALUE self, VALUE mask, VALUE x, VALUE y)
526
533
  {
527
534
  gdk_window_input_shape_combine_mask(_SELF(self),
528
535
  GDK_BITMAP(RVAL2GOBJ(mask)),
@@ -531,7 +538,7 @@ gdkwin_input_shape_combine_mask(VALUE self, VALUE mask, VALUE x, VALUE y)
531
538
  }
532
539
 
533
540
  static VALUE
534
- gdkwin_input_shape_combine_region(VALUE self, VALUE shape_region, VALUE offset_x, VALUE offset_y)
541
+ rg_input_shape_combine_region(VALUE self, VALUE shape_region, VALUE offset_x, VALUE offset_y)
535
542
  {
536
543
  gdk_window_input_shape_combine_region(_SELF(self),
537
544
  (GdkRegion*)RVAL2BOXED(shape_region, GDK_TYPE_REGION),
@@ -541,14 +548,14 @@ gdkwin_input_shape_combine_region(VALUE self, VALUE shape_region, VALUE offset_x
541
548
  }
542
549
 
543
550
  static VALUE
544
- gdkwin_set_child_input_shapes(VALUE self)
551
+ rg_set_child_input_shapes(VALUE self)
545
552
  {
546
553
  gdk_window_set_child_input_shapes(_SELF(self));
547
554
  return self;
548
555
  }
549
556
 
550
557
  static VALUE
551
- gdkwin_merge_child_input_shapes(VALUE self)
558
+ rg_merge_child_input_shapes(VALUE self)
552
559
  {
553
560
  gdk_window_merge_child_input_shapes(_SELF(self));
554
561
  return self;
@@ -557,7 +564,7 @@ gdkwin_merge_child_input_shapes(VALUE self)
557
564
  #endif
558
565
 
559
566
  static VALUE
560
- gdkwin_set_static_gravities(VALUE self, VALUE use_static)
567
+ rg_set_static_gravities(VALUE self, VALUE use_static)
561
568
  {
562
569
  gboolean ret = gdk_window_set_static_gravities(_SELF(self),
563
570
  RVAL2CBOOL(use_static));
@@ -567,26 +574,22 @@ gdkwin_set_static_gravities(VALUE self, VALUE use_static)
567
574
  return self;
568
575
  }
569
576
 
570
- /* Obsoleted.
571
- void gdk_window_set_hints (GdkWindow *window,
572
- */
573
-
574
577
  static VALUE
575
- gdkwin_set_title(VALUE self, VALUE title)
578
+ rg_set_title(VALUE self, VALUE title)
576
579
  {
577
580
  gdk_window_set_title(_SELF(self),RVAL2CSTR(title));
578
581
  return self;
579
582
  }
580
583
 
581
584
  static VALUE
582
- gdkwin_set_background(VALUE self, VALUE color)
585
+ rg_set_background(VALUE self, VALUE color)
583
586
  {
584
587
  gdk_window_set_background(_SELF(self), RVAL2GDKCOLOR(color));
585
588
  return self;
586
589
  }
587
590
 
588
591
  static VALUE
589
- gdkwin_set_back_pixmap(VALUE self, VALUE pixmap, VALUE parent_relative)
592
+ rg_set_back_pixmap(VALUE self, VALUE pixmap, VALUE parent_relative)
590
593
  {
591
594
  gdk_window_set_back_pixmap(_SELF(self),
592
595
  GDK_PIXMAP(RVAL2GOBJ(pixmap)),
@@ -594,19 +597,8 @@ gdkwin_set_back_pixmap(VALUE self, VALUE pixmap, VALUE parent_relative)
594
597
  return self;
595
598
  }
596
599
 
597
- /* Properties:
598
- *
599
- * void gdk_window_set_cursor (GdkWindow *window,
600
- * GdkCursor *cursor);
601
- * GdkCursor * gdk_window_get_cursor (GdkWindow *window);
602
- */
603
-
604
- /* Obsolete
605
- #define gdk_window_set_colormap
606
- */
607
-
608
600
  static VALUE
609
- gdkwin_get_user_data(VALUE self)
601
+ rg_user_data(VALUE self)
610
602
  {
611
603
  GObject *data = NULL;
612
604
  gdk_window_get_user_data(_SELF(self), (gpointer)&data);
@@ -614,7 +606,7 @@ gdkwin_get_user_data(VALUE self)
614
606
  }
615
607
 
616
608
  static VALUE
617
- gdkwin_get_geometry(VALUE self)
609
+ rg_geometry(VALUE self)
618
610
  {
619
611
  gint x, y, w, h, d;
620
612
  gdk_window_get_geometry(_SELF(self), &x, &y, &w, &h, &d);
@@ -623,7 +615,7 @@ gdkwin_get_geometry(VALUE self)
623
615
  }
624
616
 
625
617
  static VALUE
626
- gdkwin_set_geometry_hints(VALUE self, VALUE geometry, VALUE geom_mask)
618
+ rg_set_geometry_hints(VALUE self, VALUE geometry, VALUE geom_mask)
627
619
  {
628
620
  gdk_window_set_geometry_hints(_SELF(self),
629
621
  NIL_P(geometry) ? (GdkGeometry*)NULL : (GdkGeometry*)RVAL2BOXED(geometry, GDK_TYPE_GEOMETRY),
@@ -632,29 +624,27 @@ gdkwin_set_geometry_hints(VALUE self, VALUE geometry, VALUE geom_mask)
632
624
  }
633
625
 
634
626
  static VALUE
635
- gdkwin_set_icon_list(VALUE self, VALUE pixbufs)
627
+ rg_set_icon_list(VALUE self, VALUE rbpixbufs)
636
628
  {
637
- int i;
638
- GList *glist = NULL;
629
+ GdkWindow *window = _SELF(self);
630
+ GList *pixbufs = RVAL2GDKPIXBUFGLIST(rbpixbufs);
639
631
 
640
- Check_Type(pixbufs, T_ARRAY);
641
- for (i = 0; i < RARRAY_LEN(pixbufs); i++) {
642
- glist = g_list_append(glist, GDK_PIXBUF(RVAL2GOBJ(RARRAY_PTR(pixbufs)[i])));
643
- }
632
+ gdk_window_set_icon_list(window, pixbufs);
633
+
634
+ g_list_free(pixbufs);
644
635
 
645
- gdk_window_set_icon_list(_SELF(self), glist);
646
636
  return self;
647
637
  }
648
638
 
649
639
  static VALUE
650
- gdkwin_set_modal_hint(VALUE self, VALUE modal)
640
+ rg_set_modal_hint(VALUE self, VALUE modal)
651
641
  {
652
642
  gdk_window_set_modal_hint(_SELF(self), RVAL2CBOOL(modal));
653
643
  return self;
654
644
  }
655
645
 
656
646
  static VALUE
657
- gdkwin_set_type_hint(VALUE self, VALUE hint)
647
+ rg_set_type_hint(VALUE self, VALUE hint)
658
648
  {
659
649
  gdk_window_set_type_hint(_SELF(self), RVAL2GENUM(hint, GDK_TYPE_WINDOW_TYPE_HINT));
660
650
  return self;
@@ -662,7 +652,7 @@ gdkwin_set_type_hint(VALUE self, VALUE hint)
662
652
 
663
653
  #if GTK_CHECK_VERSION(2,10,0)
664
654
  static VALUE
665
- gdkwin_get_type_hint(VALUE self)
655
+ rg_type_hint(VALUE self)
666
656
  {
667
657
  return GENUM2RVAL(gdk_window_get_type_hint(_SELF(self)), GDK_TYPE_WINDOW_TYPE_HINT);
668
658
  }
@@ -670,14 +660,14 @@ gdkwin_get_type_hint(VALUE self)
670
660
 
671
661
  #if GTK_CHECK_VERSION(2,2,0)
672
662
  static VALUE
673
- gdkwin_set_skip_taskbar_hint(VALUE self, VALUE hint)
663
+ rg_set_skip_taskbar_hint(VALUE self, VALUE hint)
674
664
  {
675
665
  gdk_window_set_skip_taskbar_hint(_SELF(self), RVAL2CBOOL(hint));
676
666
  return self;
677
667
  }
678
668
 
679
669
  static VALUE
680
- gdkwin_set_skip_pager_hint(VALUE self, VALUE hint)
670
+ rg_set_skip_pager_hint(VALUE self, VALUE hint)
681
671
  {
682
672
  gdk_window_set_skip_pager_hint(_SELF(self), RVAL2CBOOL(hint));
683
673
  return self;
@@ -686,7 +676,7 @@ gdkwin_set_skip_pager_hint(VALUE self, VALUE hint)
686
676
 
687
677
  #if GTK_CHECK_VERSION(2,8,0)
688
678
  static VALUE
689
- gdkwin_set_urgency_hint(VALUE self, VALUE hint)
679
+ rg_set_urgency_hint(VALUE self, VALUE hint)
690
680
  {
691
681
  gdk_window_set_urgency_hint(_SELF(self), RVAL2CBOOL(hint));
692
682
  return self;
@@ -694,7 +684,7 @@ gdkwin_set_urgency_hint(VALUE self, VALUE hint)
694
684
  #endif
695
685
 
696
686
  static VALUE
697
- gdkwin_get_position(VALUE self)
687
+ rg_position(VALUE self)
698
688
  {
699
689
  gint x, y;
700
690
  gdk_window_get_position(_SELF(self), &x, &y);
@@ -702,7 +692,7 @@ gdkwin_get_position(VALUE self)
702
692
  }
703
693
 
704
694
  static VALUE
705
- gdkwin_get_root_origin(VALUE self)
695
+ rg_root_origin(VALUE self)
706
696
  {
707
697
  int x, y;
708
698
  gdk_window_get_root_origin(_SELF(self), &x, &y);
@@ -710,37 +700,23 @@ gdkwin_get_root_origin(VALUE self)
710
700
  }
711
701
 
712
702
  static VALUE
713
- gdkwin_get_frame_extents(VALUE self)
703
+ rg_frame_extents(VALUE self)
714
704
  {
715
705
  GdkRectangle rect;
716
706
  gdk_window_get_frame_extents(_SELF(self), &rect);
717
707
  return BOXED2RVAL(&rect, GDK_TYPE_RECTANGLE);
718
708
  }
719
709
 
720
- /* Obsolete
721
- #define gdk_window_get_size
722
- #define gdk_window_get_visual
723
- #define gdk_window_get_colormap
724
- #define gdk_window_get_type
725
- */
726
-
727
710
  static VALUE
728
- gdkwin_get_origin(VALUE self)
711
+ rg_origin(VALUE self)
729
712
  {
730
713
  gint x, y;
731
714
  gdk_window_get_origin(_SELF(self), &x, &y);
732
715
  return rb_assoc_new(INT2NUM(x), INT2NUM(y));
733
716
  }
734
717
 
735
- /* Obsolete
736
- gboolean gdk_window_get_deskrelative_origin
737
- (GdkWindow *window,
738
- gint *x,
739
- gint *y);
740
- */
741
-
742
718
  static VALUE
743
- gdkwin_get_pointer(VALUE self)
719
+ rg_pointer(VALUE self)
744
720
  {
745
721
  gint x, y;
746
722
  GdkModifierType state;
@@ -749,19 +725,19 @@ gdkwin_get_pointer(VALUE self)
749
725
  }
750
726
 
751
727
  static VALUE
752
- gdkwin_get_parent(VALUE self)
728
+ rg_parent(VALUE self)
753
729
  {
754
730
  return GOBJ2RVAL(gdk_window_get_parent(_SELF(self)));
755
731
  }
756
732
 
757
733
  static VALUE
758
- gdkwin_get_toplevel(VALUE self)
734
+ rg_toplevel(VALUE self)
759
735
  {
760
736
  return GOBJ2RVAL(gdk_window_get_toplevel(_SELF(self)));
761
737
  }
762
738
 
763
739
  static VALUE
764
- gdkwin_get_children(VALUE self)
740
+ rg_children(VALUE self)
765
741
  {
766
742
  /* Don't use gdk_window_get_children() here */
767
743
  GList* list = gdk_window_peek_children(_SELF(self));
@@ -774,20 +750,20 @@ gdkwin_get_children(VALUE self)
774
750
  }
775
751
 
776
752
  static VALUE
777
- gdkwin_get_events(VALUE self)
753
+ rg_events(VALUE self)
778
754
  {
779
755
  return GFLAGS2RVAL(gdk_window_get_events(_SELF(self)), GDK_TYPE_EVENT_MASK);
780
756
  }
781
757
 
782
758
  static VALUE
783
- gdkwin_set_events(VALUE self, VALUE mask)
759
+ rg_set_events(VALUE self, VALUE mask)
784
760
  {
785
761
  gdk_window_set_events(_SELF(self), RVAL2GFLAGS(mask, GDK_TYPE_EVENT_MASK));
786
762
  return self;
787
763
  }
788
764
 
789
765
  static VALUE
790
- gdkwin_set_icon(VALUE self, VALUE icon, VALUE pixmap, VALUE mask)
766
+ rg_set_icon(VALUE self, VALUE icon, VALUE pixmap, VALUE mask)
791
767
  {
792
768
  gdk_window_set_icon(_SELF(self), NIL_P(icon) ? NULL :_SELF(icon),
793
769
  NIL_P(pixmap) ? NULL : GDK_PIXMAP(RVAL2GOBJ(pixmap)),
@@ -796,28 +772,28 @@ gdkwin_set_icon(VALUE self, VALUE icon, VALUE pixmap, VALUE mask)
796
772
  }
797
773
 
798
774
  static VALUE
799
- gdkwin_set_icon_name(VALUE self, VALUE name)
775
+ rg_set_icon_name(VALUE self, VALUE name)
800
776
  {
801
777
  gdk_window_set_icon_name(_SELF(self), RVAL2CSTR(name));
802
778
  return self;
803
779
  }
804
780
 
805
781
  static VALUE
806
- gdkwin_set_transient_for(VALUE self, VALUE parent)
782
+ rg_set_transient_for(VALUE self, VALUE parent)
807
783
  {
808
784
  gdk_window_set_transient_for(_SELF(self), _SELF(parent));
809
785
  return self;
810
786
  }
811
787
 
812
788
  static VALUE
813
- gdkwin_set_role(VALUE self, VALUE role)
789
+ rg_set_role(VALUE self, VALUE role)
814
790
  {
815
791
  gdk_window_set_role(_SELF(self), RVAL2CSTR(role));
816
792
  return self;
817
793
  }
818
794
 
819
795
  static VALUE
820
- gdkwin_set_group(VALUE self, VALUE leader)
796
+ rg_set_group(VALUE self, VALUE leader)
821
797
  {
822
798
  gdk_window_set_group(_SELF(self), _SELF(leader));
823
799
  return self;
@@ -825,21 +801,21 @@ gdkwin_set_group(VALUE self, VALUE leader)
825
801
 
826
802
  #if GTK_CHECK_VERSION(2,4,0)
827
803
  static VALUE
828
- gdkwin_get_group(VALUE self)
804
+ rg_group(VALUE self)
829
805
  {
830
806
  return GOBJ2RVAL(gdk_window_get_group(_SELF(self)));
831
807
  }
832
808
  #endif
833
809
 
834
810
  static VALUE
835
- gdkwin_set_decorations(VALUE self, VALUE decor)
811
+ rg_set_decorations(VALUE self, VALUE decor)
836
812
  {
837
813
  gdk_window_set_decorations(_SELF(self), RVAL2GFLAGS(decor, GDK_TYPE_WM_DECORATION));
838
814
  return self;
839
815
  }
840
816
 
841
817
  static VALUE
842
- gdkwin_get_decorations(VALUE self)
818
+ rg_decorations(VALUE self)
843
819
  {
844
820
  GdkWMDecoration decorations;
845
821
  gboolean ret = gdk_window_get_decorations(_SELF(self), &decorations);
@@ -847,7 +823,7 @@ gdkwin_get_decorations(VALUE self)
847
823
  }
848
824
 
849
825
  static VALUE
850
- gdkwin_set_functions(VALUE self, VALUE func)
826
+ rg_set_functions(VALUE self, VALUE func)
851
827
  {
852
828
  gdk_window_set_functions(_SELF(self), RVAL2GFLAGS(func, GDK_TYPE_WM_FUNCTION));
853
829
  return self;
@@ -855,21 +831,21 @@ gdkwin_set_functions(VALUE self, VALUE func)
855
831
 
856
832
  #if GTK_CHECK_VERSION(2, 12, 0)
857
833
  static VALUE
858
- gdkwin_set_composited(VALUE self, VALUE composited)
834
+ rg_set_composited(VALUE self, VALUE composited)
859
835
  {
860
836
  gdk_window_set_composited(_SELF(self), RVAL2CBOOL(composited));
861
837
  return self;
862
838
  }
863
839
 
864
840
  static VALUE
865
- gdkwin_set_opacity(VALUE self, VALUE opacity)
841
+ rg_set_opacity(VALUE self, VALUE opacity)
866
842
  {
867
843
  gdk_window_set_opacity(_SELF(self), NUM2DBL(opacity));
868
844
  return self;
869
845
  }
870
846
 
871
847
  static VALUE
872
- gdkwin_set_startup_id(VALUE self, VALUE startup_id)
848
+ rg_set_startup_id(VALUE self, VALUE startup_id)
873
849
  {
874
850
  gdk_window_set_startup_id(_SELF(self), RVAL2CSTR_ACCEPT_NIL(startup_id));
875
851
  return self;
@@ -877,13 +853,13 @@ gdkwin_set_startup_id(VALUE self, VALUE startup_id)
877
853
  #endif
878
854
 
879
855
  static VALUE
880
- gdkwin_s_get_toplevels(VALUE self)
856
+ rg_s_toplevels(G_GNUC_UNUSED VALUE self)
881
857
  {
882
858
  return GLIST2ARYF(gdk_window_get_toplevels());
883
859
  }
884
860
 
885
861
  static VALUE
886
- gdkwin_s_get_default_root_window(VALUE self)
862
+ rg_s_default_root_window(G_GNUC_UNUSED VALUE self)
887
863
  {
888
864
  return GOBJ2RVAL(gdk_get_default_root_window());
889
865
  }
@@ -894,27 +870,29 @@ GdkPointerHooks* gdk_set_pointer_hooks (const GdkPointerHooks *new_hooks);
894
870
 
895
871
  /* From X Window System Interaction */
896
872
  static VALUE
897
- gdkwin_foreign_new(int argc, VALUE *argv, VALUE self)
873
+ rg_s_foreign_new(int argc, VALUE *argv, G_GNUC_UNUSED VALUE self)
898
874
  {
899
875
  VALUE arg[2];
900
876
  GdkWindow * win = NULL;
901
-
877
+
902
878
  rb_scan_args(argc, argv, "11", &arg[0], &arg[1]);
903
879
 
904
880
  switch(argc)
905
881
  {
906
882
  case 1:
907
- win = gdk_window_foreign_new(RVAL2GDKNATIVEWINDOW(arg[0]));
908
- break;
883
+ win = gdk_window_foreign_new(RVAL2GDKNATIVEWINDOW(arg[0]));
884
+ break;
909
885
  case 2:
910
886
  #if GTK_CHECK_VERSION(2,2,0)
911
- win = gdk_window_foreign_new_for_display(RVAL2GOBJ(arg[0]),
887
+ win = gdk_window_foreign_new_for_display(RVAL2GOBJ(arg[0]),
912
888
  RVAL2GDKNATIVEWINDOW(arg[1]));
913
889
  #else
914
- win = gdk_window_foreign_new(NUM2UINT(arg[1]));
890
+ win = gdk_window_foreign_new(NUM2UINT(arg[1]));
915
891
  rb_warn("Not supported in GTK+-2.0.x.");
916
892
  #endif
917
- break;
893
+ break;
894
+ default:
895
+ break;
918
896
  }
919
897
  if (win == NULL)
920
898
  return Qnil;
@@ -924,26 +902,28 @@ gdkwin_foreign_new(int argc, VALUE *argv, VALUE self)
924
902
  }
925
903
 
926
904
  static VALUE
927
- gdkwin_lookup(int argc, VALUE *argv, VALUE self)
905
+ rg_s_lookup(int argc, VALUE *argv, G_GNUC_UNUSED VALUE self)
928
906
  {
929
907
  VALUE arg[2];
930
908
  GdkWindow * win = NULL;
931
-
909
+
932
910
  rb_scan_args(argc, argv, "11", &arg[0], &arg[1]);
933
911
 
934
912
  switch(argc)
935
913
  {
936
914
  case 1:
937
- win = gdk_window_lookup(RVAL2GDKNATIVEWINDOW(arg[0]));
938
- break;
915
+ win = gdk_window_lookup(RVAL2GDKNATIVEWINDOW(arg[0]));
916
+ break;
939
917
  case 2:
940
918
  #if GTK_CHECK_VERSION(2,2,0)
941
- win = gdk_window_lookup_for_display(RVAL2GOBJ(arg[0]), RVAL2GDKNATIVEWINDOW(arg[1]));
919
+ win = gdk_window_lookup_for_display(RVAL2GOBJ(arg[0]), RVAL2GDKNATIVEWINDOW(arg[1]));
942
920
  #else
943
- win = gdk_window_lookup(NUM2UINT(arg[1]));
921
+ win = gdk_window_lookup(NUM2UINT(arg[1]));
944
922
  rb_warn("Not supported in GTK+-2.0.x.");
945
923
  #endif
946
- break;
924
+ break;
925
+ default:
926
+ break;
947
927
  }
948
928
  if (win == NULL)
949
929
  return Qnil;
@@ -954,14 +934,14 @@ gdkwin_lookup(int argc, VALUE *argv, VALUE self)
954
934
 
955
935
  #ifdef GDK_WINDOWING_X11
956
936
  static VALUE
957
- gdkwin_get_server_time(VALUE self)
937
+ rg_server_time(VALUE self)
958
938
  {
959
939
  return UINT2NUM(gdk_x11_get_server_time(_SELF(self)));
960
940
  }
961
941
 
962
942
  #if GTK_CHECK_VERSION(2,6,0)
963
943
  static VALUE
964
- gdkwin_set_user_time(VALUE self, VALUE time)
944
+ rg_set_user_time(VALUE self, VALUE time)
965
945
  {
966
946
  gdk_x11_window_set_user_time(_SELF(self), NUM2UINT(time));
967
947
  return Qnil;
@@ -970,7 +950,7 @@ gdkwin_set_user_time(VALUE self, VALUE time)
970
950
 
971
951
  #if GTK_CHECK_VERSION(2,8,0)
972
952
  static VALUE
973
- gdkwin_move_to_current_desktop(VALUE self)
953
+ rg_move_to_current_desktop(VALUE self)
974
954
  {
975
955
  gdk_x11_window_move_to_current_desktop(_SELF(self));
976
956
  return self;
@@ -980,200 +960,200 @@ gdkwin_move_to_current_desktop(VALUE self)
980
960
  #endif
981
961
 
982
962
  void
983
- Init_gtk_gdk_window()
963
+ Init_gtk_gdk_window(VALUE mGdk)
984
964
  {
985
965
  GObjectClass *g_class;
986
- VALUE gdkWindow = G_DEF_CLASS(GDK_TYPE_WINDOW, "Window", mGdk);
966
+ VALUE RG_TARGET_NAMESPACE = G_DEF_CLASS(GDK_TYPE_WINDOW, "Window", mGdk);
987
967
 
988
968
  g_class = g_type_class_peek(GDK_TYPE_WINDOW);
989
969
 
990
- rb_define_method(gdkWindow, "initialize", gdkwin_initialize, 3);
991
- rb_define_method(gdkWindow, "destroy", gdkwin_destroy, 0);
992
- rb_define_method(gdkWindow, "window_type", gdkwin_get_window_type, 0);
993
- rb_define_singleton_method(gdkWindow, "at_pointer", gdkwin_s_at_pointer, 0);
994
- rb_define_singleton_method(gdkWindow, "constrain_size", gdkwin_s_constrain_size, 4);
995
- rb_define_singleton_method(gdkWindow, "process_all_updates", gdkwin_s_process_all_updates, 0);
996
- rb_define_singleton_method(gdkWindow, "set_debug_updates", gdkwin_s_set_debug_updates, 1);
997
- rb_define_method(gdkWindow, "show", gdkwin_show, 0);
998
- rb_define_method(gdkWindow, "show_unraised", gdkwin_show_unraised, 0);
999
- rb_define_method(gdkWindow, "hide", gdkwin_hide, 0);
1000
- rb_define_method(gdkWindow, "visible?", gdkwin_is_visible, 0);
1001
- rb_define_method(gdkWindow, "viewable?", gdkwin_is_viewable, 0);
1002
- rb_define_method(gdkWindow, "withdraw", gdkwin_withdraw, 0);
1003
- rb_define_method(gdkWindow, "state", gdkwin_get_state, 0);
1004
- rb_define_method(gdkWindow, "iconify", gdkwin_iconify, 0);
1005
- rb_define_method(gdkWindow, "deiconify", gdkwin_deiconify, 0);
1006
- rb_define_method(gdkWindow, "stick", gdkwin_stick, 0);
1007
- rb_define_method(gdkWindow, "unstick", gdkwin_unstick, 0);
1008
- rb_define_method(gdkWindow, "maximize", gdkwin_maximize, 0);
1009
- rb_define_method(gdkWindow, "unmaximize", gdkwin_unmaximize, 0);
970
+ RG_DEF_METHOD(initialize, 3);
971
+ RG_DEF_METHOD(destroy, 0);
972
+ RG_DEF_METHOD(window_type, 0);
973
+ RG_DEF_SMETHOD(at_pointer, 0);
974
+ RG_DEF_SMETHOD(constrain_size, 4);
975
+ RG_DEF_SMETHOD(process_all_updates, 0);
976
+ RG_DEF_SMETHOD(set_debug_updates, 1);
977
+ RG_DEF_METHOD(show, 0);
978
+ RG_DEF_METHOD(show_unraised, 0);
979
+ RG_DEF_METHOD(hide, 0);
980
+ RG_DEF_METHOD_P(visible, 0);
981
+ RG_DEF_METHOD_P(viewable, 0);
982
+ RG_DEF_METHOD(withdraw, 0);
983
+ RG_DEF_METHOD(state, 0);
984
+ RG_DEF_METHOD(iconify, 0);
985
+ RG_DEF_METHOD(deiconify, 0);
986
+ RG_DEF_METHOD(stick, 0);
987
+ RG_DEF_METHOD(unstick, 0);
988
+ RG_DEF_METHOD(maximize, 0);
989
+ RG_DEF_METHOD(unmaximize, 0);
1010
990
  #if GTK_CHECK_VERSION(2,2,0)
1011
- rb_define_method(gdkWindow, "fullscreen", gdkwin_fullscreen, 0);
1012
- rb_define_method(gdkWindow, "unfullscreen", gdkwin_unfullscreen, 0);
991
+ RG_DEF_METHOD(fullscreen, 0);
992
+ RG_DEF_METHOD(unfullscreen, 0);
1013
993
  #endif
1014
994
  #if GTK_CHECK_VERSION(2,4,0)
1015
- rb_define_method(gdkWindow, "set_keep_above", gdkwin_set_keep_above, 1);
1016
- rb_define_method(gdkWindow, "set_keep_below", gdkwin_set_keep_below, 1);
995
+ RG_DEF_METHOD(set_keep_above, 1);
996
+ RG_DEF_METHOD(set_keep_below, 1);
1017
997
  #endif
1018
- rb_define_method(gdkWindow, "move", gdkwin_move, 2);
1019
- rb_define_method(gdkWindow, "resize", gdkwin_resize, 2);
1020
- rb_define_method(gdkWindow, "move_resize", gdkwin_move_resize, 4);
1021
- rb_define_method(gdkWindow, "scroll", gdkwin_scroll, 2);
998
+ RG_DEF_METHOD(move, 2);
999
+ RG_DEF_METHOD(resize, 2);
1000
+ RG_DEF_METHOD(move_resize, 4);
1001
+ RG_DEF_METHOD(scroll, 2);
1022
1002
  #if GTK_CHECK_VERSION(2,8,0)
1023
- rb_define_method(gdkWindow, "move_region", gdkwin_move_region, 3);
1003
+ RG_DEF_METHOD(move_region, 3);
1024
1004
  #endif
1025
- rb_define_method(gdkWindow, "reparent", gdkwin_reparent, 3);
1026
- rb_define_method(gdkWindow, "clear", gdkwin_clear, 0);
1027
- rb_define_method(gdkWindow, "clear_area", gdkwin_clear_area, -1);
1028
- rb_define_method(gdkWindow, "raise", gdkwin_raise, 0);
1029
- rb_define_method(gdkWindow, "lower", gdkwin_lower, 0);
1030
- rb_define_method(gdkWindow, "focus", gdkwin_focus, 1);
1031
- rb_define_method(gdkWindow, "register_dnd", gdkwin_register_dnd, 0);
1005
+ RG_DEF_METHOD(reparent, 3);
1006
+ RG_DEF_METHOD(clear, 0);
1007
+ RG_DEF_METHOD(clear_area, -1);
1008
+ RG_DEF_METHOD(raise, 0);
1009
+ RG_DEF_METHOD(lower, 0);
1010
+ RG_DEF_METHOD(focus, 1);
1011
+ RG_DEF_METHOD(register_dnd, 0);
1032
1012
  #if GTK_CHECK_VERSION(2, 12, 0)
1033
- rb_define_method(gdkWindow, "beep", gdkwin_beep, 0);
1013
+ RG_DEF_METHOD(beep, 0);
1034
1014
  #endif
1035
- rb_define_method(gdkWindow, "begin_resize_drag", gdkwin_begin_resize_drag, 5);
1036
- rb_define_method(gdkWindow, "begin_move_drag", gdkwin_begin_move_drag, 4);
1037
- rb_define_method(gdkWindow, "begin_paint", gdkwin_begin_paint, 1);
1038
- rb_define_method(gdkWindow, "end_paint", gdkwin_end_paint, 0);
1039
- rb_define_method(gdkWindow, "invalidate", gdkwin_invalidate, 2);
1040
- rb_define_method(gdkWindow, "invalidate_maybe_recurse", gdkwin_invalidate_maybe_recurse, 1);
1041
- rb_define_method(gdkWindow, "update_area", gdkwin_get_update_area, 0);
1042
- rb_define_method(gdkWindow, "freeze_updates", gdkwin_freeze_updates, 0);
1043
- rb_define_method(gdkWindow, "thaw_updates", gdkwin_thaw_updates, 0);
1044
- rb_define_method(gdkWindow, "process_updates", gdkwin_process_updates, 1);
1045
- rb_define_method(gdkWindow, "internal_paint_info", gdkwin_get_internal_paint_info, 0);
1015
+ RG_DEF_METHOD(begin_resize_drag, 5);
1016
+ RG_DEF_METHOD(begin_move_drag, 4);
1017
+ RG_DEF_METHOD(begin_paint, 1);
1018
+ RG_DEF_METHOD(end_paint, 0);
1019
+ RG_DEF_METHOD(invalidate, 2);
1020
+ RG_DEF_METHOD(invalidate_maybe_recurse, 1);
1021
+ RG_DEF_METHOD(update_area, 0);
1022
+ RG_DEF_METHOD(freeze_updates, 0);
1023
+ RG_DEF_METHOD(thaw_updates, 0);
1024
+ RG_DEF_METHOD(process_updates, 1);
1025
+ RG_DEF_METHOD(internal_paint_info, 0);
1046
1026
  #if GTK_CHECK_VERSION(2,6,0)
1047
- rb_define_method(gdkWindow, "configure_finished", gdkwin_configure_finished, 0);
1048
- rb_define_method(gdkWindow, "enable_synchronized_configure", gdkwin_enable_synchronized_configure, 0);
1027
+ RG_DEF_METHOD(configure_finished, 0);
1028
+ RG_DEF_METHOD(enable_synchronized_configure, 0);
1049
1029
  #endif
1050
- rb_define_method(gdkWindow, "set_user_data", gdkwin_set_user_data, 1);
1051
- rb_define_method(gdkWindow, "set_override_redirect", gdkwin_set_override_redirect, 1);
1030
+ RG_DEF_METHOD(set_user_data, 1);
1031
+ RG_DEF_METHOD(set_override_redirect, 1);
1052
1032
  #if GTK_CHECK_VERSION(2,4,0)
1053
- rb_define_method(gdkWindow, "set_accept_focus", gdkwin_set_accept_focus, 1);
1033
+ RG_DEF_METHOD(set_accept_focus, 1);
1054
1034
  #endif
1055
1035
  #if GTK_CHECK_VERSION(2,6,0)
1056
- rb_define_method(gdkWindow, "set_focus_on_map", gdkwin_set_focus_on_map, 1);
1036
+ RG_DEF_METHOD(set_focus_on_map, 1);
1057
1037
  #endif
1058
- rb_define_method(gdkWindow, "shape_combine_mask", gdkwin_shape_combine_mask, 3);
1059
- rb_define_method(gdkWindow, "shape_combine_region", gdkwin_shape_combine_region, 3);
1060
- rb_define_method(gdkWindow, "set_child_shapes", gdkwin_set_child_shapes, 0);
1061
- rb_define_method(gdkWindow, "merge_child_shapes", gdkwin_merge_child_shapes, 0);
1038
+ RG_DEF_METHOD(shape_combine_mask, 3);
1039
+ RG_DEF_METHOD(shape_combine_region, 3);
1040
+ RG_DEF_METHOD(set_child_shapes, 0);
1041
+ RG_DEF_METHOD(merge_child_shapes, 0);
1062
1042
  #if GTK_CHECK_VERSION(2,10,0)
1063
- rb_define_method(gdkWindow, "input_shape_combine_mask", gdkwin_input_shape_combine_mask, 3);
1064
- rb_define_method(gdkWindow, "input_shape_combine_region", gdkwin_input_shape_combine_region, 3);
1065
- rb_define_method(gdkWindow, "set_child_input_shapes", gdkwin_set_child_input_shapes, 0);
1066
- rb_define_method(gdkWindow, "merge_child_input_shapes", gdkwin_merge_child_input_shapes, 0);
1043
+ RG_DEF_METHOD(input_shape_combine_mask, 3);
1044
+ RG_DEF_METHOD(input_shape_combine_region, 3);
1045
+ RG_DEF_METHOD(set_child_input_shapes, 0);
1046
+ RG_DEF_METHOD(merge_child_input_shapes, 0);
1067
1047
  #endif
1068
- rb_define_method(gdkWindow, "set_static_gravities", gdkwin_set_static_gravities, 1);
1069
- rb_define_method(gdkWindow, "set_title", gdkwin_set_title, 1);
1070
- rb_define_method(gdkWindow, "set_background", gdkwin_set_background, 1);
1071
- rb_define_method(gdkWindow, "set_back_pixmap", gdkwin_set_back_pixmap, 2);
1072
- rb_define_method(gdkWindow, "user_data", gdkwin_get_user_data, 0);
1073
- rb_define_method(gdkWindow, "geometry", gdkwin_get_geometry, 0);
1074
- rb_define_method(gdkWindow, "set_geometry_hints", gdkwin_set_geometry_hints, 2);
1075
- rb_define_method(gdkWindow, "set_icon_list", gdkwin_set_icon_list, 1);
1076
- rb_define_method(gdkWindow, "set_modal_hint", gdkwin_set_modal_hint, 1);
1077
- rb_define_method(gdkWindow, "set_type_hint", gdkwin_set_type_hint, 1);
1048
+ RG_DEF_METHOD(set_static_gravities, 1);
1049
+ RG_DEF_METHOD(set_title, 1);
1050
+ RG_DEF_METHOD(set_background, 1);
1051
+ RG_DEF_METHOD(set_back_pixmap, 2);
1052
+ RG_DEF_METHOD(user_data, 0);
1053
+ RG_DEF_METHOD(geometry, 0);
1054
+ RG_DEF_METHOD(set_geometry_hints, 2);
1055
+ RG_DEF_METHOD(set_icon_list, 1);
1056
+ RG_DEF_METHOD(set_modal_hint, 1);
1057
+ RG_DEF_METHOD(set_type_hint, 1);
1078
1058
  #if GTK_CHECK_VERSION(2,10,0)
1079
- rb_define_method(gdkWindow, "type_hint", gdkwin_get_type_hint, 0);
1059
+ RG_DEF_METHOD(type_hint, 0);
1080
1060
  #endif
1081
1061
 
1082
1062
  #if GTK_CHECK_VERSION(2,2,0)
1083
- rb_define_method(gdkWindow, "set_skip_taskbar_hint", gdkwin_set_skip_taskbar_hint, 1);
1084
- rb_define_method(gdkWindow, "set_skip_pager_hint", gdkwin_set_skip_pager_hint, 1);
1063
+ RG_DEF_METHOD(set_skip_taskbar_hint, 1);
1064
+ RG_DEF_METHOD(set_skip_pager_hint, 1);
1085
1065
  #endif
1086
1066
  #if GTK_CHECK_VERSION(2,8,0)
1087
- rb_define_method(gdkWindow, "set_urgency_hint", gdkwin_set_urgency_hint, 1);
1067
+ RG_DEF_METHOD(set_urgency_hint, 1);
1088
1068
  #endif
1089
- rb_define_method(gdkWindow, "position", gdkwin_get_position, 0);
1090
- rb_define_method(gdkWindow, "root_origin", gdkwin_get_root_origin, 0);
1091
- rb_define_method(gdkWindow, "frame_extents", gdkwin_get_frame_extents, 0);
1092
- rb_define_method(gdkWindow, "origin", gdkwin_get_origin, 0);
1093
- rb_define_method(gdkWindow, "pointer", gdkwin_get_pointer, 0);
1094
- rb_define_method(gdkWindow, "parent", gdkwin_get_parent, 0);
1095
- rb_define_method(gdkWindow, "toplevel", gdkwin_get_toplevel, 0);
1096
- rb_define_singleton_method(gdkWindow, "default_root_window", gdkwin_s_get_default_root_window, 0);
1097
- rb_define_method(gdkWindow, "children", gdkwin_get_children, 0);
1098
- rb_define_method(gdkWindow, "events", gdkwin_get_events, 0);
1099
- rb_define_method(gdkWindow, "set_events", gdkwin_set_events, 1);
1100
- rb_define_method(gdkWindow, "set_icon", gdkwin_set_icon, 3);
1101
- rb_define_method(gdkWindow, "set_icon_name", gdkwin_set_icon_name, 1);
1102
- rb_define_method(gdkWindow, "set_transient_for", gdkwin_set_transient_for, 1);
1103
- rb_define_method(gdkWindow, "set_role", gdkwin_set_role, 1);
1104
- rb_define_method(gdkWindow, "set_group", gdkwin_set_group, 1);
1069
+ RG_DEF_METHOD(position, 0);
1070
+ RG_DEF_METHOD(root_origin, 0);
1071
+ RG_DEF_METHOD(frame_extents, 0);
1072
+ RG_DEF_METHOD(origin, 0);
1073
+ RG_DEF_METHOD(pointer, 0);
1074
+ RG_DEF_METHOD(parent, 0);
1075
+ RG_DEF_METHOD(toplevel, 0);
1076
+ RG_DEF_SMETHOD(default_root_window, 0);
1077
+ RG_DEF_METHOD(children, 0);
1078
+ RG_DEF_METHOD(events, 0);
1079
+ RG_DEF_METHOD(set_events, 1);
1080
+ RG_DEF_METHOD(set_icon, 3);
1081
+ RG_DEF_METHOD(set_icon_name, 1);
1082
+ RG_DEF_METHOD(set_transient_for, 1);
1083
+ RG_DEF_METHOD(set_role, 1);
1084
+ RG_DEF_METHOD(set_group, 1);
1105
1085
  #if GTK_CHECK_VERSION(2,4,0)
1106
- rb_define_method(gdkWindow, "group", gdkwin_get_group, 0);
1086
+ RG_DEF_METHOD(group, 0);
1107
1087
  #endif
1108
- rb_define_method(gdkWindow, "set_decorations", gdkwin_set_decorations, 1);
1109
- rb_define_method(gdkWindow, "decorations", gdkwin_get_decorations, 0);
1110
- rb_define_method(gdkWindow, "set_functions", gdkwin_set_functions, 1);
1088
+ RG_DEF_METHOD(set_decorations, 1);
1089
+ RG_DEF_METHOD(decorations, 0);
1090
+ RG_DEF_METHOD(set_functions, 1);
1111
1091
  #if GTK_CHECK_VERSION(2, 12, 0)
1112
- rb_define_method(gdkWindow, "set_composited", gdkwin_set_composited, 1);
1113
- rb_define_method(gdkWindow, "set_opacity", gdkwin_set_opacity, 1);
1114
- rb_define_method(gdkWindow, "set_startup_id", gdkwin_set_startup_id, 1);
1092
+ RG_DEF_METHOD(set_composited, 1);
1093
+ RG_DEF_METHOD(set_opacity, 1);
1094
+ RG_DEF_METHOD(set_startup_id, 1);
1115
1095
  #endif
1116
- rb_define_singleton_method(gdkWindow, "toplevels", gdkwin_s_get_toplevels, 0);
1096
+ RG_DEF_SMETHOD(toplevels, 0);
1117
1097
 
1118
- rb_define_singleton_method(gdkWindow, "foreign_new", gdkwin_foreign_new, -1);
1119
- rb_define_singleton_method(gdkWindow, "lookup", gdkwin_lookup, -1);
1098
+ RG_DEF_SMETHOD(foreign_new, -1);
1099
+ RG_DEF_SMETHOD(lookup, -1);
1120
1100
 
1121
- G_DEF_SETTERS(gdkWindow);
1101
+ G_DEF_SETTERS(RG_TARGET_NAMESPACE);
1122
1102
 
1123
1103
  /* GdkWindowType */
1124
- G_DEF_CLASS(GDK_TYPE_WINDOW_TYPE, "Type", gdkWindow);
1125
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_WINDOW_TYPE, "GDK_WINDOW_");
1126
-
1104
+ G_DEF_CLASS(GDK_TYPE_WINDOW_TYPE, "Type", RG_TARGET_NAMESPACE);
1105
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_WINDOW_TYPE, "GDK_WINDOW_");
1106
+
1127
1107
  /* GdkWindowClass */
1128
- G_DEF_CLASS(GDK_TYPE_WINDOW_CLASS, "Class", gdkWindow);
1129
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_WINDOW_CLASS, "GDK_");
1108
+ G_DEF_CLASS(GDK_TYPE_WINDOW_CLASS, "Class", RG_TARGET_NAMESPACE);
1109
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_WINDOW_CLASS, "GDK_");
1130
1110
 
1131
1111
  /* GdkWindowHints */
1132
- G_DEF_CLASS(GDK_TYPE_WINDOW_HINTS, "Hints", gdkWindow);
1133
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_WINDOW_HINTS, "GDK_");
1112
+ G_DEF_CLASS(GDK_TYPE_WINDOW_HINTS, "Hints", RG_TARGET_NAMESPACE);
1113
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_WINDOW_HINTS, "GDK_");
1134
1114
 
1135
1115
  /* GdkGravity */
1136
- G_DEF_CLASS(GDK_TYPE_GRAVITY, "Gravity", gdkWindow);
1137
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_GRAVITY, "GDK_");
1116
+ G_DEF_CLASS(GDK_TYPE_GRAVITY, "Gravity", RG_TARGET_NAMESPACE);
1117
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_GRAVITY, "GDK_");
1138
1118
 
1139
1119
  /* GdkWindowEdge */
1140
- G_DEF_CLASS(GDK_TYPE_WINDOW_EDGE, "Edge", gdkWindow);
1141
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_WINDOW_EDGE, "GDK_WINDOW_");
1120
+ G_DEF_CLASS(GDK_TYPE_WINDOW_EDGE, "Edge", RG_TARGET_NAMESPACE);
1121
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_WINDOW_EDGE, "GDK_WINDOW_");
1142
1122
 
1143
1123
  /* GdkWindowTypeHint */
1144
- G_DEF_CLASS(GDK_TYPE_WINDOW_TYPE_HINT, "TypeHint", gdkWindow);
1145
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_WINDOW_TYPE_HINT, "GDK_WINDOW_");
1124
+ G_DEF_CLASS(GDK_TYPE_WINDOW_TYPE_HINT, "TypeHint", RG_TARGET_NAMESPACE);
1125
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_WINDOW_TYPE_HINT, "GDK_WINDOW_");
1146
1126
 
1147
1127
  /* GdkWindowAttibutesType */
1148
- G_DEF_CLASS(GDK_TYPE_WINDOW_ATTRIBUTES_TYPE, "AttributesType", gdkWindow);
1149
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_WINDOW_ATTRIBUTES_TYPE, "GDK_");
1128
+ G_DEF_CLASS(GDK_TYPE_WINDOW_ATTRIBUTES_TYPE, "AttributesType", RG_TARGET_NAMESPACE);
1129
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_WINDOW_ATTRIBUTES_TYPE, "GDK_");
1150
1130
 
1151
1131
  /* GdkFilterReturn */
1152
- G_DEF_CLASS(GDK_TYPE_FILTER_RETURN, "FilterReturn", gdkWindow);
1153
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_FILTER_RETURN, "GDK_");
1132
+ G_DEF_CLASS(GDK_TYPE_FILTER_RETURN, "FilterReturn", RG_TARGET_NAMESPACE);
1133
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_FILTER_RETURN, "GDK_");
1154
1134
 
1155
1135
  /* GdkModifierType */
1156
- G_DEF_CLASS(GDK_TYPE_MODIFIER_TYPE, "ModifierType", gdkWindow);
1157
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_MODIFIER_TYPE, "GDK_");
1158
-
1136
+ G_DEF_CLASS(GDK_TYPE_MODIFIER_TYPE, "ModifierType", RG_TARGET_NAMESPACE);
1137
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_MODIFIER_TYPE, "GDK_");
1138
+
1159
1139
  /* GdkWMDecoration */
1160
- G_DEF_CLASS(GDK_TYPE_WM_DECORATION, "WMDecoration", gdkWindow);
1161
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_WM_DECORATION, "GDK_");
1162
-
1140
+ G_DEF_CLASS(GDK_TYPE_WM_DECORATION, "WMDecoration", RG_TARGET_NAMESPACE);
1141
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_WM_DECORATION, "GDK_");
1142
+
1163
1143
  /* GdkWMFunction */
1164
- G_DEF_CLASS(GDK_TYPE_WM_FUNCTION, "WMFunction", gdkWindow);
1165
- G_DEF_CONSTANTS(gdkWindow, GDK_TYPE_WM_FUNCTION, "GDK_");
1144
+ G_DEF_CLASS(GDK_TYPE_WM_FUNCTION, "WMFunction", RG_TARGET_NAMESPACE);
1145
+ G_DEF_CONSTANTS(RG_TARGET_NAMESPACE, GDK_TYPE_WM_FUNCTION, "GDK_");
1166
1146
 
1167
- rb_define_const(gdkWindow, "PARENT_RELATIVE", INT2FIX(GDK_PARENT_RELATIVE));
1147
+ rb_define_const(RG_TARGET_NAMESPACE, "PARENT_RELATIVE", INT2FIX(GDK_PARENT_RELATIVE));
1168
1148
 
1169
1149
  #ifdef GDK_WINDOWING_X11
1170
- rb_define_method(gdkWindow, "server_time", gdkwin_get_server_time, 0);
1150
+ RG_DEF_METHOD(server_time, 0);
1171
1151
 
1172
1152
  #if GTK_CHECK_VERSION(2,6,0)
1173
- rb_define_method(gdkWindow, "set_user_time", gdkwin_set_user_time, 1);
1153
+ RG_DEF_METHOD(set_user_time, 1);
1174
1154
  #endif
1175
1155
  #if GTK_CHECK_VERSION(2,8,0)
1176
- rb_define_method(gdkWindow, "move_to_current_desktop", gdkwin_move_to_current_desktop, 0);
1156
+ RG_DEF_METHOD(move_to_current_desktop, 0);
1177
1157
  #endif
1178
1158
 
1179
1159
  G_DEF_CLASS3("GdkWindowImplX11", "WindowImplX11", mGdk);
@@ -1183,4 +1163,3 @@ Init_gtk_gdk_window()
1183
1163
  G_DEF_CLASS3("GdkWindowFB", "WindowFB", mGdk);
1184
1164
  #endif
1185
1165
  }
1186
-