gtk2 2.2.4-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1667) hide show
  1. checksums.yaml +7 -0
  2. data/README +33 -0
  3. data/Rakefile +62 -0
  4. data/ext/gtk2/depend +14 -0
  5. data/ext/gtk2/extconf.rb +129 -0
  6. data/ext/gtk2/global.h +295 -0
  7. data/ext/gtk2/gtk2.def +29 -0
  8. data/ext/gtk2/init.c +284 -0
  9. data/ext/gtk2/rbgdk.c +505 -0
  10. data/ext/gtk2/rbgdk.h +79 -0
  11. data/ext/gtk2/rbgdkatom.c +124 -0
  12. data/ext/gtk2/rbgdkcairo.c +89 -0
  13. data/ext/gtk2/rbgdkcolor.c +146 -0
  14. data/ext/gtk2/rbgdkcolormap.c +135 -0
  15. data/ext/gtk2/rbgdkconst.c +39 -0
  16. data/ext/gtk2/rbgdkconversions.h +31 -0
  17. data/ext/gtk2/rbgdkcursor.c +102 -0
  18. data/ext/gtk2/rbgdkdevice.c +229 -0
  19. data/ext/gtk2/rbgdkdisplay.c +553 -0
  20. data/ext/gtk2/rbgdkdisplaymanager.c +54 -0
  21. data/ext/gtk2/rbgdkdragcontext.c +291 -0
  22. data/ext/gtk2/rbgdkdraw.c +522 -0
  23. data/ext/gtk2/rbgdkevent.c +1291 -0
  24. data/ext/gtk2/rbgdkgc.c +423 -0
  25. data/ext/gtk2/rbgdkgeometry.c +256 -0
  26. data/ext/gtk2/rbgdkimage.c +152 -0
  27. data/ext/gtk2/rbgdkinput.c +72 -0
  28. data/ext/gtk2/rbgdkkeymap.c +155 -0
  29. data/ext/gtk2/rbgdkkeyval.c +108 -0
  30. data/ext/gtk2/rbgdkpango.c +183 -0
  31. data/ext/gtk2/rbgdkpangorenderer.c +143 -0
  32. data/ext/gtk2/rbgdkpixbuf.c +171 -0
  33. data/ext/gtk2/rbgdkpixmap.c +236 -0
  34. data/ext/gtk2/rbgdkproperty.c +288 -0
  35. data/ext/gtk2/rbgdkrectangle.c +142 -0
  36. data/ext/gtk2/rbgdkregion.c +289 -0
  37. data/ext/gtk2/rbgdkrgb.c +198 -0
  38. data/ext/gtk2/rbgdkscreen.c +422 -0
  39. data/ext/gtk2/rbgdkselection.c +147 -0
  40. data/ext/gtk2/rbgdkthreads.c +77 -0
  41. data/ext/gtk2/rbgdktimecoord.c +135 -0
  42. data/ext/gtk2/rbgdkvisual.c +252 -0
  43. data/ext/gtk2/rbgdkwindow.c +1113 -0
  44. data/ext/gtk2/rbgdkwindowattr.c +208 -0
  45. data/ext/gtk2/rbgdkx11.c +257 -0
  46. data/ext/gtk2/rbgtk.c +594 -0
  47. data/ext/gtk2/rbgtk.h +132 -0
  48. data/ext/gtk2/rbgtkaboutdialog.c +136 -0
  49. data/ext/gtk2/rbgtkaccelerator.c +81 -0
  50. data/ext/gtk2/rbgtkaccelgroup.c +200 -0
  51. data/ext/gtk2/rbgtkaccelgroupentry.c +94 -0
  52. data/ext/gtk2/rbgtkaccelkey.c +122 -0
  53. data/ext/gtk2/rbgtkaccellabel.c +55 -0
  54. data/ext/gtk2/rbgtkaccelmap.c +144 -0
  55. data/ext/gtk2/rbgtkaccessible.c +39 -0
  56. data/ext/gtk2/rbgtkaction.c +223 -0
  57. data/ext/gtk2/rbgtkactiongroup.c +468 -0
  58. data/ext/gtk2/rbgtkadjustment.c +72 -0
  59. data/ext/gtk2/rbgtkalignment.c +75 -0
  60. data/ext/gtk2/rbgtkallocation.c +168 -0
  61. data/ext/gtk2/rbgtkarrow.c +57 -0
  62. data/ext/gtk2/rbgtkaspectframe.c +56 -0
  63. data/ext/gtk2/rbgtkassistant.c +220 -0
  64. data/ext/gtk2/rbgtkbbox.c +53 -0
  65. data/ext/gtk2/rbgtkbin.c +42 -0
  66. data/ext/gtk2/rbgtkbindingset.c +189 -0
  67. data/ext/gtk2/rbgtkborder.c +87 -0
  68. data/ext/gtk2/rbgtkbox.c +138 -0
  69. data/ext/gtk2/rbgtkbuildable.c +127 -0
  70. data/ext/gtk2/rbgtkbuilder.c +170 -0
  71. data/ext/gtk2/rbgtkbutton.c +115 -0
  72. data/ext/gtk2/rbgtkcalendar.c +149 -0
  73. data/ext/gtk2/rbgtkcelleditable.c +57 -0
  74. data/ext/gtk2/rbgtkcelllayout.c +137 -0
  75. data/ext/gtk2/rbgtkcellrenderer.c +131 -0
  76. data/ext/gtk2/rbgtkcellrendereraccel.c +43 -0
  77. data/ext/gtk2/rbgtkcellrenderercombo.c +38 -0
  78. data/ext/gtk2/rbgtkcellrendererpixbuf.c +39 -0
  79. data/ext/gtk2/rbgtkcellrendererprogress.c +38 -0
  80. data/ext/gtk2/rbgtkcellrendererspin.c +39 -0
  81. data/ext/gtk2/rbgtkcellrendererspinner.c +44 -0
  82. data/ext/gtk2/rbgtkcellrenderertext.c +49 -0
  83. data/ext/gtk2/rbgtkcellrenderertoggle.c +39 -0
  84. data/ext/gtk2/rbgtkcellview.c +117 -0
  85. data/ext/gtk2/rbgtkcheckbutton.c +64 -0
  86. data/ext/gtk2/rbgtkcheckmenuitem.c +64 -0
  87. data/ext/gtk2/rbgtkclipboard.c +425 -0
  88. data/ext/gtk2/rbgtkcolorbutton.c +49 -0
  89. data/ext/gtk2/rbgtkcolorsel.c +211 -0
  90. data/ext/gtk2/rbgtkcolorselectiondialog.c +50 -0
  91. data/ext/gtk2/rbgtkcombo.c +119 -0
  92. data/ext/gtk2/rbgtkcombobox.c +151 -0
  93. data/ext/gtk2/rbgtkcomboboxentry.c +56 -0
  94. data/ext/gtk2/rbgtkconst.c +179 -0
  95. data/ext/gtk2/rbgtkcontainer.c +783 -0
  96. data/ext/gtk2/rbgtkconversions.h +39 -0
  97. data/ext/gtk2/rbgtkcurve.c +111 -0
  98. data/ext/gtk2/rbgtkdialog.c +268 -0
  99. data/ext/gtk2/rbgtkdrag.c +427 -0
  100. data/ext/gtk2/rbgtkdrawingarea.c +42 -0
  101. data/ext/gtk2/rbgtkeditable.c +151 -0
  102. data/ext/gtk2/rbgtkentry.c +113 -0
  103. data/ext/gtk2/rbgtkentrycompletion.c +128 -0
  104. data/ext/gtk2/rbgtkeventbox.c +42 -0
  105. data/ext/gtk2/rbgtkexpander.c +49 -0
  106. data/ext/gtk2/rbgtkfilechooser.c +311 -0
  107. data/ext/gtk2/rbgtkfilechooserbutton.c +57 -0
  108. data/ext/gtk2/rbgtkfilechooserdialog.c +59 -0
  109. data/ext/gtk2/rbgtkfilechooserwidget.c +52 -0
  110. data/ext/gtk2/rbgtkfilefilter.c +131 -0
  111. data/ext/gtk2/rbgtkfilesel.c +150 -0
  112. data/ext/gtk2/rbgtkfilesystemerror.c +49 -0
  113. data/ext/gtk2/rbgtkfixed.c +78 -0
  114. data/ext/gtk2/rbgtkfontbutton.c +49 -0
  115. data/ext/gtk2/rbgtkfontselection.c +41 -0
  116. data/ext/gtk2/rbgtkfontselectiondialog.c +106 -0
  117. data/ext/gtk2/rbgtkframe.c +69 -0
  118. data/ext/gtk2/rbgtkgamma.c +56 -0
  119. data/ext/gtk2/rbgtkhandlebox.c +45 -0
  120. data/ext/gtk2/rbgtkhbbox.c +42 -0
  121. data/ext/gtk2/rbgtkhbox.c +47 -0
  122. data/ext/gtk2/rbgtkhpaned.c +42 -0
  123. data/ext/gtk2/rbgtkhruler.c +42 -0
  124. data/ext/gtk2/rbgtkhscale.c +54 -0
  125. data/ext/gtk2/rbgtkhscrollbar.c +47 -0
  126. data/ext/gtk2/rbgtkhseparator.c +41 -0
  127. data/ext/gtk2/rbgtkiconfactory.c +86 -0
  128. data/ext/gtk2/rbgtkiconinfo.c +117 -0
  129. data/ext/gtk2/rbgtkiconset.c +91 -0
  130. data/ext/gtk2/rbgtkiconsize.c +93 -0
  131. data/ext/gtk2/rbgtkiconsource.c +171 -0
  132. data/ext/gtk2/rbgtkicontheme.c +273 -0
  133. data/ext/gtk2/rbgtkiconview.c +270 -0
  134. data/ext/gtk2/rbgtkimage.c +128 -0
  135. data/ext/gtk2/rbgtkimagemenuitem.c +61 -0
  136. data/ext/gtk2/rbgtkimcontext.c +135 -0
  137. data/ext/gtk2/rbgtkimcontextsimple.c +69 -0
  138. data/ext/gtk2/rbgtkimmulticontext.c +48 -0
  139. data/ext/gtk2/rbgtkinfobar.c +127 -0
  140. data/ext/gtk2/rbgtkinputdialog.c +41 -0
  141. data/ext/gtk2/rbgtkinvisible.c +49 -0
  142. data/ext/gtk2/rbgtkitem.c +60 -0
  143. data/ext/gtk2/rbgtkitemfactory.c +299 -0
  144. data/ext/gtk2/rbgtklabel.c +139 -0
  145. data/ext/gtk2/rbgtklayout.c +94 -0
  146. data/ext/gtk2/rbgtklinkbutton.c +65 -0
  147. data/ext/gtk2/rbgtkliststore.c +411 -0
  148. data/ext/gtk2/rbgtkmacros.h +39 -0
  149. data/ext/gtk2/rbgtkmenu.c +171 -0
  150. data/ext/gtk2/rbgtkmenubar.c +45 -0
  151. data/ext/gtk2/rbgtkmenuitem.c +111 -0
  152. data/ext/gtk2/rbgtkmenushell.c +108 -0
  153. data/ext/gtk2/rbgtkmenutoolbutton.c +74 -0
  154. data/ext/gtk2/rbgtkmessagedialog.c +89 -0
  155. data/ext/gtk2/rbgtkmisc.c +70 -0
  156. data/ext/gtk2/rbgtknotebook.c +412 -0
  157. data/ext/gtk2/rbgtkobject.c +144 -0
  158. data/ext/gtk2/rbgtkoptionmenu.c +72 -0
  159. data/ext/gtk2/rbgtkpagesetup.c +201 -0
  160. data/ext/gtk2/rbgtkpagesetupunixdialog.c +87 -0
  161. data/ext/gtk2/rbgtkpaned.c +114 -0
  162. data/ext/gtk2/rbgtkpapersize.c +186 -0
  163. data/ext/gtk2/rbgtkplug.c +91 -0
  164. data/ext/gtk2/rbgtkprintcontext.c +127 -0
  165. data/ext/gtk2/rbgtkprinter.c +154 -0
  166. data/ext/gtk2/rbgtkprintjob.c +149 -0
  167. data/ext/gtk2/rbgtkprintoperation.c +156 -0
  168. data/ext/gtk2/rbgtkprintoperationpreview.c +61 -0
  169. data/ext/gtk2/rbgtkprintsettings.c +842 -0
  170. data/ext/gtk2/rbgtkprintunixdialog.c +86 -0
  171. data/ext/gtk2/rbgtkprogress.c +31 -0
  172. data/ext/gtk2/rbgtkprogressbar.c +71 -0
  173. data/ext/gtk2/rbgtkradioaction.c +120 -0
  174. data/ext/gtk2/rbgtkradiobutton.c +90 -0
  175. data/ext/gtk2/rbgtkradiomenuitem.c +148 -0
  176. data/ext/gtk2/rbgtkradiotoolbutton.c +132 -0
  177. data/ext/gtk2/rbgtkrange.c +71 -0
  178. data/ext/gtk2/rbgtkrc.c +217 -0
  179. data/ext/gtk2/rbgtkrcstyle.c +182 -0
  180. data/ext/gtk2/rbgtkrecentaction.c +60 -0
  181. data/ext/gtk2/rbgtkrecentchooser.c +216 -0
  182. data/ext/gtk2/rbgtkrecentchooserdialog.c +62 -0
  183. data/ext/gtk2/rbgtkrecentchoosermenu.c +50 -0
  184. data/ext/gtk2/rbgtkrecentchooserwidget.c +48 -0
  185. data/ext/gtk2/rbgtkrecentdata.c +144 -0
  186. data/ext/gtk2/rbgtkrecentfilter.c +170 -0
  187. data/ext/gtk2/rbgtkrecentfilterinfo.c +181 -0
  188. data/ext/gtk2/rbgtkrecentinfo.c +216 -0
  189. data/ext/gtk2/rbgtkrecentmanager.c +149 -0
  190. data/ext/gtk2/rbgtkruler.c +71 -0
  191. data/ext/gtk2/rbgtkscale.c +50 -0
  192. data/ext/gtk2/rbgtkscalebutton.c +75 -0
  193. data/ext/gtk2/rbgtkscrollbar.c +31 -0
  194. data/ext/gtk2/rbgtkscrolledwindow.c +124 -0
  195. data/ext/gtk2/rbgtkselection.c +171 -0
  196. data/ext/gtk2/rbgtkselectiondata.c +284 -0
  197. data/ext/gtk2/rbgtkseparator.c +31 -0
  198. data/ext/gtk2/rbgtkseparatormenuitem.c +39 -0
  199. data/ext/gtk2/rbgtkseparatortoolitem.c +38 -0
  200. data/ext/gtk2/rbgtksettings.c +229 -0
  201. data/ext/gtk2/rbgtksizegroup.c +68 -0
  202. data/ext/gtk2/rbgtksocket.c +80 -0
  203. data/ext/gtk2/rbgtkspinbutton.c +137 -0
  204. data/ext/gtk2/rbgtkspinner.c +61 -0
  205. data/ext/gtk2/rbgtkstatusbar.c +77 -0
  206. data/ext/gtk2/rbgtkstatusicon.c +90 -0
  207. data/ext/gtk2/rbgtkstock.c +230 -0
  208. data/ext/gtk2/rbgtkstyle.c +642 -0
  209. data/ext/gtk2/rbgtktable.c +177 -0
  210. data/ext/gtk2/rbgtktargetlist.c +125 -0
  211. data/ext/gtk2/rbgtktearoffmenuitem.c +41 -0
  212. data/ext/gtk2/rbgtktextappearance.c +172 -0
  213. data/ext/gtk2/rbgtktextattributes.c +203 -0
  214. data/ext/gtk2/rbgtktextbuffer.c +886 -0
  215. data/ext/gtk2/rbgtktextchild.c +55 -0
  216. data/ext/gtk2/rbgtktextiter.c +506 -0
  217. data/ext/gtk2/rbgtktextmark.c +76 -0
  218. data/ext/gtk2/rbgtktexttag.c +71 -0
  219. data/ext/gtk2/rbgtktexttagtable.c +97 -0
  220. data/ext/gtk2/rbgtktextview.c +326 -0
  221. data/ext/gtk2/rbgtktoggleaction.c +59 -0
  222. data/ext/gtk2/rbgtktogglebutton.c +88 -0
  223. data/ext/gtk2/rbgtktoggletoolbutton.c +54 -0
  224. data/ext/gtk2/rbgtktoolbar.c +315 -0
  225. data/ext/gtk2/rbgtktoolbutton.c +53 -0
  226. data/ext/gtk2/rbgtktoolitem.c +157 -0
  227. data/ext/gtk2/rbgtktooltip.c +82 -0
  228. data/ext/gtk2/rbgtktooltips.c +104 -0
  229. data/ext/gtk2/rbgtktreedragdest.c +28 -0
  230. data/ext/gtk2/rbgtktreedragsource.c +28 -0
  231. data/ext/gtk2/rbgtktreeiter.c +251 -0
  232. data/ext/gtk2/rbgtktreemodel.c +282 -0
  233. data/ext/gtk2/rbgtktreemodelfilter.c +198 -0
  234. data/ext/gtk2/rbgtktreemodelsort.c +112 -0
  235. data/ext/gtk2/rbgtktreepath.c +191 -0
  236. data/ext/gtk2/rbgtktreerowreference.c +171 -0
  237. data/ext/gtk2/rbgtktreeselection.c +213 -0
  238. data/ext/gtk2/rbgtktreesortable.c +123 -0
  239. data/ext/gtk2/rbgtktreestore.c +362 -0
  240. data/ext/gtk2/rbgtktreeview.c +746 -0
  241. data/ext/gtk2/rbgtktreeviewcolumn.c +289 -0
  242. data/ext/gtk2/rbgtkuimanager.c +189 -0
  243. data/ext/gtk2/rbgtkvbbox.c +42 -0
  244. data/ext/gtk2/rbgtkvbox.c +47 -0
  245. data/ext/gtk2/rbgtkviewport.c +44 -0
  246. data/ext/gtk2/rbgtkvolumebutton.c +47 -0
  247. data/ext/gtk2/rbgtkvpaned.c +42 -0
  248. data/ext/gtk2/rbgtkvruler.c +41 -0
  249. data/ext/gtk2/rbgtkvscale.c +54 -0
  250. data/ext/gtk2/rbgtkvscrollbar.c +47 -0
  251. data/ext/gtk2/rbgtkvseparator.c +41 -0
  252. data/ext/gtk2/rbgtkwidget.c +1223 -0
  253. data/ext/gtk2/rbgtkwindow.c +588 -0
  254. data/ext/gtk2/rbgtkwindowgroup.c +56 -0
  255. data/extconf.rb +49 -0
  256. data/lib/2.0/gtk2.so +0 -0
  257. data/lib/2.1/gtk2.so +0 -0
  258. data/lib/2.2/gtk2.so +0 -0
  259. data/lib/gtk2.rb +13 -0
  260. data/lib/gtk2/base.rb +105 -0
  261. data/sample/gtk-demo/README +7 -0
  262. data/sample/gtk-demo/alphatest.png +0 -0
  263. data/sample/gtk-demo/apple-red.png +0 -0
  264. data/sample/gtk-demo/appwindow.rb +233 -0
  265. data/sample/gtk-demo/background.jpg +0 -0
  266. data/sample/gtk-demo/builder.rb +51 -0
  267. data/sample/gtk-demo/button_box.rb +84 -0
  268. data/sample/gtk-demo/cairo-arc-negative.rb +41 -0
  269. data/sample/gtk-demo/cairo-arc.rb +41 -0
  270. data/sample/gtk-demo/cairo-clip-image.rb +51 -0
  271. data/sample/gtk-demo/cairo-clip-rectangle.rb +35 -0
  272. data/sample/gtk-demo/cairo-clip.rb +35 -0
  273. data/sample/gtk-demo/cairo-curve-rectangle.rb +76 -0
  274. data/sample/gtk-demo/cairo-curve-to.rb +43 -0
  275. data/sample/gtk-demo/cairo-dash.rb +39 -0
  276. data/sample/gtk-demo/cairo-fill-and-stroke.rb +32 -0
  277. data/sample/gtk-demo/cairo-fill-and-stroke2.rb +38 -0
  278. data/sample/gtk-demo/cairo-gradient.rb +35 -0
  279. data/sample/gtk-demo/cairo-image-pattern.rb +39 -0
  280. data/sample/gtk-demo/cairo-image.rb +49 -0
  281. data/sample/gtk-demo/cairo-line-cap.rb +53 -0
  282. data/sample/gtk-demo/cairo-line-join.rb +41 -0
  283. data/sample/gtk-demo/cairo-long-lines.rb +41 -0
  284. data/sample/gtk-demo/cairo-operator.rb +83 -0
  285. data/sample/gtk-demo/cairo-path.rb +28 -0
  286. data/sample/gtk-demo/cairo-pattern-fill.rb +88 -0
  287. data/sample/gtk-demo/cairo-self-intersect.rb +32 -0
  288. data/sample/gtk-demo/cairo-text-align-center.rb +45 -0
  289. data/sample/gtk-demo/cairo-text-extents.rb +46 -0
  290. data/sample/gtk-demo/cairo-text.rb +43 -0
  291. data/sample/gtk-demo/changedisplay.rb +408 -0
  292. data/sample/gtk-demo/clipboard.rb +72 -0
  293. data/sample/gtk-demo/colorsel.rb +84 -0
  294. data/sample/gtk-demo/common.rb +93 -0
  295. data/sample/gtk-demo/demo.ui +258 -0
  296. data/sample/gtk-demo/dialog.rb +137 -0
  297. data/sample/gtk-demo/drawingarea.rb +226 -0
  298. data/sample/gtk-demo/editable_cells.rb +172 -0
  299. data/sample/gtk-demo/entry_completion.rb +63 -0
  300. data/sample/gtk-demo/expander.rb +40 -0
  301. data/sample/gtk-demo/floppybuddy.gif +0 -0
  302. data/sample/gtk-demo/gnome-applets.png +0 -0
  303. data/sample/gtk-demo/gnome-calendar.png +0 -0
  304. data/sample/gtk-demo/gnome-foot.png +0 -0
  305. data/sample/gtk-demo/gnome-fs-directory.png +0 -0
  306. data/sample/gtk-demo/gnome-fs-regular.png +0 -0
  307. data/sample/gtk-demo/gnome-gimp.png +0 -0
  308. data/sample/gtk-demo/gnome-gmush.png +0 -0
  309. data/sample/gtk-demo/gnome-gsame.png +0 -0
  310. data/sample/gtk-demo/gnu-keys.png +0 -0
  311. data/sample/gtk-demo/gtk-logo-rgb.gif +0 -0
  312. data/sample/gtk-demo/hypertext.rb +211 -0
  313. data/sample/gtk-demo/iconview.rb +109 -0
  314. data/sample/gtk-demo/images.rb +197 -0
  315. data/sample/gtk-demo/item_factory.rb +94 -0
  316. data/sample/gtk-demo/list_store.rb +138 -0
  317. data/sample/gtk-demo/main.rb +386 -0
  318. data/sample/gtk-demo/menus.rb +172 -0
  319. data/sample/gtk-demo/panes.rb +156 -0
  320. data/sample/gtk-demo/pixbufs.rb +176 -0
  321. data/sample/gtk-demo/printing.rb +128 -0
  322. data/sample/gtk-demo/rotated_text.rb +84 -0
  323. data/sample/gtk-demo/ruby-gnome2-logo.png +0 -0
  324. data/sample/gtk-demo/sizegroup.rb +118 -0
  325. data/sample/gtk-demo/stock_browser.rb +235 -0
  326. data/sample/gtk-demo/textview.rb +436 -0
  327. data/sample/gtk-demo/tree_store.rb +270 -0
  328. data/sample/misc/aboutdialog.rb +42 -0
  329. data/sample/misc/aboutdialog2.rb +42 -0
  330. data/sample/misc/alpha-demo.rb +70 -0
  331. data/sample/misc/assistant.rb +347 -0
  332. data/sample/misc/bindings.rb +107 -0
  333. data/sample/misc/button.rb +69 -0
  334. data/sample/misc/button2.rb +28 -0
  335. data/sample/misc/buttonbox.rb +93 -0
  336. data/sample/misc/cairo-pong.rb +215 -0
  337. data/sample/misc/calendar.rb +62 -0
  338. data/sample/misc/checkbutton.rb +46 -0
  339. data/sample/misc/colorselection.rb +25 -0
  340. data/sample/misc/combo_check.rb +71 -0
  341. data/sample/misc/combobox.rb +86 -0
  342. data/sample/misc/composited-windows.rb +113 -0
  343. data/sample/misc/cursor.rb +32 -0
  344. data/sample/misc/dialog.rb +44 -0
  345. data/sample/misc/dialog2.rb +39 -0
  346. data/sample/misc/dnd.rb +65 -0
  347. data/sample/misc/dndtreeview.rb +56 -0
  348. data/sample/misc/drag-move.rb +131 -0
  349. data/sample/misc/drawing.rb +90 -0
  350. data/sample/misc/entry.rb +34 -0
  351. data/sample/misc/entrycompletion.rb +39 -0
  352. data/sample/misc/expander.rb +27 -0
  353. data/sample/misc/filechooser.rb +49 -0
  354. data/sample/misc/fileselection.rb +26 -0
  355. data/sample/misc/frame.rb +69 -0
  356. data/sample/misc/gc.rb +59 -0
  357. data/sample/misc/gdkscreen.rb +32 -0
  358. data/sample/misc/gnome-logo-icon.png +0 -0
  359. data/sample/misc/helloworld.rb +35 -0
  360. data/sample/misc/iconview.rb +38 -0
  361. data/sample/misc/image.rb +42 -0
  362. data/sample/misc/infobar.rb +24 -0
  363. data/sample/misc/itemfactory.rb +73 -0
  364. data/sample/misc/itemfactory2.rb +74 -0
  365. data/sample/misc/keyboard_grab.rb +29 -0
  366. data/sample/misc/label.rb +33 -0
  367. data/sample/misc/linkbutton.rb +42 -0
  368. data/sample/misc/listview.rb +92 -0
  369. data/sample/misc/menu.rb +81 -0
  370. data/sample/misc/misc_button.rb +59 -0
  371. data/sample/misc/mouse-gesture.rb +465 -0
  372. data/sample/misc/pangorenderer.rb +66 -0
  373. data/sample/misc/pointer_grab.rb +34 -0
  374. data/sample/misc/print.rb +247 -0
  375. data/sample/misc/properties.rb +85 -0
  376. data/sample/misc/radiobutton.rb +47 -0
  377. data/sample/misc/recentchooserdialog.rb +59 -0
  378. data/sample/misc/rgtk+cairo.rb +44 -0
  379. data/sample/misc/scalebutton.rb +25 -0
  380. data/sample/misc/settings.rb +41 -0
  381. data/sample/misc/statusicon.rb +123 -0
  382. data/sample/misc/stock.rb +36 -0
  383. data/sample/misc/style_property.rb +67 -0
  384. data/sample/misc/style_property.rc +19 -0
  385. data/sample/misc/t-gtkplug.rb +58 -0
  386. data/sample/misc/t-gtksocket.rb +65 -0
  387. data/sample/misc/test.xpm +92 -0
  388. data/sample/misc/textbuffer_serialize.rb +130 -0
  389. data/sample/misc/threads.rb +72 -0
  390. data/sample/misc/to_drawable.rb +42 -0
  391. data/sample/misc/togglebutton.rb +34 -0
  392. data/sample/misc/toolbar.rb +55 -0
  393. data/sample/misc/tooltips.rb +204 -0
  394. data/sample/misc/tree_combo.rb +85 -0
  395. data/sample/misc/tree_progress.rb +69 -0
  396. data/sample/misc/treemodelfilter.rb +55 -0
  397. data/sample/misc/treeview.rb +71 -0
  398. data/sample/misc/uimanager.rb +148 -0
  399. data/sample/misc/uimanager2.rb +91 -0
  400. data/sample/misc/uimanager2.xml +36 -0
  401. data/sample/misc/window.rb +24 -0
  402. data/sample/misc/xbm_cursor.rb +43 -0
  403. data/sample/testgtk/3DRings.xpm +116 -0
  404. data/sample/testgtk/FilesQueue.xpm +98 -0
  405. data/sample/testgtk/Modeller.xpm +117 -0
  406. data/sample/testgtk/README +14 -0
  407. data/sample/testgtk/button.rb +133 -0
  408. data/sample/testgtk/buttonbox.rb +108 -0
  409. data/sample/testgtk/check-n.xpm +21 -0
  410. data/sample/testgtk/check-y.xpm +21 -0
  411. data/sample/testgtk/checkbutton.rb +67 -0
  412. data/sample/testgtk/circles.xbm +46 -0
  413. data/sample/testgtk/colorselect.rb +33 -0
  414. data/sample/testgtk/dialog.rb +47 -0
  415. data/sample/testgtk/entry.rb +73 -0
  416. data/sample/testgtk/filesel.rb +67 -0
  417. data/sample/testgtk/fontselection.rb +56 -0
  418. data/sample/testgtk/gammacurve.rb +70 -0
  419. data/sample/testgtk/labels.rb +74 -0
  420. data/sample/testgtk/layout.rb +108 -0
  421. data/sample/testgtk/marble.xpm +408 -0
  422. data/sample/testgtk/menu.rb +79 -0
  423. data/sample/testgtk/notebook.rb +281 -0
  424. data/sample/testgtk/pixmap.rb +58 -0
  425. data/sample/testgtk/progressbar.rb +181 -0
  426. data/sample/testgtk/radiobutton.rb +61 -0
  427. data/sample/testgtk/range.rb +65 -0
  428. data/sample/testgtk/reparent.rb +91 -0
  429. data/sample/testgtk/rulers.rb +46 -0
  430. data/sample/testgtk/sample.rb +80 -0
  431. data/sample/testgtk/savedposition.rb +87 -0
  432. data/sample/testgtk/scrolledwindow.rb +67 -0
  433. data/sample/testgtk/shapedwindow.rb +99 -0
  434. data/sample/testgtk/spinbutton.rb +181 -0
  435. data/sample/testgtk/statusbar.rb +89 -0
  436. data/sample/testgtk/test.xpm +92 -0
  437. data/sample/testgtk/testgtk.rb +181 -0
  438. data/sample/testgtk/testgtkrc +146 -0
  439. data/sample/testgtk/testgtkrc2 +21 -0
  440. data/sample/testgtk/togglebutton.rb +53 -0
  441. data/sample/testgtk/toolbar.rb +82 -0
  442. data/sample/testgtk/tooltips.rb +41 -0
  443. data/sample/testgtk/wmhints.rb +40 -0
  444. data/test/gtk-test-utils.rb +15 -0
  445. data/test/run-test.rb +32 -0
  446. data/test/test_gc.rb +25 -0
  447. data/test/test_gdk.rb +18 -0
  448. data/test/test_gdk_color.rb +10 -0
  449. data/test/test_gdk_display.rb +37 -0
  450. data/test/test_gdk_event.rb +23 -0
  451. data/test/test_gdk_gc.rb +7 -0
  452. data/test/test_gdk_geometry.rb +24 -0
  453. data/test/test_gdk_keymap.rb +8 -0
  454. data/test/test_gdk_pango.rb +9 -0
  455. data/test/test_gdk_pixbuf.rb +34 -0
  456. data/test/test_gdk_rectangle.rb +24 -0
  457. data/test/test_gdk_selection_data.rb +17 -0
  458. data/test/test_gdk_window.rb +37 -0
  459. data/test/test_gdk_window_attribute.rb +9 -0
  460. data/test/test_gtk_about_dialog.rb +14 -0
  461. data/test/test_gtk_accel_group_entry.rb +24 -0
  462. data/test/test_gtk_accel_key.rb +24 -0
  463. data/test/test_gtk_allocation.rb +24 -0
  464. data/test/test_gtk_border.rb +24 -0
  465. data/test/test_gtk_buildable.rb +66 -0
  466. data/test/test_gtk_builder.rb +188 -0
  467. data/test/test_gtk_entry.rb +18 -0
  468. data/test/test_gtk_icon_theme.rb +35 -0
  469. data/test/test_gtk_image.rb +8 -0
  470. data/test/test_gtk_infobar.rb +29 -0
  471. data/test/test_gtk_list_store.rb +92 -0
  472. data/test/test_gtk_menu_item.rb +13 -0
  473. data/test/test_gtk_rc_style.rb +14 -0
  474. data/test/test_gtk_recent_data.rb +24 -0
  475. data/test/test_gtk_recent_filter_info.rb +26 -0
  476. data/test/test_gtk_tree_path.rb +20 -0
  477. data/test/test_gtk_unix_print.rb +14 -0
  478. data/test/test_gtk_widget.rb +32 -0
  479. data/vendor/local/bin/gtk-builder-convert +799 -0
  480. data/vendor/local/bin/gtk-demo.exe +0 -0
  481. data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
  482. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  483. data/vendor/local/bin/libgailutil-18.dll +0 -0
  484. data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
  485. data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
  486. data/vendor/local/etc/gtk-2.0/gtkrc +1 -0
  487. data/vendor/local/etc/gtk-2.0/im-multipress.conf +22 -0
  488. data/vendor/local/include/gail-1.0/gail/gailwidget.h +65 -0
  489. data/vendor/local/include/gail-1.0/libgail-util/gail-util.h +2 -0
  490. data/vendor/local/include/gail-1.0/libgail-util/gailmisc.h +82 -0
  491. data/vendor/local/include/gail-1.0/libgail-util/gailtextutil.h +87 -0
  492. data/vendor/local/include/gtk-2.0/gdk/gdk.h +241 -0
  493. data/vendor/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h +76 -0
  494. data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +59 -0
  495. data/vendor/local/include/gtk-2.0/gdk/gdkcolor.h +176 -0
  496. data/vendor/local/include/gtk-2.0/gdk/gdkcursor.h +168 -0
  497. data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +229 -0
  498. data/vendor/local/include/gtk-2.0/gdk/gdkdisplaymanager.h +67 -0
  499. data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +186 -0
  500. data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +436 -0
  501. data/vendor/local/include/gtk-2.0/gdk/gdkenumtypes.h +137 -0
  502. data/vendor/local/include/gtk-2.0/gdk/gdkevents.h +566 -0
  503. data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +138 -0
  504. data/vendor/local/include/gtk-2.0/gdk/gdkgc.h +298 -0
  505. data/vendor/local/include/gtk-2.0/gdk/gdki18n.h +59 -0
  506. data/vendor/local/include/gtk-2.0/gdk/gdkimage.h +145 -0
  507. data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +192 -0
  508. data/vendor/local/include/gtk-2.0/gdk/gdkkeys.h +134 -0
  509. data/vendor/local/include/gtk-2.0/gdk/gdkkeysyms-compat.h +2208 -0
  510. data/vendor/local/include/gtk-2.0/gdk/gdkkeysyms.h +2221 -0
  511. data/vendor/local/include/gtk-2.0/gdk/gdkpango.h +166 -0
  512. data/vendor/local/include/gtk-2.0/gdk/gdkpixbuf.h +115 -0
  513. data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +136 -0
  514. data/vendor/local/include/gtk-2.0/gdk/gdkprivate.h +60 -0
  515. data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +128 -0
  516. data/vendor/local/include/gtk-2.0/gdk/gdkregion.h +127 -0
  517. data/vendor/local/include/gtk-2.0/gdk/gdkrgb.h +149 -0
  518. data/vendor/local/include/gtk-2.0/gdk/gdkscreen.h +132 -0
  519. data/vendor/local/include/gtk-2.0/gdk/gdkselection.h +111 -0
  520. data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +64 -0
  521. data/vendor/local/include/gtk-2.0/gdk/gdktestutils.h +49 -0
  522. data/vendor/local/include/gtk-2.0/gdk/gdktypes.h +226 -0
  523. data/vendor/local/include/gtk-2.0/gdk/gdkvisual.h +147 -0
  524. data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +129 -0
  525. data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +743 -0
  526. data/vendor/local/include/gtk-2.0/gtk/gtk.h +248 -0
  527. data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +157 -0
  528. data/vendor/local/include/gtk-2.0/gtk/gtkaccelgroup.h +216 -0
  529. data/vendor/local/include/gtk-2.0/gtk/gtkaccellabel.h +114 -0
  530. data/vendor/local/include/gtk-2.0/gtk/gtkaccelmap.h +101 -0
  531. data/vendor/local/include/gtk-2.0/gtk/gtkaccessible.h +80 -0
  532. data/vendor/local/include/gtk-2.0/gtk/gtkaction.h +180 -0
  533. data/vendor/local/include/gtk-2.0/gtk/gtkactiongroup.h +184 -0
  534. data/vendor/local/include/gtk-2.0/gtk/gtkactivatable.h +88 -0
  535. data/vendor/local/include/gtk-2.0/gtk/gtkadjustment.h +121 -0
  536. data/vendor/local/include/gtk-2.0/gtk/gtkalignment.h +94 -0
  537. data/vendor/local/include/gtk-2.0/gtk/gtkarrow.h +77 -0
  538. data/vendor/local/include/gtk-2.0/gtk/gtkaspectframe.h +84 -0
  539. data/vendor/local/include/gtk-2.0/gtk/gtkassistant.h +176 -0
  540. data/vendor/local/include/gtk-2.0/gtk/gtkbbox.h +105 -0
  541. data/vendor/local/include/gtk-2.0/gtk/gtkbin.h +70 -0
  542. data/vendor/local/include/gtk-2.0/gtk/gtkbindings.h +158 -0
  543. data/vendor/local/include/gtk-2.0/gtk/gtkbox.h +159 -0
  544. data/vendor/local/include/gtk-2.0/gtk/gtkbuildable.h +176 -0
  545. data/vendor/local/include/gtk-2.0/gtk/gtkbuilder.h +143 -0
  546. data/vendor/local/include/gtk-2.0/gtk/gtkbutton.h +147 -0
  547. data/vendor/local/include/gtk-2.0/gtk/gtkcalendar.h +209 -0
  548. data/vendor/local/include/gtk-2.0/gtk/gtkcelleditable.h +64 -0
  549. data/vendor/local/include/gtk-2.0/gtk/gtkcelllayout.h +122 -0
  550. data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderer.h +195 -0
  551. data/vendor/local/include/gtk-2.0/gtk/gtkcellrendereraccel.h +92 -0
  552. data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderercombo.h +64 -0
  553. data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h +71 -0
  554. data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererprogress.h +74 -0
  555. data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererspin.h +57 -0
  556. data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererspinner.h +67 -0
  557. data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderertext.h +105 -0
  558. data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderertoggle.h +85 -0
  559. data/vendor/local/include/gtk-2.0/gtk/gtkcellview.h +81 -0
  560. data/vendor/local/include/gtk-2.0/gtk/gtkcheckbutton.h +82 -0
  561. data/vendor/local/include/gtk-2.0/gtk/gtkcheckmenuitem.h +102 -0
  562. data/vendor/local/include/gtk-2.0/gtk/gtkclipboard.h +157 -0
  563. data/vendor/local/include/gtk-2.0/gtk/gtkclist.h +792 -0
  564. data/vendor/local/include/gtk-2.0/gtk/gtkcolorbutton.h +103 -0
  565. data/vendor/local/include/gtk-2.0/gtk/gtkcolorsel.h +135 -0
  566. data/vendor/local/include/gtk-2.0/gtk/gtkcolorseldialog.h +82 -0
  567. data/vendor/local/include/gtk-2.0/gtk/gtkcombo.h +118 -0
  568. data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +153 -0
  569. data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +81 -0
  570. data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
  571. data/vendor/local/include/gtk-2.0/gtk/gtkcontainer.h +229 -0
  572. data/vendor/local/include/gtk-2.0/gtk/gtkctree.h +445 -0
  573. data/vendor/local/include/gtk-2.0/gtk/gtkcurve.h +106 -0
  574. data/vendor/local/include/gtk-2.0/gtk/gtkdebug.h +79 -0
  575. data/vendor/local/include/gtk-2.0/gtk/gtkdialog.h +186 -0
  576. data/vendor/local/include/gtk-2.0/gtk/gtkdnd.h +188 -0
  577. data/vendor/local/include/gtk-2.0/gtk/gtkdrawingarea.h +82 -0
  578. data/vendor/local/include/gtk-2.0/gtk/gtkeditable.h +117 -0
  579. data/vendor/local/include/gtk-2.0/gtk/gtkentry.h +334 -0
  580. data/vendor/local/include/gtk-2.0/gtk/gtkentrybuffer.h +133 -0
  581. data/vendor/local/include/gtk-2.0/gtk/gtkentrycompletion.h +132 -0
  582. data/vendor/local/include/gtk-2.0/gtk/gtkenums.h +584 -0
  583. data/vendor/local/include/gtk-2.0/gtk/gtkeventbox.h +71 -0
  584. data/vendor/local/include/gtk-2.0/gtk/gtkexpander.h +98 -0
  585. data/vendor/local/include/gtk-2.0/gtk/gtkfilechooser.h +264 -0
  586. data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h +92 -0
  587. data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserdialog.h +74 -0
  588. data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserwidget.h +67 -0
  589. data/vendor/local/include/gtk-2.0/gtk/gtkfilefilter.h +83 -0
  590. data/vendor/local/include/gtk-2.0/gtk/gtkfilesel.h +125 -0
  591. data/vendor/local/include/gtk-2.0/gtk/gtkfixed.h +90 -0
  592. data/vendor/local/include/gtk-2.0/gtk/gtkfontbutton.h +100 -0
  593. data/vendor/local/include/gtk-2.0/gtk/gtkfontsel.h +220 -0
  594. data/vendor/local/include/gtk-2.0/gtk/gtkframe.h +96 -0
  595. data/vendor/local/include/gtk-2.0/gtk/gtkgamma.h +82 -0
  596. data/vendor/local/include/gtk-2.0/gtk/gtkgc.h +49 -0
  597. data/vendor/local/include/gtk-2.0/gtk/gtkhandlebox.h +112 -0
  598. data/vendor/local/include/gtk-2.0/gtk/gtkhbbox.h +80 -0
  599. data/vendor/local/include/gtk-2.0/gtk/gtkhbox.h +68 -0
  600. data/vendor/local/include/gtk-2.0/gtk/gtkhpaned.h +65 -0
  601. data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +84 -0
  602. data/vendor/local/include/gtk-2.0/gtk/gtkhscale.h +71 -0
  603. data/vendor/local/include/gtk-2.0/gtk/gtkhscrollbar.h +70 -0
  604. data/vendor/local/include/gtk-2.0/gtk/gtkhseparator.h +68 -0
  605. data/vendor/local/include/gtk-2.0/gtk/gtkhsv.h +115 -0
  606. data/vendor/local/include/gtk-2.0/gtk/gtkiconfactory.h +189 -0
  607. data/vendor/local/include/gtk-2.0/gtk/gtkicontheme.h +198 -0
  608. data/vendor/local/include/gtk-2.0/gtk/gtkiconview.h +242 -0
  609. data/vendor/local/include/gtk-2.0/gtk/gtkimage.h +274 -0
  610. data/vendor/local/include/gtk-2.0/gtk/gtkimagemenuitem.h +86 -0
  611. data/vendor/local/include/gtk-2.0/gtk/gtkimcontext.h +132 -0
  612. data/vendor/local/include/gtk-2.0/gtk/gtkimcontextsimple.h +77 -0
  613. data/vendor/local/include/gtk-2.0/gtk/gtkimmodule.h +58 -0
  614. data/vendor/local/include/gtk-2.0/gtk/gtkimmulticontext.h +78 -0
  615. data/vendor/local/include/gtk-2.0/gtk/gtkinfobar.h +120 -0
  616. data/vendor/local/include/gtk-2.0/gtk/gtkinputdialog.h +100 -0
  617. data/vendor/local/include/gtk-2.0/gtk/gtkinvisible.h +78 -0
  618. data/vendor/local/include/gtk-2.0/gtk/gtkitem.h +81 -0
  619. data/vendor/local/include/gtk-2.0/gtk/gtkitemfactory.h +236 -0
  620. data/vendor/local/include/gtk-2.0/gtk/gtklabel.h +207 -0
  621. data/vendor/local/include/gtk-2.0/gtk/gtklayout.h +138 -0
  622. data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +91 -0
  623. data/vendor/local/include/gtk-2.0/gtk/gtklist.h +138 -0
  624. data/vendor/local/include/gtk-2.0/gtk/gtklistitem.h +91 -0
  625. data/vendor/local/include/gtk-2.0/gtk/gtkliststore.h +147 -0
  626. data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +233 -0
  627. data/vendor/local/include/gtk-2.0/gtk/gtkmarshal.h +283 -0
  628. data/vendor/local/include/gtk-2.0/gtk/gtkmenu.h +219 -0
  629. data/vendor/local/include/gtk-2.0/gtk/gtkmenubar.h +92 -0
  630. data/vendor/local/include/gtk-2.0/gtk/gtkmenuitem.h +145 -0
  631. data/vendor/local/include/gtk-2.0/gtk/gtkmenushell.h +141 -0
  632. data/vendor/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h +89 -0
  633. data/vendor/local/include/gtk-2.0/gtk/gtkmessagedialog.h +135 -0
  634. data/vendor/local/include/gtk-2.0/gtk/gtkmisc.h +85 -0
  635. data/vendor/local/include/gtk-2.0/gtk/gtkmodules.h +54 -0
  636. data/vendor/local/include/gtk-2.0/gtk/gtkmountoperation.h +83 -0
  637. data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +317 -0
  638. data/vendor/local/include/gtk-2.0/gtk/gtkobject.h +250 -0
  639. data/vendor/local/include/gtk-2.0/gtk/gtkoffscreenwindow.h +60 -0
  640. data/vendor/local/include/gtk-2.0/gtk/gtkoldeditable.h +126 -0
  641. data/vendor/local/include/gtk-2.0/gtk/gtkoptionmenu.h +88 -0
  642. data/vendor/local/include/gtk-2.0/gtk/gtkorientable.h +60 -0
  643. data/vendor/local/include/gtk-2.0/gtk/gtkpagesetup.h +108 -0
  644. data/vendor/local/include/gtk-2.0/gtk/gtkpaned.h +144 -0
  645. data/vendor/local/include/gtk-2.0/gtk/gtkpapersize.h +101 -0
  646. data/vendor/local/include/gtk-2.0/gtk/gtkpixmap.h +83 -0
  647. data/vendor/local/include/gtk-2.0/gtk/gtkplug.h +105 -0
  648. data/vendor/local/include/gtk-2.0/gtk/gtkpreview.h +137 -0
  649. data/vendor/local/include/gtk-2.0/gtk/gtkprintcontext.h +71 -0
  650. data/vendor/local/include/gtk-2.0/gtk/gtkprintoperation.h +207 -0
  651. data/vendor/local/include/gtk-2.0/gtk/gtkprintoperationpreview.h +80 -0
  652. data/vendor/local/include/gtk-2.0/gtk/gtkprintsettings.h +234 -0
  653. data/vendor/local/include/gtk-2.0/gtk/gtkprivate.h +157 -0
  654. data/vendor/local/include/gtk-2.0/gtk/gtkprogress.h +120 -0
  655. data/vendor/local/include/gtk-2.0/gtk/gtkprogressbar.h +172 -0
  656. data/vendor/local/include/gtk-2.0/gtk/gtkradioaction.h +90 -0
  657. data/vendor/local/include/gtk-2.0/gtk/gtkradiobutton.h +94 -0
  658. data/vendor/local/include/gtk-2.0/gtk/gtkradiomenuitem.h +94 -0
  659. data/vendor/local/include/gtk-2.0/gtk/gtkradiotoolbutton.h +74 -0
  660. data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +215 -0
  661. data/vendor/local/include/gtk-2.0/gtk/gtkrc.h +271 -0
  662. data/vendor/local/include/gtk-2.0/gtk/gtkrecentaction.h +74 -0
  663. data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooser.h +191 -0
  664. data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooserdialog.h +74 -0
  665. data/vendor/local/include/gtk-2.0/gtk/gtkrecentchoosermenu.h +74 -0
  666. data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooserwidget.h +64 -0
  667. data/vendor/local/include/gtk-2.0/gtk/gtkrecentfilter.h +94 -0
  668. data/vendor/local/include/gtk-2.0/gtk/gtkrecentmanager.h +216 -0
  669. data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +136 -0
  670. data/vendor/local/include/gtk-2.0/gtk/gtkscale.h +111 -0
  671. data/vendor/local/include/gtk-2.0/gtk/gtkscalebutton.h +112 -0
  672. data/vendor/local/include/gtk-2.0/gtk/gtkscrollbar.h +72 -0
  673. data/vendor/local/include/gtk-2.0/gtk/gtkscrolledwindow.h +136 -0
  674. data/vendor/local/include/gtk-2.0/gtk/gtkselection.h +221 -0
  675. data/vendor/local/include/gtk-2.0/gtk/gtkseparator.h +66 -0
  676. data/vendor/local/include/gtk-2.0/gtk/gtkseparatormenuitem.h +68 -0
  677. data/vendor/local/include/gtk-2.0/gtk/gtkseparatortoolitem.h +72 -0
  678. data/vendor/local/include/gtk-2.0/gtk/gtksettings.h +139 -0
  679. data/vendor/local/include/gtk-2.0/gtk/gtkshow.h +39 -0
  680. data/vendor/local/include/gtk-2.0/gtk/gtksignal.h +151 -0
  681. data/vendor/local/include/gtk-2.0/gtk/gtksizegroup.h +111 -0
  682. data/vendor/local/include/gtk-2.0/gtk/gtksocket.h +102 -0
  683. data/vendor/local/include/gtk-2.0/gtk/gtkspinbutton.h +196 -0
  684. data/vendor/local/include/gtk-2.0/gtk/gtkspinner.h +65 -0
  685. data/vendor/local/include/gtk-2.0/gtk/gtkstatusbar.h +117 -0
  686. data/vendor/local/include/gtk-2.0/gtk/gtkstatusicon.h +157 -0
  687. data/vendor/local/include/gtk-2.0/gtk/gtkstock.h +1016 -0
  688. data/vendor/local/include/gtk-2.0/gtk/gtkstyle.h +945 -0
  689. data/vendor/local/include/gtk-2.0/gtk/gtktable.h +151 -0
  690. data/vendor/local/include/gtk-2.0/gtk/gtktearoffmenuitem.h +75 -0
  691. data/vendor/local/include/gtk-2.0/gtk/gtktestutils.h +71 -0
  692. data/vendor/local/include/gtk-2.0/gtk/gtktext.h +217 -0
  693. data/vendor/local/include/gtk-2.0/gtk/gtktextbuffer.h +409 -0
  694. data/vendor/local/include/gtk-2.0/gtk/gtktextbufferrichtext.h +96 -0
  695. data/vendor/local/include/gtk-2.0/gtk/gtktextchild.h +82 -0
  696. data/vendor/local/include/gtk-2.0/gtk/gtktextdisplay.h +112 -0
  697. data/vendor/local/include/gtk-2.0/gtk/gtktextiter.h +307 -0
  698. data/vendor/local/include/gtk-2.0/gtk/gtktextlayout.h +439 -0
  699. data/vendor/local/include/gtk-2.0/gtk/gtktextmark.h +106 -0
  700. data/vendor/local/include/gtk-2.0/gtk/gtktexttag.h +289 -0
  701. data/vendor/local/include/gtk-2.0/gtk/gtktexttagtable.h +101 -0
  702. data/vendor/local/include/gtk-2.0/gtk/gtktextview.h +376 -0
  703. data/vendor/local/include/gtk-2.0/gtk/gtktipsquery.h +110 -0
  704. data/vendor/local/include/gtk-2.0/gtk/gtktoggleaction.h +91 -0
  705. data/vendor/local/include/gtk-2.0/gtk/gtktogglebutton.h +97 -0
  706. data/vendor/local/include/gtk-2.0/gtk/gtktoggletoolbutton.h +77 -0
  707. data/vendor/local/include/gtk-2.0/gtk/gtktoolbar.h +288 -0
  708. data/vendor/local/include/gtk-2.0/gtk/gtktoolbutton.h +99 -0
  709. data/vendor/local/include/gtk-2.0/gtk/gtktoolitem.h +142 -0
  710. data/vendor/local/include/gtk-2.0/gtk/gtktoolitemgroup.h +99 -0
  711. data/vendor/local/include/gtk-2.0/gtk/gtktoolpalette.h +144 -0
  712. data/vendor/local/include/gtk-2.0/gtk/gtktoolshell.h +91 -0
  713. data/vendor/local/include/gtk-2.0/gtk/gtktooltip.h +77 -0
  714. data/vendor/local/include/gtk-2.0/gtk/gtktooltips.h +109 -0
  715. data/vendor/local/include/gtk-2.0/gtk/gtktree.h +132 -0
  716. data/vendor/local/include/gtk-2.0/gtk/gtktreednd.h +125 -0
  717. data/vendor/local/include/gtk-2.0/gtk/gtktreeitem.h +90 -0
  718. data/vendor/local/include/gtk-2.0/gtk/gtktreemodel.h +270 -0
  719. data/vendor/local/include/gtk-2.0/gtk/gtktreemodelfilter.h +109 -0
  720. data/vendor/local/include/gtk-2.0/gtk/gtktreemodelsort.h +106 -0
  721. data/vendor/local/include/gtk-2.0/gtk/gtktreeselection.h +125 -0
  722. data/vendor/local/include/gtk-2.0/gtk/gtktreesortable.h +103 -0
  723. data/vendor/local/include/gtk-2.0/gtk/gtktreestore.h +159 -0
  724. data/vendor/local/include/gtk-2.0/gtk/gtktreeview.h +431 -0
  725. data/vendor/local/include/gtk-2.0/gtk/gtktreeviewcolumn.h +245 -0
  726. data/vendor/local/include/gtk-2.0/gtk/gtktypebuiltins.h +335 -0
  727. data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +264 -0
  728. data/vendor/local/include/gtk-2.0/gtk/gtkuimanager.h +153 -0
  729. data/vendor/local/include/gtk-2.0/gtk/gtkvbbox.h +82 -0
  730. data/vendor/local/include/gtk-2.0/gtk/gtkvbox.h +68 -0
  731. data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +51 -0
  732. data/vendor/local/include/gtk-2.0/gtk/gtkviewport.h +93 -0
  733. data/vendor/local/include/gtk-2.0/gtk/gtkvolumebutton.h +72 -0
  734. data/vendor/local/include/gtk-2.0/gtk/gtkvpaned.h +65 -0
  735. data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +84 -0
  736. data/vendor/local/include/gtk-2.0/gtk/gtkvscale.h +79 -0
  737. data/vendor/local/include/gtk-2.0/gtk/gtkvscrollbar.h +76 -0
  738. data/vendor/local/include/gtk-2.0/gtk/gtkvseparator.h +76 -0
  739. data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +1351 -0
  740. data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +452 -0
  741. data/vendor/local/lib/gailutil.def +15 -0
  742. data/vendor/local/lib/gdk-win32-2.0.def +744 -0
  743. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
  744. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
  745. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +41 -0
  746. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
  747. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
  748. data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +41 -0
  749. data/vendor/local/lib/gtk-2.0/2.10.0/immodules.cache +7 -0
  750. data/vendor/local/lib/gtk-2.0/include/gdkconfig.h +34 -0
  751. data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
  752. data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
  753. data/vendor/local/lib/gtk-2.0/modules/libgail.la +41 -0
  754. data/vendor/local/lib/gtk-win32-2.0.def +3833 -0
  755. data/vendor/local/lib/libgailutil.dll.a +0 -0
  756. data/vendor/local/lib/libgailutil.la +41 -0
  757. data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
  758. data/vendor/local/lib/libgdk-win32-2.0.la +41 -0
  759. data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
  760. data/vendor/local/lib/libgtk-win32-2.0.la +41 -0
  761. data/vendor/local/lib/pkgconfig/gail.pc +11 -0
  762. data/vendor/local/lib/pkgconfig/gdk-2.0.pc +12 -0
  763. data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +12 -0
  764. data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +15 -0
  765. data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +15 -0
  766. data/vendor/local/share/aclocal/gtk-2.0.m4 +196 -0
  767. data/vendor/local/share/gtk-2.0/demo/alphatest.png +0 -0
  768. data/vendor/local/share/gtk-2.0/demo/apple-red.png +0 -0
  769. data/vendor/local/share/gtk-2.0/demo/appwindow.c +591 -0
  770. data/vendor/local/share/gtk-2.0/demo/assistant.c +216 -0
  771. data/vendor/local/share/gtk-2.0/demo/background.jpg +0 -0
  772. data/vendor/local/share/gtk-2.0/demo/builder.c +68 -0
  773. data/vendor/local/share/gtk-2.0/demo/button_box.c +127 -0
  774. data/vendor/local/share/gtk-2.0/demo/changedisplay.c +646 -0
  775. data/vendor/local/share/gtk-2.0/demo/clipboard.c +326 -0
  776. data/vendor/local/share/gtk-2.0/demo/colorsel.c +145 -0
  777. data/vendor/local/share/gtk-2.0/demo/combobox.c +454 -0
  778. data/vendor/local/share/gtk-2.0/demo/demo.ui +258 -0
  779. data/vendor/local/share/gtk-2.0/demo/dialog.c +181 -0
  780. data/vendor/local/share/gtk-2.0/demo/drawingarea.c +314 -0
  781. data/vendor/local/share/gtk-2.0/demo/editable_cells.c +393 -0
  782. data/vendor/local/share/gtk-2.0/demo/entry_buffer.c +65 -0
  783. data/vendor/local/share/gtk-2.0/demo/entry_completion.c +97 -0
  784. data/vendor/local/share/gtk-2.0/demo/expander.c +58 -0
  785. data/vendor/local/share/gtk-2.0/demo/floppybuddy.gif +0 -0
  786. data/vendor/local/share/gtk-2.0/demo/gnome-applets.png +0 -0
  787. data/vendor/local/share/gtk-2.0/demo/gnome-calendar.png +0 -0
  788. data/vendor/local/share/gtk-2.0/demo/gnome-foot.png +0 -0
  789. data/vendor/local/share/gtk-2.0/demo/gnome-fs-directory.png +0 -0
  790. data/vendor/local/share/gtk-2.0/demo/gnome-fs-regular.png +0 -0
  791. data/vendor/local/share/gtk-2.0/demo/gnome-gimp.png +0 -0
  792. data/vendor/local/share/gtk-2.0/demo/gnome-gmush.png +0 -0
  793. data/vendor/local/share/gtk-2.0/demo/gnome-gsame.png +0 -0
  794. data/vendor/local/share/gtk-2.0/demo/gnu-keys.png +0 -0
  795. data/vendor/local/share/gtk-2.0/demo/gtk-logo-rgb.gif +0 -0
  796. data/vendor/local/share/gtk-2.0/demo/hypertext.c +315 -0
  797. data/vendor/local/share/gtk-2.0/demo/iconview.c +372 -0
  798. data/vendor/local/share/gtk-2.0/demo/iconview_edit.c +159 -0
  799. data/vendor/local/share/gtk-2.0/demo/images.c +464 -0
  800. data/vendor/local/share/gtk-2.0/demo/infobar.c +104 -0
  801. data/vendor/local/share/gtk-2.0/demo/links.c +84 -0
  802. data/vendor/local/share/gtk-2.0/demo/list_store.c +295 -0
  803. data/vendor/local/share/gtk-2.0/demo/menus.c +210 -0
  804. data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +587 -0
  805. data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +510 -0
  806. data/vendor/local/share/gtk-2.0/demo/panes.c +197 -0
  807. data/vendor/local/share/gtk-2.0/demo/pickers.c +73 -0
  808. data/vendor/local/share/gtk-2.0/demo/pixbufs.c +270 -0
  809. data/vendor/local/share/gtk-2.0/demo/printing.c +212 -0
  810. data/vendor/local/share/gtk-2.0/demo/rotated_text.c +241 -0
  811. data/vendor/local/share/gtk-2.0/demo/search_entry.c +335 -0
  812. data/vendor/local/share/gtk-2.0/demo/sizegroup.c +167 -0
  813. data/vendor/local/share/gtk-2.0/demo/spinner.c +94 -0
  814. data/vendor/local/share/gtk-2.0/demo/stock_browser.c +546 -0
  815. data/vendor/local/share/gtk-2.0/demo/textscroll.c +200 -0
  816. data/vendor/local/share/gtk-2.0/demo/textview.c +569 -0
  817. data/vendor/local/share/gtk-2.0/demo/toolpalette.c +799 -0
  818. data/vendor/local/share/gtk-2.0/demo/tree_store.c +450 -0
  819. data/vendor/local/share/gtk-2.0/demo/ui_manager.c +237 -0
  820. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +574 -0
  821. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +361 -0
  822. data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +27 -0
  823. data/vendor/local/share/gtk-doc/html/gail-libgail-util/home.png +0 -0
  824. data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +44 -0
  825. data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.sgml +27 -0
  826. data/vendor/local/share/gtk-doc/html/gail-libgail-util/left-insensitive.png +0 -0
  827. data/vendor/local/share/gtk-doc/html/gail-libgail-util/left.png +0 -0
  828. data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +41 -0
  829. data/vendor/local/share/gtk-doc/html/gail-libgail-util/right-insensitive.png +0 -0
  830. data/vendor/local/share/gtk-doc/html/gail-libgail-util/right.png +0 -0
  831. data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +476 -0
  832. data/vendor/local/share/gtk-doc/html/gail-libgail-util/up-insensitive.png +0 -0
  833. data/vendor/local/share/gtk-doc/html/gail-libgail-util/up.png +0 -0
  834. data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +1796 -0
  835. data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +355 -0
  836. data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +2067 -0
  837. data/vendor/local/share/gtk-doc/html/gdk2/X_cursor.png +0 -0
  838. data/vendor/local/share/gtk-doc/html/gdk2/annotation-glossary.html +62 -0
  839. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-10.html +118 -0
  840. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-12.html +119 -0
  841. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-14.html +119 -0
  842. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-16.html +39 -0
  843. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-18.html +104 -0
  844. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-2.html +510 -0
  845. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-20.html +46 -0
  846. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-22.html +219 -0
  847. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-4.html +118 -0
  848. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-6.html +123 -0
  849. data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-8.html +110 -0
  850. data/vendor/local/share/gtk-doc/html/gdk2/api-index-deprecated.html +1047 -0
  851. data/vendor/local/share/gtk-doc/html/gdk2/api-index-full.html +3665 -0
  852. data/vendor/local/share/gtk-doc/html/gdk2/arrow.png +0 -0
  853. data/vendor/local/share/gtk-doc/html/gdk2/based_arrow_down.png +0 -0
  854. data/vendor/local/share/gtk-doc/html/gdk2/based_arrow_up.png +0 -0
  855. data/vendor/local/share/gtk-doc/html/gdk2/boat.png +0 -0
  856. data/vendor/local/share/gtk-doc/html/gdk2/bogosity.png +0 -0
  857. data/vendor/local/share/gtk-doc/html/gdk2/bottom_left_corner.png +0 -0
  858. data/vendor/local/share/gtk-doc/html/gdk2/bottom_right_corner.png +0 -0
  859. data/vendor/local/share/gtk-doc/html/gdk2/bottom_side.png +0 -0
  860. data/vendor/local/share/gtk-doc/html/gdk2/bottom_tee.png +0 -0
  861. data/vendor/local/share/gtk-doc/html/gdk2/box_spiral.png +0 -0
  862. data/vendor/local/share/gtk-doc/html/gdk2/center_ptr.png +0 -0
  863. data/vendor/local/share/gtk-doc/html/gdk2/circle.png +0 -0
  864. data/vendor/local/share/gtk-doc/html/gdk2/clock.png +0 -0
  865. data/vendor/local/share/gtk-doc/html/gdk2/coffee_mug.png +0 -0
  866. data/vendor/local/share/gtk-doc/html/gdk2/cross.png +0 -0
  867. data/vendor/local/share/gtk-doc/html/gdk2/cross_reverse.png +0 -0
  868. data/vendor/local/share/gtk-doc/html/gdk2/crosshair.png +0 -0
  869. data/vendor/local/share/gtk-doc/html/gdk2/diamond_cross.png +0 -0
  870. data/vendor/local/share/gtk-doc/html/gdk2/dot.png +0 -0
  871. data/vendor/local/share/gtk-doc/html/gdk2/dotbox.png +0 -0
  872. data/vendor/local/share/gtk-doc/html/gdk2/double_arrow.png +0 -0
  873. data/vendor/local/share/gtk-doc/html/gdk2/draft_large.png +0 -0
  874. data/vendor/local/share/gtk-doc/html/gdk2/draft_small.png +0 -0
  875. data/vendor/local/share/gtk-doc/html/gdk2/draped_box.png +0 -0
  876. data/vendor/local/share/gtk-doc/html/gdk2/exchange.png +0 -0
  877. data/vendor/local/share/gtk-doc/html/gdk2/fleur.png +0 -0
  878. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +412 -0
  879. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +753 -0
  880. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cairo-Interaction.html +541 -0
  881. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +1295 -0
  882. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +1290 -0
  883. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +1217 -0
  884. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +2611 -0
  885. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +2095 -0
  886. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +1650 -0
  887. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +1781 -0
  888. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +1435 -0
  889. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +1169 -0
  890. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +2201 -0
  891. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +1090 -0
  892. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +1288 -0
  893. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +401 -0
  894. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +1362 -0
  895. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +1074 -0
  896. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +744 -0
  897. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +1367 -0
  898. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +1314 -0
  899. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +845 -0
  900. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +276 -0
  901. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +1053 -0
  902. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +1085 -0
  903. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +8583 -0
  904. data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +3528 -0
  905. data/vendor/local/share/gtk-doc/html/gdk2/gdk2.devhelp2 +949 -0
  906. data/vendor/local/share/gtk-doc/html/gdk2/gobbler.png +0 -0
  907. data/vendor/local/share/gtk-doc/html/gdk2/gumby.png +0 -0
  908. data/vendor/local/share/gtk-doc/html/gdk2/hand1.png +0 -0
  909. data/vendor/local/share/gtk-doc/html/gdk2/hand2.png +0 -0
  910. data/vendor/local/share/gtk-doc/html/gdk2/heart.png +0 -0
  911. data/vendor/local/share/gtk-doc/html/gdk2/home.png +0 -0
  912. data/vendor/local/share/gtk-doc/html/gdk2/icon.png +0 -0
  913. data/vendor/local/share/gtk-doc/html/gdk2/index.html +143 -0
  914. data/vendor/local/share/gtk-doc/html/gdk2/index.sgml +1151 -0
  915. data/vendor/local/share/gtk-doc/html/gdk2/iron_cross.png +0 -0
  916. data/vendor/local/share/gtk-doc/html/gdk2/left-insensitive.png +0 -0
  917. data/vendor/local/share/gtk-doc/html/gdk2/left.png +0 -0
  918. data/vendor/local/share/gtk-doc/html/gdk2/left_ptr.png +0 -0
  919. data/vendor/local/share/gtk-doc/html/gdk2/left_side.png +0 -0
  920. data/vendor/local/share/gtk-doc/html/gdk2/left_tee.png +0 -0
  921. data/vendor/local/share/gtk-doc/html/gdk2/leftbutton.png +0 -0
  922. data/vendor/local/share/gtk-doc/html/gdk2/ll_angle.png +0 -0
  923. data/vendor/local/share/gtk-doc/html/gdk2/lr_angle.png +0 -0
  924. data/vendor/local/share/gtk-doc/html/gdk2/man.png +0 -0
  925. data/vendor/local/share/gtk-doc/html/gdk2/middlebutton.png +0 -0
  926. data/vendor/local/share/gtk-doc/html/gdk2/mouse.png +0 -0
  927. data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +204 -0
  928. data/vendor/local/share/gtk-doc/html/gdk2/pencil.png +0 -0
  929. data/vendor/local/share/gtk-doc/html/gdk2/pirate.png +0 -0
  930. data/vendor/local/share/gtk-doc/html/gdk2/plus.png +0 -0
  931. data/vendor/local/share/gtk-doc/html/gdk2/question_arrow.png +0 -0
  932. data/vendor/local/share/gtk-doc/html/gdk2/reference.html +131 -0
  933. data/vendor/local/share/gtk-doc/html/gdk2/right-insensitive.png +0 -0
  934. data/vendor/local/share/gtk-doc/html/gdk2/right.png +0 -0
  935. data/vendor/local/share/gtk-doc/html/gdk2/right_ptr.png +0 -0
  936. data/vendor/local/share/gtk-doc/html/gdk2/right_side.png +0 -0
  937. data/vendor/local/share/gtk-doc/html/gdk2/right_tee.png +0 -0
  938. data/vendor/local/share/gtk-doc/html/gdk2/rightbutton.png +0 -0
  939. data/vendor/local/share/gtk-doc/html/gdk2/rotated-text.png +0 -0
  940. data/vendor/local/share/gtk-doc/html/gdk2/rtl_logo.png +0 -0
  941. data/vendor/local/share/gtk-doc/html/gdk2/sailboat.png +0 -0
  942. data/vendor/local/share/gtk-doc/html/gdk2/sb_down_arrow.png +0 -0
  943. data/vendor/local/share/gtk-doc/html/gdk2/sb_h_double_arrow.png +0 -0
  944. data/vendor/local/share/gtk-doc/html/gdk2/sb_left_arrow.png +0 -0
  945. data/vendor/local/share/gtk-doc/html/gdk2/sb_right_arrow.png +0 -0
  946. data/vendor/local/share/gtk-doc/html/gdk2/sb_up_arrow.png +0 -0
  947. data/vendor/local/share/gtk-doc/html/gdk2/sb_v_double_arrow.png +0 -0
  948. data/vendor/local/share/gtk-doc/html/gdk2/shuttle.png +0 -0
  949. data/vendor/local/share/gtk-doc/html/gdk2/sizing.png +0 -0
  950. data/vendor/local/share/gtk-doc/html/gdk2/spider.png +0 -0
  951. data/vendor/local/share/gtk-doc/html/gdk2/spraycan.png +0 -0
  952. data/vendor/local/share/gtk-doc/html/gdk2/star.png +0 -0
  953. data/vendor/local/share/gtk-doc/html/gdk2/style.css +476 -0
  954. data/vendor/local/share/gtk-doc/html/gdk2/target.png +0 -0
  955. data/vendor/local/share/gtk-doc/html/gdk2/tcross.png +0 -0
  956. data/vendor/local/share/gtk-doc/html/gdk2/top_left_arrow.png +0 -0
  957. data/vendor/local/share/gtk-doc/html/gdk2/top_left_corner.png +0 -0
  958. data/vendor/local/share/gtk-doc/html/gdk2/top_right_corner.png +0 -0
  959. data/vendor/local/share/gtk-doc/html/gdk2/top_side.png +0 -0
  960. data/vendor/local/share/gtk-doc/html/gdk2/top_tee.png +0 -0
  961. data/vendor/local/share/gtk-doc/html/gdk2/trek.png +0 -0
  962. data/vendor/local/share/gtk-doc/html/gdk2/ul_angle.png +0 -0
  963. data/vendor/local/share/gtk-doc/html/gdk2/umbrella.png +0 -0
  964. data/vendor/local/share/gtk-doc/html/gdk2/up-insensitive.png +0 -0
  965. data/vendor/local/share/gtk-doc/html/gdk2/up.png +0 -0
  966. data/vendor/local/share/gtk-doc/html/gdk2/ur_angle.png +0 -0
  967. data/vendor/local/share/gtk-doc/html/gdk2/watch.png +0 -0
  968. data/vendor/local/share/gtk-doc/html/gdk2/xterm.png +0 -0
  969. data/vendor/local/share/gtk-doc/html/gtk2/AbstractObjects.html +77 -0
  970. data/vendor/local/share/gtk-doc/html/gtk2/Actions.html +53 -0
  971. data/vendor/local/share/gtk-doc/html/gtk2/Builder.html +38 -0
  972. data/vendor/local/share/gtk-doc/html/gtk2/ButtonWidgets.html +53 -0
  973. data/vendor/local/share/gtk-doc/html/gtk2/DeprecatedObjects.html +83 -0
  974. data/vendor/local/share/gtk-doc/html/gtk2/DisplayWidgets.html +56 -0
  975. data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +1891 -0
  976. data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +437 -0
  977. data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +199 -0
  978. data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +2264 -0
  979. data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +1631 -0
  980. data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +924 -0
  981. data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +1102 -0
  982. data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +491 -0
  983. data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +270 -0
  984. data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +308 -0
  985. data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +1575 -0
  986. data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +152 -0
  987. data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +1043 -0
  988. data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +801 -0
  989. data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +1339 -0
  990. data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +1634 -0
  991. data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +776 -0
  992. data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +5399 -0
  993. data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +3279 -0
  994. data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +1463 -0
  995. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +362 -0
  996. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +702 -0
  997. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +1492 -0
  998. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +350 -0
  999. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +282 -0
  1000. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +278 -0
  1001. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +243 -0
  1002. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +196 -0
  1003. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +186 -0
  1004. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +868 -0
  1005. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +493 -0
  1006. data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +612 -0
  1007. data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +283 -0
  1008. data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +615 -0
  1009. data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +1120 -0
  1010. data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +302 -0
  1011. data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +678 -0
  1012. data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +2138 -0
  1013. data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +374 -0
  1014. data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +414 -0
  1015. data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +2054 -0
  1016. data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +591 -0
  1017. data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +1627 -0
  1018. data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +287 -0
  1019. data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +896 -0
  1020. data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +4578 -0
  1021. data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +792 -0
  1022. data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +1574 -0
  1023. data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +362 -0
  1024. data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +1024 -0
  1025. data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +4065 -0
  1026. data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +666 -0
  1027. data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +353 -0
  1028. data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +211 -0
  1029. data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +740 -0
  1030. data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +419 -0
  1031. data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +804 -0
  1032. data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +728 -0
  1033. data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +546 -0
  1034. data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +610 -0
  1035. data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +144 -0
  1036. data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +154 -0
  1037. data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +287 -0
  1038. data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +127 -0
  1039. data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +143 -0
  1040. data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +605 -0
  1041. data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +210 -0
  1042. data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +150 -0
  1043. data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +150 -0
  1044. data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +665 -0
  1045. data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +1204 -0
  1046. data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +186 -0
  1047. data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +231 -0
  1048. data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +1796 -0
  1049. data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +3740 -0
  1050. data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +1961 -0
  1051. data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +613 -0
  1052. data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +908 -0
  1053. data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +255 -0
  1054. data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +267 -0
  1055. data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +350 -0
  1056. data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +1537 -0
  1057. data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +2825 -0
  1058. data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +797 -0
  1059. data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +520 -0
  1060. data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +1370 -0
  1061. data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +652 -0
  1062. data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +1361 -0
  1063. data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +1887 -0
  1064. data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +555 -0
  1065. data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +1279 -0
  1066. data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +1028 -0
  1067. data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +561 -0
  1068. data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +945 -0
  1069. data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +411 -0
  1070. data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +3748 -0
  1071. data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +1672 -0
  1072. data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +221 -0
  1073. data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +756 -0
  1074. data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +477 -0
  1075. data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +1278 -0
  1076. data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +312 -0
  1077. data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +1032 -0
  1078. data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +1172 -0
  1079. data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +306 -0
  1080. data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +496 -0
  1081. data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +822 -0
  1082. data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +655 -0
  1083. data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +725 -0
  1084. data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +3872 -0
  1085. data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +1143 -0
  1086. data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +1321 -0
  1087. data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +766 -0
  1088. data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +1179 -0
  1089. data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +480 -0
  1090. data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +681 -0
  1091. data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +609 -0
  1092. data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +432 -0
  1093. data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +1913 -0
  1094. data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +338 -0
  1095. data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +1919 -0
  1096. data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +260 -0
  1097. data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +313 -0
  1098. data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +182 -0
  1099. data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +823 -0
  1100. data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +2084 -0
  1101. data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +444 -0
  1102. data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +724 -0
  1103. data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +783 -0
  1104. data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +232 -0
  1105. data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +1035 -0
  1106. data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +96 -0
  1107. data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +130 -0
  1108. data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +270 -0
  1109. data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +1679 -0
  1110. data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +579 -0
  1111. data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +460 -0
  1112. data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +1793 -0
  1113. data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +265 -0
  1114. data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +2339 -0
  1115. data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +662 -0
  1116. data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +5004 -0
  1117. data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +1081 -0
  1118. data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +158 -0
  1119. data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +900 -0
  1120. data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +4895 -0
  1121. data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +4244 -0
  1122. data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +444 -0
  1123. data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +1680 -0
  1124. data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +516 -0
  1125. data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +4124 -0
  1126. data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +625 -0
  1127. data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +440 -0
  1128. data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +698 -0
  1129. data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +359 -0
  1130. data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +929 -0
  1131. data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +1599 -0
  1132. data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +1025 -0
  1133. data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +1314 -0
  1134. data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +532 -0
  1135. data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +2507 -0
  1136. data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +554 -0
  1137. data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +548 -0
  1138. data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +1060 -0
  1139. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +361 -0
  1140. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +3330 -0
  1141. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +885 -0
  1142. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +697 -0
  1143. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +1144 -0
  1144. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +595 -0
  1145. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +1384 -0
  1146. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +6534 -0
  1147. data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +2679 -0
  1148. data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +1631 -0
  1149. data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +155 -0
  1150. data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +259 -0
  1151. data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +123 -0
  1152. data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +135 -0
  1153. data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +202 -0
  1154. data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +144 -0
  1155. data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +125 -0
  1156. data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +564 -0
  1157. data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +127 -0
  1158. data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +13779 -0
  1159. data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +5354 -0
  1160. data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +246 -0
  1161. data/vendor/local/share/gtk-doc/html/gtk2/LayoutContainers.html +74 -0
  1162. data/vendor/local/share/gtk-doc/html/gtk2/MenusAndCombos.html +95 -0
  1163. data/vendor/local/share/gtk-doc/html/gtk2/MiscObjects.html +68 -0
  1164. data/vendor/local/share/gtk-doc/html/gtk2/NumericEntry.html +53 -0
  1165. data/vendor/local/share/gtk-doc/html/gtk2/Ornaments.html +41 -0
  1166. data/vendor/local/share/gtk-doc/html/gtk2/PlugSocket.html +38 -0
  1167. data/vendor/local/share/gtk-doc/html/gtk2/Printing.html +59 -0
  1168. data/vendor/local/share/gtk-doc/html/gtk2/RecentDocuments.html +50 -0
  1169. data/vendor/local/share/gtk-doc/html/gtk2/ScrollingWidgets.html +41 -0
  1170. data/vendor/local/share/gtk-doc/html/gtk2/SelectorWidgets.html +71 -0
  1171. data/vendor/local/share/gtk-doc/html/gtk2/SpecialObjects.html +47 -0
  1172. data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +266 -0
  1173. data/vendor/local/share/gtk-doc/html/gtk2/TextWidgetObjects.html +53 -0
  1174. data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +556 -0
  1175. data/vendor/local/share/gtk-doc/html/gtk2/TreeWidgetObjects.html +104 -0
  1176. data/vendor/local/share/gtk-doc/html/gtk2/WindowWidgets.html +57 -0
  1177. data/vendor/local/share/gtk-doc/html/gtk2/aboutdialog.png +0 -0
  1178. data/vendor/local/share/gtk-doc/html/gtk2/accel-label.png +0 -0
  1179. data/vendor/local/share/gtk-doc/html/gtk2/annotation-glossary.html +69 -0
  1180. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-10.html +2090 -0
  1181. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-12.html +785 -0
  1182. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-14.html +781 -0
  1183. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-16.html +597 -0
  1184. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-18.html +513 -0
  1185. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-2.html +286 -0
  1186. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-20.html +460 -0
  1187. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-22.html +176 -0
  1188. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-24.html +131 -0
  1189. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-4.html +1853 -0
  1190. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-6.html +1085 -0
  1191. data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-8.html +381 -0
  1192. data/vendor/local/share/gtk-doc/html/gtk2/api-index-deprecated.html +3531 -0
  1193. data/vendor/local/share/gtk-doc/html/gtk2/api-index-full.html +22945 -0
  1194. data/vendor/local/share/gtk-doc/html/gtk2/application-exit.png +0 -0
  1195. data/vendor/local/share/gtk-doc/html/gtk2/assistant.png +0 -0
  1196. data/vendor/local/share/gtk-doc/html/gtk2/button.png +0 -0
  1197. data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +246 -0
  1198. data/vendor/local/share/gtk-doc/html/gtk2/ch02.html +154 -0
  1199. data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +496 -0
  1200. data/vendor/local/share/gtk-doc/html/gtk2/check-button.png +0 -0
  1201. data/vendor/local/share/gtk-doc/html/gtk2/checklist-gdkeventexpose-region.html +84 -0
  1202. data/vendor/local/share/gtk-doc/html/gtk2/checklist-modifiers.html +89 -0
  1203. data/vendor/local/share/gtk-doc/html/gtk2/checklist-named-icons.html +41 -0
  1204. data/vendor/local/share/gtk-doc/html/gtk2/color-button.png +0 -0
  1205. data/vendor/local/share/gtk-doc/html/gtk2/colorsel.png +0 -0
  1206. data/vendor/local/share/gtk-doc/html/gtk2/combo-box-entry.png +0 -0
  1207. data/vendor/local/share/gtk-doc/html/gtk2/combo-box.png +0 -0
  1208. data/vendor/local/share/gtk-doc/html/gtk2/decorating-the-assistant-pages.html +50 -0
  1209. data/vendor/local/share/gtk-doc/html/gtk2/dialog-error.png +0 -0
  1210. data/vendor/local/share/gtk-doc/html/gtk2/dialog-information.png +0 -0
  1211. data/vendor/local/share/gtk-doc/html/gtk2/dialog-password.png +0 -0
  1212. data/vendor/local/share/gtk-doc/html/gtk2/dialog-question.png +0 -0
  1213. data/vendor/local/share/gtk-doc/html/gtk2/dialog-warning.png +0 -0
  1214. data/vendor/local/share/gtk-doc/html/gtk2/document-new.png +0 -0
  1215. data/vendor/local/share/gtk-doc/html/gtk2/document-open.png +0 -0
  1216. data/vendor/local/share/gtk-doc/html/gtk2/document-print-preview.png +0 -0
  1217. data/vendor/local/share/gtk-doc/html/gtk2/document-print.png +0 -0
  1218. data/vendor/local/share/gtk-doc/html/gtk2/document-properties.png +0 -0
  1219. data/vendor/local/share/gtk-doc/html/gtk2/document-revert-ltr.png +0 -0
  1220. data/vendor/local/share/gtk-doc/html/gtk2/document-revert-rtl.png +0 -0
  1221. data/vendor/local/share/gtk-doc/html/gtk2/document-save-as.png +0 -0
  1222. data/vendor/local/share/gtk-doc/html/gtk2/document-save.png +0 -0
  1223. data/vendor/local/share/gtk-doc/html/gtk2/drive-harddisk.png +0 -0
  1224. data/vendor/local/share/gtk-doc/html/gtk2/edit-clear.png +0 -0
  1225. data/vendor/local/share/gtk-doc/html/gtk2/edit-copy.png +0 -0
  1226. data/vendor/local/share/gtk-doc/html/gtk2/edit-cut.png +0 -0
  1227. data/vendor/local/share/gtk-doc/html/gtk2/edit-delete.png +0 -0
  1228. data/vendor/local/share/gtk-doc/html/gtk2/edit-find-replace.png +0 -0
  1229. data/vendor/local/share/gtk-doc/html/gtk2/edit-find.png +0 -0
  1230. data/vendor/local/share/gtk-doc/html/gtk2/edit-paste.png +0 -0
  1231. data/vendor/local/share/gtk-doc/html/gtk2/edit-redo-ltr.png +0 -0
  1232. data/vendor/local/share/gtk-doc/html/gtk2/edit-redo-rtl.png +0 -0
  1233. data/vendor/local/share/gtk-doc/html/gtk2/edit-select-all.png +0 -0
  1234. data/vendor/local/share/gtk-doc/html/gtk2/edit-undo-ltr.png +0 -0
  1235. data/vendor/local/share/gtk-doc/html/gtk2/edit-undo-rtl.png +0 -0
  1236. data/vendor/local/share/gtk-doc/html/gtk2/entry.png +0 -0
  1237. data/vendor/local/share/gtk-doc/html/gtk2/figure-hierarchical-drawing.png +0 -0
  1238. data/vendor/local/share/gtk-doc/html/gtk2/figure-windowed-label.png +0 -0
  1239. data/vendor/local/share/gtk-doc/html/gtk2/file-button.png +0 -0
  1240. data/vendor/local/share/gtk-doc/html/gtk2/filechooser.png +0 -0
  1241. data/vendor/local/share/gtk-doc/html/gtk2/folder.png +0 -0
  1242. data/vendor/local/share/gtk-doc/html/gtk2/font-button.png +0 -0
  1243. data/vendor/local/share/gtk-doc/html/gtk2/fontsel.png +0 -0
  1244. data/vendor/local/share/gtk-doc/html/gtk2/format-indent-less-ltr.png +0 -0
  1245. data/vendor/local/share/gtk-doc/html/gtk2/format-indent-less-rtl.png +0 -0
  1246. data/vendor/local/share/gtk-doc/html/gtk2/format-indent-more-ltr.png +0 -0
  1247. data/vendor/local/share/gtk-doc/html/gtk2/format-indent-more-rtl.png +0 -0
  1248. data/vendor/local/share/gtk-doc/html/gtk2/format-justify-center.png +0 -0
  1249. data/vendor/local/share/gtk-doc/html/gtk2/format-justify-fill.png +0 -0
  1250. data/vendor/local/share/gtk-doc/html/gtk2/format-justify-left.png +0 -0
  1251. data/vendor/local/share/gtk-doc/html/gtk2/format-justify-right.png +0 -0
  1252. data/vendor/local/share/gtk-doc/html/gtk2/format-text-bold.png +0 -0
  1253. data/vendor/local/share/gtk-doc/html/gtk2/format-text-italic.png +0 -0
  1254. data/vendor/local/share/gtk-doc/html/gtk2/format-text-strikethrough.png +0 -0
  1255. data/vendor/local/share/gtk-doc/html/gtk2/format-text-underline.png +0 -0
  1256. data/vendor/local/share/gtk-doc/html/gtk2/frame.png +0 -0
  1257. data/vendor/local/share/gtk-doc/html/gtk2/glossary.html +335 -0
  1258. data/vendor/local/share/gtk-doc/html/gtk2/go-bottom.png +0 -0
  1259. data/vendor/local/share/gtk-doc/html/gtk2/go-down.png +0 -0
  1260. data/vendor/local/share/gtk-doc/html/gtk2/go-first-ltr.png +0 -0
  1261. data/vendor/local/share/gtk-doc/html/gtk2/go-first-rtl.png +0 -0
  1262. data/vendor/local/share/gtk-doc/html/gtk2/go-home.png +0 -0
  1263. data/vendor/local/share/gtk-doc/html/gtk2/go-jump-ltr.png +0 -0
  1264. data/vendor/local/share/gtk-doc/html/gtk2/go-jump-rtl.png +0 -0
  1265. data/vendor/local/share/gtk-doc/html/gtk2/go-last-ltr.png +0 -0
  1266. data/vendor/local/share/gtk-doc/html/gtk2/go-last-rtl.png +0 -0
  1267. data/vendor/local/share/gtk-doc/html/gtk2/go-next-ltr.png +0 -0
  1268. data/vendor/local/share/gtk-doc/html/gtk2/go-next-rtl.png +0 -0
  1269. data/vendor/local/share/gtk-doc/html/gtk2/go-previous-ltr.png +0 -0
  1270. data/vendor/local/share/gtk-doc/html/gtk2/go-previous-rtl.png +0 -0
  1271. data/vendor/local/share/gtk-doc/html/gtk2/go-top.png +0 -0
  1272. data/vendor/local/share/gtk-doc/html/gtk2/go-up.png +0 -0
  1273. data/vendor/local/share/gtk-doc/html/gtk2/gtk-apply.png +0 -0
  1274. data/vendor/local/share/gtk-doc/html/gtk2/gtk-builder-convert.html +89 -0
  1275. data/vendor/local/share/gtk-doc/html/gtk2/gtk-building.html +441 -0
  1276. data/vendor/local/share/gtk-doc/html/gtk2/gtk-cancel.png +0 -0
  1277. data/vendor/local/share/gtk-doc/html/gtk2/gtk-caps-lock-warning.png +0 -0
  1278. data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-1-2.html +568 -0
  1279. data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +1175 -0
  1280. data/vendor/local/share/gtk-doc/html/gtk2/gtk-color-picker.png +0 -0
  1281. data/vendor/local/share/gtk-doc/html/gtk2/gtk-compiling.html +111 -0
  1282. data/vendor/local/share/gtk-doc/html/gtk2/gtk-connect.png +0 -0
  1283. data/vendor/local/share/gtk-doc/html/gtk2/gtk-convert.png +0 -0
  1284. data/vendor/local/share/gtk-doc/html/gtk2/gtk-directfb.html +60 -0
  1285. data/vendor/local/share/gtk-doc/html/gtk2/gtk-disconnect.png +0 -0
  1286. data/vendor/local/share/gtk-doc/html/gtk2/gtk-dnd-multiple.png +0 -0
  1287. data/vendor/local/share/gtk-doc/html/gtk2/gtk-dnd.png +0 -0
  1288. data/vendor/local/share/gtk-doc/html/gtk2/gtk-edit.png +0 -0
  1289. data/vendor/local/share/gtk-doc/html/gtk2/gtk-font.png +0 -0
  1290. data/vendor/local/share/gtk-doc/html/gtk2/gtk-index.png +0 -0
  1291. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-ClientSideWindows.html +85 -0
  1292. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +160 -0
  1293. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAction.html +91 -0
  1294. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAssistant.html +102 -0
  1295. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkBuilder.html +118 -0
  1296. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +107 -0
  1297. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +256 -0
  1298. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkFileChooser.html +80 -0
  1299. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +264 -0
  1300. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +155 -0
  1301. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +310 -0
  1302. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +157 -0
  1303. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +293 -0
  1304. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-label-links.html +45 -0
  1305. data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +124 -0
  1306. data/vendor/local/share/gtk-doc/html/gtk2/gtk-no.png +0 -0
  1307. data/vendor/local/share/gtk-doc/html/gtk2/gtk-ok.png +0 -0
  1308. data/vendor/local/share/gtk-doc/html/gtk2/gtk-orientation-landscape.png +0 -0
  1309. data/vendor/local/share/gtk-doc/html/gtk2/gtk-orientation-portrait.png +0 -0
  1310. data/vendor/local/share/gtk-doc/html/gtk2/gtk-orientation-reverse-landscape.png +0 -0
  1311. data/vendor/local/share/gtk-doc/html/gtk2/gtk-orientation-reverse-portrait.png +0 -0
  1312. data/vendor/local/share/gtk-doc/html/gtk2/gtk-osx.html +53 -0
  1313. data/vendor/local/share/gtk-doc/html/gtk2/gtk-page-setup.png +0 -0
  1314. data/vendor/local/share/gtk-doc/html/gtk2/gtk-preferences.png +0 -0
  1315. data/vendor/local/share/gtk-doc/html/gtk2/gtk-query-immodules-2.0.html +89 -0
  1316. data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +1427 -0
  1317. data/vendor/local/share/gtk-doc/html/gtk2/gtk-resources.html +146 -0
  1318. data/vendor/local/share/gtk-doc/html/gtk2/gtk-running.html +348 -0
  1319. data/vendor/local/share/gtk-doc/html/gtk2/gtk-select-color.png +0 -0
  1320. data/vendor/local/share/gtk-doc/html/gtk2/gtk-undelete-ltr.png +0 -0
  1321. data/vendor/local/share/gtk-doc/html/gtk2/gtk-undelete-rtl.png +0 -0
  1322. data/vendor/local/share/gtk-doc/html/gtk2/gtk-update-icon-cache.html +114 -0
  1323. data/vendor/local/share/gtk-doc/html/gtk2/gtk-windows.html +87 -0
  1324. data/vendor/local/share/gtk-doc/html/gtk2/gtk-x11.html +134 -0
  1325. data/vendor/local/share/gtk-doc/html/gtk2/gtk-yes.png +0 -0
  1326. data/vendor/local/share/gtk-doc/html/gtk2/gtk.html +162 -0
  1327. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +744 -0
  1328. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +1146 -0
  1329. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +2018 -0
  1330. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +1962 -0
  1331. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +358 -0
  1332. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +454 -0
  1333. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +2349 -0
  1334. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +165 -0
  1335. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +566 -0
  1336. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +3267 -0
  1337. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +1329 -0
  1338. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +219 -0
  1339. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +2234 -0
  1340. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +2236 -0
  1341. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +1991 -0
  1342. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Standard-Enumerations.html +2183 -0
  1343. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +1724 -0
  1344. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +833 -0
  1345. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +1998 -0
  1346. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +2138 -0
  1347. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +693 -0
  1348. data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +671 -0
  1349. data/vendor/local/share/gtk-doc/html/gtk2/gtk2.devhelp2 +6133 -0
  1350. data/vendor/local/share/gtk-doc/html/gtk2/gtkbase.html +95 -0
  1351. data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-installing-extra-widgets.html +40 -0
  1352. data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-installing-preview.html +41 -0
  1353. data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-new-features.html +55 -0
  1354. data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +51 -0
  1355. data/vendor/local/share/gtk-doc/html/gtk2/gtkobjects.html +668 -0
  1356. data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +206 -0
  1357. data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +97 -0
  1358. data/vendor/local/share/gtk-doc/html/gtk2/help-about.png +0 -0
  1359. data/vendor/local/share/gtk-doc/html/gtk2/help-contents.png +0 -0
  1360. data/vendor/local/share/gtk-doc/html/gtk2/home.png +0 -0
  1361. data/vendor/local/share/gtk-doc/html/gtk2/icon-view.png +0 -0
  1362. data/vendor/local/share/gtk-doc/html/gtk2/image-missing.png +0 -0
  1363. data/vendor/local/share/gtk-doc/html/gtk2/image.png +0 -0
  1364. data/vendor/local/share/gtk-doc/html/gtk2/index.html +875 -0
  1365. data/vendor/local/share/gtk-doc/html/gtk2/index.sgml +8276 -0
  1366. data/vendor/local/share/gtk-doc/html/gtk2/label.png +0 -0
  1367. data/vendor/local/share/gtk-doc/html/gtk2/layout-btlr.png +0 -0
  1368. data/vendor/local/share/gtk-doc/html/gtk2/layout-btrl.png +0 -0
  1369. data/vendor/local/share/gtk-doc/html/gtk2/layout-lrbt.png +0 -0
  1370. data/vendor/local/share/gtk-doc/html/gtk2/layout-lrtb.png +0 -0
  1371. data/vendor/local/share/gtk-doc/html/gtk2/layout-rlbt.png +0 -0
  1372. data/vendor/local/share/gtk-doc/html/gtk2/layout-rltb.png +0 -0
  1373. data/vendor/local/share/gtk-doc/html/gtk2/layout-tblr.png +0 -0
  1374. data/vendor/local/share/gtk-doc/html/gtk2/layout-tbrl.png +0 -0
  1375. data/vendor/local/share/gtk-doc/html/gtk2/left-insensitive.png +0 -0
  1376. data/vendor/local/share/gtk-doc/html/gtk2/left.png +0 -0
  1377. data/vendor/local/share/gtk-doc/html/gtk2/link-button.png +0 -0
  1378. data/vendor/local/share/gtk-doc/html/gtk2/list-add.png +0 -0
  1379. data/vendor/local/share/gtk-doc/html/gtk2/list-and-tree.png +0 -0
  1380. data/vendor/local/share/gtk-doc/html/gtk2/list-remove.png +0 -0
  1381. data/vendor/local/share/gtk-doc/html/gtk2/media-floppy.png +0 -0
  1382. data/vendor/local/share/gtk-doc/html/gtk2/media-optical.png +0 -0
  1383. data/vendor/local/share/gtk-doc/html/gtk2/media-playback-pause.png +0 -0
  1384. data/vendor/local/share/gtk-doc/html/gtk2/media-playback-start-ltr.png +0 -0
  1385. data/vendor/local/share/gtk-doc/html/gtk2/media-playback-start-rtl.png +0 -0
  1386. data/vendor/local/share/gtk-doc/html/gtk2/media-playback-stop.png +0 -0
  1387. data/vendor/local/share/gtk-doc/html/gtk2/media-record.png +0 -0
  1388. data/vendor/local/share/gtk-doc/html/gtk2/media-seek-backward-ltr.png +0 -0
  1389. data/vendor/local/share/gtk-doc/html/gtk2/media-seek-backward-rtl.png +0 -0
  1390. data/vendor/local/share/gtk-doc/html/gtk2/media-seek-forward-ltr.png +0 -0
  1391. data/vendor/local/share/gtk-doc/html/gtk2/media-seek-forward-rtl.png +0 -0
  1392. data/vendor/local/share/gtk-doc/html/gtk2/media-skip-backward-ltr.png +0 -0
  1393. data/vendor/local/share/gtk-doc/html/gtk2/media-skip-backward-rtl.png +0 -0
  1394. data/vendor/local/share/gtk-doc/html/gtk2/media-skip-forward-ltr.png +0 -0
  1395. data/vendor/local/share/gtk-doc/html/gtk2/media-skip-forward-rtl.png +0 -0
  1396. data/vendor/local/share/gtk-doc/html/gtk2/menubar.png +0 -0
  1397. data/vendor/local/share/gtk-doc/html/gtk2/messagedialog.png +0 -0
  1398. data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +94 -0
  1399. data/vendor/local/share/gtk-doc/html/gtk2/migrating-gnomeuiinfo.html +351 -0
  1400. data/vendor/local/share/gtk-doc/html/gtk2/migrating.html +104 -0
  1401. data/vendor/local/share/gtk-doc/html/gtk2/multiline-text.png +0 -0
  1402. data/vendor/local/share/gtk-doc/html/gtk2/network-idle.png +0 -0
  1403. data/vendor/local/share/gtk-doc/html/gtk2/new-features-GtkComboBox.html +74 -0
  1404. data/vendor/local/share/gtk-doc/html/gtk2/notebook.png +0 -0
  1405. data/vendor/local/share/gtk-doc/html/gtk2/pagesetupdialog.png +0 -0
  1406. data/vendor/local/share/gtk-doc/html/gtk2/panes.png +0 -0
  1407. data/vendor/local/share/gtk-doc/html/gtk2/printdialog.png +0 -0
  1408. data/vendor/local/share/gtk-doc/html/gtk2/printer-error.png +0 -0
  1409. data/vendor/local/share/gtk-doc/html/gtk2/printer-info.png +0 -0
  1410. data/vendor/local/share/gtk-doc/html/gtk2/printer-paused.png +0 -0
  1411. data/vendor/local/share/gtk-doc/html/gtk2/printer-warning.png +0 -0
  1412. data/vendor/local/share/gtk-doc/html/gtk2/process-stop.png +0 -0
  1413. data/vendor/local/share/gtk-doc/html/gtk2/progressbar.png +0 -0
  1414. data/vendor/local/share/gtk-doc/html/gtk2/pt05.html +44 -0
  1415. data/vendor/local/share/gtk-doc/html/gtk2/radio-group.png +0 -0
  1416. data/vendor/local/share/gtk-doc/html/gtk2/recentchooserdialog.png +0 -0
  1417. data/vendor/local/share/gtk-doc/html/gtk2/right-insensitive.png +0 -0
  1418. data/vendor/local/share/gtk-doc/html/gtk2/right.png +0 -0
  1419. data/vendor/local/share/gtk-doc/html/gtk2/scales.png +0 -0
  1420. data/vendor/local/share/gtk-doc/html/gtk2/scrolledwindow.png +0 -0
  1421. data/vendor/local/share/gtk-doc/html/gtk2/separator.png +0 -0
  1422. data/vendor/local/share/gtk-doc/html/gtk2/setting-the-page-flow.html +77 -0
  1423. data/vendor/local/share/gtk-doc/html/gtk2/spinbutton.png +0 -0
  1424. data/vendor/local/share/gtk-doc/html/gtk2/spinner.png +0 -0
  1425. data/vendor/local/share/gtk-doc/html/gtk2/statusbar.png +0 -0
  1426. data/vendor/local/share/gtk-doc/html/gtk2/style.css +476 -0
  1427. data/vendor/local/share/gtk-doc/html/gtk2/system-run.png +0 -0
  1428. data/vendor/local/share/gtk-doc/html/gtk2/text-x-generic.png +0 -0
  1429. data/vendor/local/share/gtk-doc/html/gtk2/toggle-button.png +0 -0
  1430. data/vendor/local/share/gtk-doc/html/gtk2/toolbar.png +0 -0
  1431. data/vendor/local/share/gtk-doc/html/gtk2/toolpalette.png +0 -0
  1432. data/vendor/local/share/gtk-doc/html/gtk2/tools-check-spelling.png +0 -0
  1433. data/vendor/local/share/gtk-doc/html/gtk2/tree-view-coordinates.png +0 -0
  1434. data/vendor/local/share/gtk-doc/html/gtk2/ui-manager.html +45 -0
  1435. data/vendor/local/share/gtk-doc/html/gtk2/up-insensitive.png +0 -0
  1436. data/vendor/local/share/gtk-doc/html/gtk2/up.png +0 -0
  1437. data/vendor/local/share/gtk-doc/html/gtk2/view-fullscreen.png +0 -0
  1438. data/vendor/local/share/gtk-doc/html/gtk2/view-refresh.png +0 -0
  1439. data/vendor/local/share/gtk-doc/html/gtk2/view-restore.png +0 -0
  1440. data/vendor/local/share/gtk-doc/html/gtk2/view-sort-ascending.png +0 -0
  1441. data/vendor/local/share/gtk-doc/html/gtk2/view-sort-descending.png +0 -0
  1442. data/vendor/local/share/gtk-doc/html/gtk2/volumebutton.png +0 -0
  1443. data/vendor/local/share/gtk-doc/html/gtk2/window-close.png +0 -0
  1444. data/vendor/local/share/gtk-doc/html/gtk2/window.png +0 -0
  1445. data/vendor/local/share/gtk-doc/html/gtk2/zoom-fit-best.png +0 -0
  1446. data/vendor/local/share/gtk-doc/html/gtk2/zoom-in.png +0 -0
  1447. data/vendor/local/share/gtk-doc/html/gtk2/zoom-original.png +0 -0
  1448. data/vendor/local/share/gtk-doc/html/gtk2/zoom-out.png +0 -0
  1449. data/vendor/local/share/icons/hicolor/index.theme +1830 -0
  1450. data/vendor/local/share/license/gtk+/AUTHORS +65 -0
  1451. data/vendor/local/share/license/gtk+/COPYING +482 -0
  1452. data/vendor/local/share/license/hicolor-icon-theme/COPYING +345 -0
  1453. data/vendor/local/share/locale/af/LC_MESSAGES/gtk20-properties.mo +0 -0
  1454. data/vendor/local/share/locale/af/LC_MESSAGES/gtk20.mo +0 -0
  1455. data/vendor/local/share/locale/am/LC_MESSAGES/gtk20-properties.mo +0 -0
  1456. data/vendor/local/share/locale/am/LC_MESSAGES/gtk20.mo +0 -0
  1457. data/vendor/local/share/locale/ang/LC_MESSAGES/gtk20-properties.mo +0 -0
  1458. data/vendor/local/share/locale/ang/LC_MESSAGES/gtk20.mo +0 -0
  1459. data/vendor/local/share/locale/ar/LC_MESSAGES/gtk20-properties.mo +0 -0
  1460. data/vendor/local/share/locale/ar/LC_MESSAGES/gtk20.mo +0 -0
  1461. data/vendor/local/share/locale/as/LC_MESSAGES/gtk20-properties.mo +0 -0
  1462. data/vendor/local/share/locale/as/LC_MESSAGES/gtk20.mo +0 -0
  1463. data/vendor/local/share/locale/ast/LC_MESSAGES/gtk20-properties.mo +0 -0
  1464. data/vendor/local/share/locale/ast/LC_MESSAGES/gtk20.mo +0 -0
  1465. data/vendor/local/share/locale/az/LC_MESSAGES/gtk20-properties.mo +0 -0
  1466. data/vendor/local/share/locale/az/LC_MESSAGES/gtk20.mo +0 -0
  1467. data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk20-properties.mo +0 -0
  1468. data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk20.mo +0 -0
  1469. data/vendor/local/share/locale/be/LC_MESSAGES/gtk20-properties.mo +0 -0
  1470. data/vendor/local/share/locale/be/LC_MESSAGES/gtk20.mo +0 -0
  1471. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk20-properties.mo +0 -0
  1472. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk20.mo +0 -0
  1473. data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
  1474. data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
  1475. data/vendor/local/share/locale/bn/LC_MESSAGES/gtk20-properties.mo +0 -0
  1476. data/vendor/local/share/locale/bn/LC_MESSAGES/gtk20.mo +0 -0
  1477. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk20-properties.mo +0 -0
  1478. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk20.mo +0 -0
  1479. data/vendor/local/share/locale/br/LC_MESSAGES/gtk20-properties.mo +0 -0
  1480. data/vendor/local/share/locale/br/LC_MESSAGES/gtk20.mo +0 -0
  1481. data/vendor/local/share/locale/bs/LC_MESSAGES/gtk20-properties.mo +0 -0
  1482. data/vendor/local/share/locale/bs/LC_MESSAGES/gtk20.mo +0 -0
  1483. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
  1484. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
  1485. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
  1486. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
  1487. data/vendor/local/share/locale/crh/LC_MESSAGES/gtk20-properties.mo +0 -0
  1488. data/vendor/local/share/locale/crh/LC_MESSAGES/gtk20.mo +0 -0
  1489. data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20-properties.mo +0 -0
  1490. data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
  1491. data/vendor/local/share/locale/cy/LC_MESSAGES/gtk20-properties.mo +0 -0
  1492. data/vendor/local/share/locale/cy/LC_MESSAGES/gtk20.mo +0 -0
  1493. data/vendor/local/share/locale/da/LC_MESSAGES/gtk20-properties.mo +0 -0
  1494. data/vendor/local/share/locale/da/LC_MESSAGES/gtk20.mo +0 -0
  1495. data/vendor/local/share/locale/de/LC_MESSAGES/gtk20-properties.mo +0 -0
  1496. data/vendor/local/share/locale/de/LC_MESSAGES/gtk20.mo +0 -0
  1497. data/vendor/local/share/locale/dz/LC_MESSAGES/gtk20-properties.mo +0 -0
  1498. data/vendor/local/share/locale/dz/LC_MESSAGES/gtk20.mo +0 -0
  1499. data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
  1500. data/vendor/local/share/locale/el/LC_MESSAGES/gtk20.mo +0 -0
  1501. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk20-properties.mo +0 -0
  1502. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk20.mo +0 -0
  1503. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
  1504. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
  1505. data/vendor/local/share/locale/eo/LC_MESSAGES/gtk20-properties.mo +0 -0
  1506. data/vendor/local/share/locale/eo/LC_MESSAGES/gtk20.mo +0 -0
  1507. data/vendor/local/share/locale/es/LC_MESSAGES/gtk20-properties.mo +0 -0
  1508. data/vendor/local/share/locale/es/LC_MESSAGES/gtk20.mo +0 -0
  1509. data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
  1510. data/vendor/local/share/locale/et/LC_MESSAGES/gtk20.mo +0 -0
  1511. data/vendor/local/share/locale/eu/LC_MESSAGES/gtk20-properties.mo +0 -0
  1512. data/vendor/local/share/locale/eu/LC_MESSAGES/gtk20.mo +0 -0
  1513. data/vendor/local/share/locale/fa/LC_MESSAGES/gtk20-properties.mo +0 -0
  1514. data/vendor/local/share/locale/fa/LC_MESSAGES/gtk20.mo +0 -0
  1515. data/vendor/local/share/locale/fi/LC_MESSAGES/gtk20-properties.mo +0 -0
  1516. data/vendor/local/share/locale/fi/LC_MESSAGES/gtk20.mo +0 -0
  1517. data/vendor/local/share/locale/fr/LC_MESSAGES/gtk20-properties.mo +0 -0
  1518. data/vendor/local/share/locale/fr/LC_MESSAGES/gtk20.mo +0 -0
  1519. data/vendor/local/share/locale/ga/LC_MESSAGES/gtk20-properties.mo +0 -0
  1520. data/vendor/local/share/locale/ga/LC_MESSAGES/gtk20.mo +0 -0
  1521. data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20-properties.mo +0 -0
  1522. data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
  1523. data/vendor/local/share/locale/gu/LC_MESSAGES/gtk20-properties.mo +0 -0
  1524. data/vendor/local/share/locale/gu/LC_MESSAGES/gtk20.mo +0 -0
  1525. data/vendor/local/share/locale/he/LC_MESSAGES/gtk20-properties.mo +0 -0
  1526. data/vendor/local/share/locale/he/LC_MESSAGES/gtk20.mo +0 -0
  1527. data/vendor/local/share/locale/hi/LC_MESSAGES/gtk20-properties.mo +0 -0
  1528. data/vendor/local/share/locale/hi/LC_MESSAGES/gtk20.mo +0 -0
  1529. data/vendor/local/share/locale/hr/LC_MESSAGES/gtk20-properties.mo +0 -0
  1530. data/vendor/local/share/locale/hr/LC_MESSAGES/gtk20.mo +0 -0
  1531. data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20-properties.mo +0 -0
  1532. data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
  1533. data/vendor/local/share/locale/hy/LC_MESSAGES/gtk20-properties.mo +0 -0
  1534. data/vendor/local/share/locale/hy/LC_MESSAGES/gtk20.mo +0 -0
  1535. data/vendor/local/share/locale/ia/LC_MESSAGES/gtk20-properties.mo +0 -0
  1536. data/vendor/local/share/locale/ia/LC_MESSAGES/gtk20.mo +0 -0
  1537. data/vendor/local/share/locale/id/LC_MESSAGES/gtk20-properties.mo +0 -0
  1538. data/vendor/local/share/locale/id/LC_MESSAGES/gtk20.mo +0 -0
  1539. data/vendor/local/share/locale/io/LC_MESSAGES/gtk20-properties.mo +0 -0
  1540. data/vendor/local/share/locale/io/LC_MESSAGES/gtk20.mo +0 -0
  1541. data/vendor/local/share/locale/is/LC_MESSAGES/gtk20-properties.mo +0 -0
  1542. data/vendor/local/share/locale/is/LC_MESSAGES/gtk20.mo +0 -0
  1543. data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
  1544. data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
  1545. data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
  1546. data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20.mo +0 -0
  1547. data/vendor/local/share/locale/ka/LC_MESSAGES/gtk20-properties.mo +0 -0
  1548. data/vendor/local/share/locale/ka/LC_MESSAGES/gtk20.mo +0 -0
  1549. data/vendor/local/share/locale/kk/LC_MESSAGES/gtk20-properties.mo +0 -0
  1550. data/vendor/local/share/locale/kk/LC_MESSAGES/gtk20.mo +0 -0
  1551. data/vendor/local/share/locale/kn/LC_MESSAGES/gtk20-properties.mo +0 -0
  1552. data/vendor/local/share/locale/kn/LC_MESSAGES/gtk20.mo +0 -0
  1553. data/vendor/local/share/locale/ko/LC_MESSAGES/gtk20-properties.mo +0 -0
  1554. data/vendor/local/share/locale/ko/LC_MESSAGES/gtk20.mo +0 -0
  1555. data/vendor/local/share/locale/ku/LC_MESSAGES/gtk20-properties.mo +0 -0
  1556. data/vendor/local/share/locale/ku/LC_MESSAGES/gtk20.mo +0 -0
  1557. data/vendor/local/share/locale/li/LC_MESSAGES/gtk20-properties.mo +0 -0
  1558. data/vendor/local/share/locale/li/LC_MESSAGES/gtk20.mo +0 -0
  1559. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
  1560. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
  1561. data/vendor/local/share/locale/lv/LC_MESSAGES/gtk20-properties.mo +0 -0
  1562. data/vendor/local/share/locale/lv/LC_MESSAGES/gtk20.mo +0 -0
  1563. data/vendor/local/share/locale/mai/LC_MESSAGES/gtk20-properties.mo +0 -0
  1564. data/vendor/local/share/locale/mai/LC_MESSAGES/gtk20.mo +0 -0
  1565. data/vendor/local/share/locale/mi/LC_MESSAGES/gtk20-properties.mo +0 -0
  1566. data/vendor/local/share/locale/mi/LC_MESSAGES/gtk20.mo +0 -0
  1567. data/vendor/local/share/locale/mk/LC_MESSAGES/gtk20-properties.mo +0 -0
  1568. data/vendor/local/share/locale/mk/LC_MESSAGES/gtk20.mo +0 -0
  1569. data/vendor/local/share/locale/ml/LC_MESSAGES/gtk20-properties.mo +0 -0
  1570. data/vendor/local/share/locale/ml/LC_MESSAGES/gtk20.mo +0 -0
  1571. data/vendor/local/share/locale/mn/LC_MESSAGES/gtk20-properties.mo +0 -0
  1572. data/vendor/local/share/locale/mn/LC_MESSAGES/gtk20.mo +0 -0
  1573. data/vendor/local/share/locale/mr/LC_MESSAGES/gtk20-properties.mo +0 -0
  1574. data/vendor/local/share/locale/mr/LC_MESSAGES/gtk20.mo +0 -0
  1575. data/vendor/local/share/locale/ms/LC_MESSAGES/gtk20-properties.mo +0 -0
  1576. data/vendor/local/share/locale/ms/LC_MESSAGES/gtk20.mo +0 -0
  1577. data/vendor/local/share/locale/my/LC_MESSAGES/gtk20-properties.mo +0 -0
  1578. data/vendor/local/share/locale/my/LC_MESSAGES/gtk20.mo +0 -0
  1579. data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20-properties.mo +0 -0
  1580. data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
  1581. data/vendor/local/share/locale/nds/LC_MESSAGES/gtk20-properties.mo +0 -0
  1582. data/vendor/local/share/locale/nds/LC_MESSAGES/gtk20.mo +0 -0
  1583. data/vendor/local/share/locale/ne/LC_MESSAGES/gtk20-properties.mo +0 -0
  1584. data/vendor/local/share/locale/ne/LC_MESSAGES/gtk20.mo +0 -0
  1585. data/vendor/local/share/locale/nl/LC_MESSAGES/gtk20-properties.mo +0 -0
  1586. data/vendor/local/share/locale/nl/LC_MESSAGES/gtk20.mo +0 -0
  1587. data/vendor/local/share/locale/nn/LC_MESSAGES/gtk20-properties.mo +0 -0
  1588. data/vendor/local/share/locale/nn/LC_MESSAGES/gtk20.mo +0 -0
  1589. data/vendor/local/share/locale/nso/LC_MESSAGES/gtk20-properties.mo +0 -0
  1590. data/vendor/local/share/locale/nso/LC_MESSAGES/gtk20.mo +0 -0
  1591. data/vendor/local/share/locale/oc/LC_MESSAGES/gtk20-properties.mo +0 -0
  1592. data/vendor/local/share/locale/oc/LC_MESSAGES/gtk20.mo +0 -0
  1593. data/vendor/local/share/locale/or/LC_MESSAGES/gtk20-properties.mo +0 -0
  1594. data/vendor/local/share/locale/or/LC_MESSAGES/gtk20.mo +0 -0
  1595. data/vendor/local/share/locale/pa/LC_MESSAGES/gtk20-properties.mo +0 -0
  1596. data/vendor/local/share/locale/pa/LC_MESSAGES/gtk20.mo +0 -0
  1597. data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20-properties.mo +0 -0
  1598. data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
  1599. data/vendor/local/share/locale/ps/LC_MESSAGES/gtk20-properties.mo +0 -0
  1600. data/vendor/local/share/locale/ps/LC_MESSAGES/gtk20.mo +0 -0
  1601. data/vendor/local/share/locale/pt/LC_MESSAGES/gtk20-properties.mo +0 -0
  1602. data/vendor/local/share/locale/pt/LC_MESSAGES/gtk20.mo +0 -0
  1603. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk20-properties.mo +0 -0
  1604. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk20.mo +0 -0
  1605. data/vendor/local/share/locale/ro/LC_MESSAGES/gtk20-properties.mo +0 -0
  1606. data/vendor/local/share/locale/ro/LC_MESSAGES/gtk20.mo +0 -0
  1607. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
  1608. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
  1609. data/vendor/local/share/locale/rw/LC_MESSAGES/gtk20-properties.mo +0 -0
  1610. data/vendor/local/share/locale/rw/LC_MESSAGES/gtk20.mo +0 -0
  1611. data/vendor/local/share/locale/si/LC_MESSAGES/gtk20-properties.mo +0 -0
  1612. data/vendor/local/share/locale/si/LC_MESSAGES/gtk20.mo +0 -0
  1613. data/vendor/local/share/locale/sk/LC_MESSAGES/gtk20-properties.mo +0 -0
  1614. data/vendor/local/share/locale/sk/LC_MESSAGES/gtk20.mo +0 -0
  1615. data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20-properties.mo +0 -0
  1616. data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
  1617. data/vendor/local/share/locale/sq/LC_MESSAGES/gtk20-properties.mo +0 -0
  1618. data/vendor/local/share/locale/sq/LC_MESSAGES/gtk20.mo +0 -0
  1619. data/vendor/local/share/locale/sr/LC_MESSAGES/gtk20-properties.mo +0 -0
  1620. data/vendor/local/share/locale/sr/LC_MESSAGES/gtk20.mo +0 -0
  1621. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk20-properties.mo +0 -0
  1622. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk20.mo +0 -0
  1623. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk20-properties.mo +0 -0
  1624. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk20.mo +0 -0
  1625. data/vendor/local/share/locale/sv/LC_MESSAGES/gtk20-properties.mo +0 -0
  1626. data/vendor/local/share/locale/sv/LC_MESSAGES/gtk20.mo +0 -0
  1627. data/vendor/local/share/locale/ta/LC_MESSAGES/gtk20-properties.mo +0 -0
  1628. data/vendor/local/share/locale/ta/LC_MESSAGES/gtk20.mo +0 -0
  1629. data/vendor/local/share/locale/te/LC_MESSAGES/gtk20-properties.mo +0 -0
  1630. data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
  1631. data/vendor/local/share/locale/th/LC_MESSAGES/gtk20-properties.mo +0 -0
  1632. data/vendor/local/share/locale/th/LC_MESSAGES/gtk20.mo +0 -0
  1633. data/vendor/local/share/locale/tk/LC_MESSAGES/gtk20-properties.mo +0 -0
  1634. data/vendor/local/share/locale/tk/LC_MESSAGES/gtk20.mo +0 -0
  1635. data/vendor/local/share/locale/tr/LC_MESSAGES/gtk20-properties.mo +0 -0
  1636. data/vendor/local/share/locale/tr/LC_MESSAGES/gtk20.mo +0 -0
  1637. data/vendor/local/share/locale/tt/LC_MESSAGES/gtk20-properties.mo +0 -0
  1638. data/vendor/local/share/locale/tt/LC_MESSAGES/gtk20.mo +0 -0
  1639. data/vendor/local/share/locale/ug/LC_MESSAGES/gtk20-properties.mo +0 -0
  1640. data/vendor/local/share/locale/ug/LC_MESSAGES/gtk20.mo +0 -0
  1641. data/vendor/local/share/locale/uk/LC_MESSAGES/gtk20-properties.mo +0 -0
  1642. data/vendor/local/share/locale/uk/LC_MESSAGES/gtk20.mo +0 -0
  1643. data/vendor/local/share/locale/ur/LC_MESSAGES/gtk20-properties.mo +0 -0
  1644. data/vendor/local/share/locale/ur/LC_MESSAGES/gtk20.mo +0 -0
  1645. data/vendor/local/share/locale/uz/LC_MESSAGES/gtk20-properties.mo +0 -0
  1646. data/vendor/local/share/locale/uz/LC_MESSAGES/gtk20.mo +0 -0
  1647. data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk20-properties.mo +0 -0
  1648. data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk20.mo +0 -0
  1649. data/vendor/local/share/locale/vi/LC_MESSAGES/gtk20-properties.mo +0 -0
  1650. data/vendor/local/share/locale/vi/LC_MESSAGES/gtk20.mo +0 -0
  1651. data/vendor/local/share/locale/wa/LC_MESSAGES/gtk20-properties.mo +0 -0
  1652. data/vendor/local/share/locale/wa/LC_MESSAGES/gtk20.mo +0 -0
  1653. data/vendor/local/share/locale/xh/LC_MESSAGES/gtk20-properties.mo +0 -0
  1654. data/vendor/local/share/locale/xh/LC_MESSAGES/gtk20.mo +0 -0
  1655. data/vendor/local/share/locale/yi/LC_MESSAGES/gtk20-properties.mo +0 -0
  1656. data/vendor/local/share/locale/yi/LC_MESSAGES/gtk20.mo +0 -0
  1657. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk20-properties.mo +0 -0
  1658. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk20.mo +0 -0
  1659. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20-properties.mo +0 -0
  1660. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
  1661. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20-properties.mo +0 -0
  1662. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
  1663. data/vendor/local/share/themes/Default/gtk-2.0-key/gtkrc +3 -0
  1664. data/vendor/local/share/themes/Emacs/gtk-2.0-key/gtkrc +113 -0
  1665. data/vendor/local/share/themes/MS-Windows/gtk-2.0/gtkrc +66 -0
  1666. data/vendor/local/share/themes/Raleigh/gtk-2.0/gtkrc +3 -0
  1667. metadata +1750 -0
@@ -0,0 +1,53 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GTK+ 2 Reference Manual: Using GTK+ on Mac OS X</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
8
+ <link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
9
+ <link rel="prev" href="gtk-windows.html" title="Using GTK+ on Windows">
10
+ <link rel="next" href="gtk-directfb.html" title="Using GTK+ on DirectFB">
11
+ <meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts"></td>
17
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
+ <td><a accesskey="u" href="gtk.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="p" href="gtk-windows.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
+ <td><a accesskey="n" href="gtk-directfb.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21
+ </tr></table>
22
+ <div class="refentry">
23
+ <a name="gtk-osx"></a><div class="titlepage"></div>
24
+ <div class="refnamediv"><table width="100%"><tr>
25
+ <td valign="top">
26
+ <h2><span class="refentrytitle">Using GTK+ on Mac OS X</span></h2>
27
+ <p>Using GTK+ on Mac OS X —
28
+ OS X-specific aspects of using GTK+
29
+ </p>
30
+ </td>
31
+ <td class="gallery_image" valign="top" align="right"></td>
32
+ </tr></table></div>
33
+ <div class="refsect1">
34
+ <a name="id-1.2.8.3"></a><h2>Using GTK+ on Mac OS X</h2>
35
+ <p>
36
+ The Mac OS X port of GTK+ is an implementation of GDK (and therefore GTK+)
37
+ on top of the Quarz API.
38
+ </p>
39
+ <p>
40
+ Currently, the Mac OS X port does not use any additional commandline options
41
+ or environment variables.
42
+ </p>
43
+ <p>
44
+ For up-to-date information about the current status of this port, see the
45
+ <a class="ulink" href="http://live.gnome.org/GTK+/OSX" target="_top">project page</a>.
46
+ </p>
47
+ </div>
48
+ </div>
49
+ <div class="footer">
50
+ <hr>
51
+ Generated by GTK-Doc V1.21.1</div>
52
+ </body>
53
+ </html>
@@ -0,0 +1,89 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GTK+ 2 Reference Manual: gtk-query-immodules-2.0</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
8
+ <link rel="up" href="pt05.html" title="Part V. GTK+ Tools">
9
+ <link rel="prev" href="pt05.html" title="Part V. GTK+ Tools">
10
+ <link rel="next" href="gtk-update-icon-cache.html" title="gtk-update-icon-cache">
11
+ <meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts"></td>
17
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
+ <td><a accesskey="u" href="pt05.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="p" href="pt05.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
+ <td><a accesskey="n" href="gtk-update-icon-cache.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21
+ </tr></table>
22
+ <div class="refentry">
23
+ <a name="gtk-query-immodules-2.0"></a><div class="titlepage"></div>
24
+ <div class="refnamediv"><table width="100%"><tr>
25
+ <td valign="top">
26
+ <h2><span class="refentrytitle">gtk-query-immodules-2.0</span></h2>
27
+ <p>gtk-query-immodules-2.0 — Input method module registration utility</p>
28
+ </td>
29
+ <td class="gallery_image" valign="top" align="right"></td>
30
+ </tr></table></div>
31
+ <div class="refsynopsisdiv">
32
+ <h2>Synopsis</h2>
33
+ <div class="cmdsynopsis"><p><code class="command">gtk-query-immodules-2.0</code> [--update-cache] [module...]</p></div>
34
+ </div>
35
+ <div class="refsect1">
36
+ <a name="id-1.6.2.4"></a><h2>Description</h2>
37
+ <p>
38
+ <span class="command"><strong>gtk-query-immodules-2.0</strong></span> collects information about loadable
39
+ input method modules for GTK+ and writes it to the default cache file
40
+ location, or to <code class="filename">stdout</code>.
41
+ </p>
42
+ <p>
43
+ If called without arguments, it looks for modules in the GTK+ input method
44
+ module path.
45
+ </p>
46
+ <p>
47
+ If called with arguments, it looks for the specified modules. The arguments
48
+ may be absolute or relative paths.
49
+ </p>
50
+ <p>
51
+ Normally, the output of <span class="command"><strong>gtk-query-immodules-2.0</strong></span> is written
52
+ to <code class="filename"><em class="replaceable"><code>libdir</code></em>/gtk-2.0/2.10.0/immodules.cache</code>, where GTK+ looks for it by default. If it is written to some other
53
+ location, the environment variable <code class="envar">GTK_IM_MODULE_FILE</code>
54
+ can be set to point GTK+ at the file.
55
+ </p>
56
+ </div>
57
+ <div class="refsect1">
58
+ <a name="id-1.6.2.5"></a><h2>Options</h2>
59
+ <div class="variablelist"><table border="0" class="variablelist">
60
+ <colgroup>
61
+ <col align="left" valign="top">
62
+ <col>
63
+ </colgroup>
64
+ <tbody><tr>
65
+ <td><p><span class="term">--update-cache</span></p></td>
66
+ <td><p>Write the output to the default cache location instead of
67
+ <code class="filename">stdout</code></p></td>
68
+ </tr></tbody>
69
+ </table></div>
70
+ </div>
71
+ <div class="refsect1">
72
+ <a name="id-1.6.2.6"></a><h2>Environment</h2>
73
+ <p>
74
+ The environment variable <code class="envar">GTK_PATH</code> can
75
+ be used to prepend directories to the input method module path.
76
+ </p>
77
+ </div>
78
+ <div class="refsect1">
79
+ <a name="id-1.6.2.7"></a><h2>Bugs</h2>
80
+ <p>
81
+ None known yet.
82
+ </p>
83
+ </div>
84
+ </div>
85
+ <div class="footer">
86
+ <hr>
87
+ Generated by GTK-Doc V1.21.1</div>
88
+ </body>
89
+ </html>
@@ -0,0 +1,1427 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
+ <title>GTK+ 2 Reference Manual: Common Questions</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
+ <link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
8
+ <link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
9
+ <link rel="prev" href="gtk-resources.html" title="Mailing lists and bug reports">
10
+ <link rel="next" href="chap-drawing-model.html" title="The GTK+ Drawing Model">
11
+ <meta name="generator" content="GTK-Doc V1.21.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16
+ <td width="100%" align="left" class="shortcuts"></td>
17
+ <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
18
+ <td><a accesskey="u" href="gtk.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
19
+ <td><a accesskey="p" href="gtk-resources.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
20
+ <td><a accesskey="n" href="chap-drawing-model.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
21
+ </tr></table>
22
+ <div class="refentry">
23
+ <a name="gtk-question-index"></a><div class="titlepage"></div>
24
+ <div class="refnamediv"><table width="100%"><tr>
25
+ <td valign="top">
26
+ <h2><span class="refentrytitle">Common Questions</span></h2>
27
+ <p>Common Questions —
28
+ Find answers to common questions in the GTK+ manual
29
+ </p>
30
+ </td>
31
+ <td class="gallery_image" valign="top" align="right"></td>
32
+ </tr></table></div>
33
+ <div class="refsect1">
34
+ <a name="id-1.2.11.3"></a><h2>Questions and Answers</h2>
35
+ <p>
36
+ This is an "index" of the reference manual organized by common "How do
37
+ I..." questions. If you aren't sure which documentation to read for
38
+ the question you have, this list is a good place to start.
39
+ </p>
40
+ <div class="qandaset">
41
+ <a name="id-1.2.11.3.3"></a><table border="0" style="width: 100%;">
42
+ <colgroup>
43
+ <col align="left" width="1%">
44
+ <col>
45
+ </colgroup>
46
+ <tbody>
47
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
48
+ <a name="id-1.2.11.3.3.1"></a>1. General</h5></td></tr>
49
+ <tr class="question">
50
+ <td align="left" valign="top">
51
+ <a name="id-1.2.11.3.3.1.2"></a><a name="id-1.2.11.3.3.1.2.1"></a><p><b>1.1.</b></p>
52
+ </td>
53
+ <td align="left" valign="top"><p>
54
+ How do I get started with GTK+?
55
+ </p></td>
56
+ </tr>
57
+ <tr class="answer">
58
+ <td align="left" valign="top"></td>
59
+ <td align="left" valign="top"><p>
60
+ The GTK+ <a class="ulink" href="http://www.gtk.org" target="_top">website</a> offers a
61
+ <a class="ulink" href="http://www.gtk.org/tutorial" target="_top">tutorial</a> and a
62
+ <a class="ulink" href="http://www.gtk.org/faq" target="_top">FAQ</a>. More documentation ranging
63
+ from whitepapers to online books can be found at the
64
+ <a class="ulink" href="http://developer.gnome.org/doc" target="_top">GNOME developer's site</a>.
65
+ After studying these materials you should be well prepared to come back to
66
+ this reference manual for details.
67
+ </p></td>
68
+ </tr>
69
+ <tr class="question">
70
+ <td align="left" valign="top">
71
+ <a name="id-1.2.11.3.3.1.3"></a><a name="id-1.2.11.3.3.1.3.1"></a><p><b>1.2.</b></p>
72
+ </td>
73
+ <td align="left" valign="top"><p>
74
+ Where can I get help with GTK+, submit a bug report, or make a feature
75
+ request?
76
+ </p></td>
77
+ </tr>
78
+ <tr class="answer">
79
+ <td align="left" valign="top"></td>
80
+ <td align="left" valign="top"><p>
81
+ See the <a class="link" href="gtk-resources.html" title="Mailing lists and bug reports">documentation on this topic</a>.
82
+ </p></td>
83
+ </tr>
84
+ <tr class="question">
85
+ <td align="left" valign="top">
86
+ <a name="id-1.2.11.3.3.1.4"></a><a name="id-1.2.11.3.3.1.4.1"></a><p><b>1.3.</b></p>
87
+ </td>
88
+ <td align="left" valign="top"><p>How do I port from one GTK+
89
+ version to another?</p></td>
90
+ </tr>
91
+ <tr class="answer">
92
+ <td align="left" valign="top"></td>
93
+ <td align="left" valign="top">
94
+ <p>
95
+ See the <a class="link" href="gtk-changes-2-0.html" title="Changes from 1.2 to 2.0">list of incompatible changes
96
+ from 1.2 to 2.0</a>. Also, the <a class="ulink" href="http://developer.gnome.org/dotplan/porting/" target="_top">GNOME 2.0 porting
97
+ guide</a> on <a class="ulink" href="http://developer.gnome.org" target="_top">http://developer.gnome.org</a>
98
+ has some more detailed discussion of porting from 1.2 to 2.0.
99
+ You may also find useful information in the documentation for
100
+ specific widgets and functions.
101
+ </p>
102
+ <p>
103
+ If you have a question not covered in the manual, feel free to
104
+ ask on the mailing lists and please <a class="ulink" href="http://bugzilla.gnome.org" target="_top">file a bug report</a> against the
105
+ documentation.
106
+ </p>
107
+ </td>
108
+ </tr>
109
+ <tr class="question">
110
+ <td align="left" valign="top">
111
+ <a name="id-1.2.11.3.3.1.5"></a><a name="id-1.2.11.3.3.1.5.1"></a><p><b>1.4.</b></p>
112
+ </td>
113
+ <td align="left" valign="top"><p>
114
+ How does memory management work in GTK+? Should I free data returned
115
+ from functions?
116
+ </p></td>
117
+ </tr>
118
+ <tr class="answer">
119
+ <td align="left" valign="top"></td>
120
+ <td align="left" valign="top">
121
+ <p>
122
+ See the documentation for <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> and <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a>. For <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> note
123
+ specifically <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> is a subclass
124
+ of <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> so the same points apply, except that it has a "floating" state
125
+ (explained in its documentation).
126
+ </p>
127
+ <p>
128
+ For strings returned from functions, they will be declared "const"
129
+ if they should not be freed. Non-const strings should be
130
+ freed with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. Arrays follow the same rule. (If you find an exception
131
+ to the rules, please report a bug to <a class="ulink" href="http://bugzilla.gnome.org" target="_top">http://bugzilla.gnome.org</a>.)
132
+ </p>
133
+ </td>
134
+ </tr>
135
+ <tr class="question">
136
+ <td align="left" valign="top">
137
+ <a name="id-1.2.11.3.3.1.6"></a><a name="id-1.2.11.3.3.1.6.1"></a><p><b>1.5.</b></p>
138
+ </td>
139
+ <td align="left" valign="top"><p>
140
+ Why does my program leak memory, if I destroy a widget immediately
141
+ after creating it ?
142
+ </p></td>
143
+ </tr>
144
+ <tr class="answer">
145
+ <td align="left" valign="top"></td>
146
+ <td align="left" valign="top">
147
+ <p>
148
+ If <span class="structname">GtkFoo</span> isn't a toplevel window, then
149
+ </p>
150
+ <div class="informalexample">
151
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
152
+ <tbody>
153
+ <tr>
154
+ <td class="listing_lines" align="right"><pre>1
155
+ 2</pre></td>
156
+ <td class="listing_code"><pre class="programlisting"><span class="normal">foo </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gtk_foo_new</span><span class="normal"> </span><span class="symbol">();</span>
157
+ <span class="function"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
158
+ </tr>
159
+ </tbody>
160
+ </table>
161
+ </div>
162
+
163
+ <p>
164
+ is a memory leak, because no one assumed the initial floating
165
+ reference. If you are using a widget and you aren't immediately
166
+ packing it into a container, then you probably want standard
167
+ reference counting, not floating reference counting.
168
+ </p>
169
+ <p>
170
+ To to get this, you must acquire a reference to the widget and drop the
171
+ floating reference (<span class="quote">“<span class="quote">ref and sink</span>”</span> in GTK+ parlance) after
172
+ creating it:
173
+ </p>
174
+ <div class="informalexample">
175
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
176
+ <tbody>
177
+ <tr>
178
+ <td class="listing_lines" align="right"><pre>1
179
+ 2
180
+ 3</pre></td>
181
+ <td class="listing_code"><pre class="programlisting"><span class="normal">foo </span><span class="symbol">=</span><span class="normal"> </span><span class="function">gtk_foo_new</span><span class="normal"> </span><span class="symbol">();</span>
182
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-ref">g_object_ref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span><span class="normal"> </span>
183
+ <span class="function"><a href="GtkObject.html#gtk-object-sink">gtk_object_sink</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">));</span></pre></td>
184
+ </tr>
185
+ </tbody>
186
+ </table>
187
+ </div>
188
+
189
+ <p>
190
+ When you want to get rid of the widget, you must call <a class="link" href="GtkWidget.html#gtk-widget-destroy" title="gtk_widget_destroy ()"><code class="function">gtk_widget_destroy()</code></a>
191
+ to break any external connections to the widget before dropping your
192
+ reference:
193
+ </p>
194
+ <div class="informalexample">
195
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
196
+ <tbody>
197
+ <tr>
198
+ <td class="listing_lines" align="right"><pre>1
199
+ 2</pre></td>
200
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span><span class="normal"> </span>
201
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
202
+ </tr>
203
+ </tbody>
204
+ </table>
205
+ </div>
206
+
207
+ <p>
208
+ When you immediately add a widget to a container, it takes care of
209
+ assuming the initial floating reference and you don't have to worry
210
+ about reference counting at all ... just call <a class="link" href="GtkWidget.html#gtk-widget-destroy" title="gtk_widget_destroy ()"><code class="function">gtk_widget_destroy()</code></a>
211
+ to get rid of the widget.
212
+ </p>
213
+ </td>
214
+ </tr>
215
+ <tr class="question">
216
+ <td align="left" valign="top">
217
+ <a name="id-1.2.11.3.3.1.7"></a><a name="id-1.2.11.3.3.1.7.1"></a><p><b>1.6.</b></p>
218
+ </td>
219
+ <td align="left" valign="top"><p>
220
+ How do I use GTK+ with threads?
221
+ </p></td>
222
+ </tr>
223
+ <tr class="answer">
224
+ <td align="left" valign="top"></td>
225
+ <td align="left" valign="top"><p>
226
+ This is covered in the <GTKDOCLINK HREF="gdk-Threads">GDK threads
227
+ documentation</GTKDOCLINK>. See also the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Threads.html">GThread</a>
228
+ documentation for portable threading primitives.
229
+ </p></td>
230
+ </tr>
231
+ <tr class="question">
232
+ <td align="left" valign="top">
233
+ <a name="id-1.2.11.3.3.1.8"></a><a name="id-1.2.11.3.3.1.8.1"></a><p><b>1.7.</b></p>
234
+ </td>
235
+ <td align="left" valign="top"><p>
236
+ How do I internationalize a GTK+ program?
237
+ </p></td>
238
+ </tr>
239
+ <tr class="answer">
240
+ <td align="left" valign="top"></td>
241
+ <td align="left" valign="top">
242
+ <p>
243
+ Most people use <a class="ulink" href="http://www.gnu.org/software/gettext/" target="_top">GNU
244
+ gettext</a>, already required in order to install GLib. On a UNIX
245
+ or Linux system with gettext installed, type <code class="literal">info gettext</code>
246
+ to read the documentation.
247
+ </p>
248
+ <p>
249
+ The short checklist on how to use gettext is: call <code class="function">bindtextdomain()</code> so gettext
250
+ can find the files containing your translations, call <code class="function">textdomain()</code> to set the
251
+ default translation domain, call <code class="function">bind_textdomain_codeset()</code> to request that
252
+ all translated strings are returned in UTF-8, then call <code class="function">gettext()</code> to look up
253
+ each string to be translated in the default domain.
254
+ Conventionally, people define macros as follows for convenience:
255
+ </p>
256
+ <div class="informalexample">
257
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
258
+ <tbody>
259
+ <tr>
260
+ <td class="listing_lines" align="right"><pre>1
261
+ 2</pre></td>
262
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">gettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span>
263
+ <span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS">N_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> x</span></pre></td>
264
+ </tr>
265
+ </tbody>
266
+ </table>
267
+ </div>
268
+
269
+ <p>
270
+ You use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS"><code class="function">N_()</code></a> (N stands for no-op) to mark a string for translation in a
271
+ context where a function call to <code class="function">gettext()</code> is not allowed, such as in an
272
+ array initializer.
273
+ You eventually have to call <code class="function">gettext()</code> on the string to actually fetch the
274
+ translation. <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro"><code class="function">_()</code></a> both marks the string for translation and actually
275
+ translates it.
276
+ </p>
277
+ <p>
278
+ Nowadays, GLib provides the common shorthand macros in the header file
279
+ <code class="filename">gi18n.h</code>, so you don't have to define them yourself,
280
+ just include that header.
281
+ </p>
282
+ <p>
283
+ Code using these macros ends up looking like this:
284
+ </p>
285
+ <div class="informalexample">
286
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
287
+ <tbody>
288
+ <tr>
289
+ <td class="listing_lines" align="right"><pre>1
290
+ 2
291
+ 3
292
+ 4
293
+ 5
294
+ 6
295
+ 7
296
+ 8
297
+ 9
298
+ 10
299
+ 11
300
+ 12
301
+ 13</pre></td>
302
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;gi18n.h&gt;</span>
303
+
304
+ <span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">global_variable </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#N-:CAPS">N_</a></span><span class="symbol">(</span><span class="string">"Translate this string"</span><span class="symbol">);</span>
305
+
306
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
307
+ <span class="function">make_widgets</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
308
+ <span class="cbracket">{</span>
309
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label1</span><span class="symbol">;</span>
310
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label2</span><span class="symbol">;</span>
311
+
312
+ <span class="normal"> label1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="string">"Another string to translate"</span><span class="symbol">));</span>
313
+ <span class="normal"> label2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">global_variable</span><span class="symbol">));</span>
314
+ <span class="symbol">...</span></pre></td>
315
+ </tr>
316
+ </tbody>
317
+ </table>
318
+ </div>
319
+
320
+ <p>
321
+ </p>
322
+ <p>
323
+ Libraries using gettext should use <code class="function">dgettext()</code> instead of <code class="function">gettext()</code>, which
324
+ allows them to specify the translation domain each time they ask for a
325
+ translation. Libraries should also avoid calling <code class="function">textdomain()</code>, since they
326
+ will be specifying the domain instead of using the default. For <code class="function">dgettext()</code>
327
+ the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro"><code class="function">_()</code></a> macro can be defined as:
328
+ </p>
329
+ <div class="informalexample">
330
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
331
+ <tbody>
332
+ <tr>
333
+ <td class="listing_lines" align="right"><pre>1</pre></td>
334
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-I18N.html#gettext-macro">_</a></span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">dgettext</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"MyDomain"</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
335
+ </tr>
336
+ </tbody>
337
+ </table>
338
+ </div>
339
+
340
+ <p>
341
+ </p>
342
+ <p>
343
+ Again, GLib comes with the <code class="filename">gi18n-lib.h</code>, saving you the
344
+ trouble of defining the macros by hand. The macros in that header expect the
345
+ translation domain to be specified by the <code class="literal">GETTEXT_PACKAGE</code> macro.
346
+ </p>
347
+ </td>
348
+ </tr>
349
+ <tr class="question">
350
+ <td align="left" valign="top">
351
+ <a name="id-1.2.11.3.3.1.9"></a><a name="id-1.2.11.3.3.1.9.1"></a><p><b>1.8.</b></p>
352
+ </td>
353
+ <td align="left" valign="top"><p>
354
+ How do I use non-ASCII characters in GTK+ programs ?
355
+ </p></td>
356
+ </tr>
357
+ <tr class="answer">
358
+ <td align="left" valign="top"></td>
359
+ <td align="left" valign="top">
360
+ <p>
361
+ GTK+ uses <a class="ulink" href="http://www.unicode.org" target="_top">Unicode</a> (more exactly
362
+ UTF-8) for all text. UTF-8 encodes each Unicode codepoint as a sequence of
363
+ one to six bytes and has a number of nice properties which make it a good
364
+ choice for working with Unicode text in C programs:
365
+ </p>
366
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
367
+ <li class="listitem"><p>
368
+ ASCII characters are encoded by their familiar ASCII codepoints.
369
+ </p></li>
370
+ <li class="listitem"><p>
371
+ ASCII characters never appear as part of any other character.
372
+ </p></li>
373
+ <li class="listitem"><p>
374
+ The zero byte doesn't occur as part of a character, so that UTF-8 strings
375
+ can be manipulated with the usual C library functions for handling
376
+ zero-terminated strings.
377
+ </p></li>
378
+ </ul></div>
379
+ <p>
380
+ More information about Unicode and UTF-8 can be found in the
381
+ <a class="ulink" href="http://www.cl.cam.ac.uk/~mgk25/unicode.html" target="_top">UTF-8 and Unicode i
382
+ FAQ for Unix/Linux</a>.
383
+ GLib provides functions for converting strings between UTF-8 and other
384
+ encodings, see <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-locale-to-utf8"><code class="function">g_locale_to_utf8()</code></a> and <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert"><code class="function">g_convert()</code></a>.
385
+ </p>
386
+ <p>
387
+ Text coming from external sources (e.g. files or user input), has to be
388
+ converted to UTF-8 before being handed over to GTK+. The following example
389
+ writes the content of a IS0-8859-1 encoded text file to
390
+ <code class="literal">stdout</code>:
391
+ </p>
392
+ <div class="informalexample">
393
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
394
+ <tbody>
395
+ <tr>
396
+ <td class="listing_lines" align="right"><pre>1
397
+ 2
398
+ 3
399
+ 4
400
+ 5
401
+ 6
402
+ 7
403
+ 8
404
+ 9
405
+ 10
406
+ 11
407
+ 12
408
+ 13
409
+ 14
410
+ 15
411
+ 16
412
+ 17
413
+ 18</pre></td>
414
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">utf8_text</span><span class="symbol">;</span>
415
+ <span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
416
+ <span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">;</span>
417
+
418
+ <span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html#g-file-get-contents">g_file_get_contents</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">length</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">))</span><span class="normal"> </span>
419
+ <span class="normal"> </span><span class="cbracket">{</span>
420
+ <span class="normal"> utf8_text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert">g_convert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> length</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span>
421
+ <span class="normal"> NULL</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>
422
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
423
+ <span class="normal"> </span><span class="cbracket">{</span>
424
+ <span class="normal"> </span><span class="function">fprintf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Couldn't convert file %s to UTF-8</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span>
425
+ <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free">g_error_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
426
+ <span class="normal"> </span><span class="cbracket">}</span>
427
+ <span class="normal"> </span><span class="keyword">else</span>
428
+ <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">utf8_text</span><span class="symbol">);</span>
429
+ <span class="normal"> </span><span class="cbracket">}</span>
430
+ <span class="keyword">else</span><span class="normal"> </span>
431
+ <span class="normal"> </span><span class="function">fprintf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stderr</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Unable to read file %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span></pre></td>
432
+ </tr>
433
+ </tbody>
434
+ </table>
435
+ </div>
436
+
437
+ <p>
438
+ </p>
439
+ <p>
440
+ For string literals in the source code, there are several alternatives for
441
+ handling non-ASCII content:
442
+ </p>
443
+ <div class="variablelist"><table border="0" class="variablelist">
444
+ <colgroup>
445
+ <col align="left" valign="top">
446
+ <col>
447
+ </colgroup>
448
+ <tbody>
449
+ <tr>
450
+ <td><p><span class="term">direct UTF-8</span></p></td>
451
+ <td><p>
452
+ If your editor and compiler are capable of handling UTF-8 encoded sources,
453
+ it is very convenient to simply use UTF-8 for string literals, since it allows
454
+ you to edit the strings in "wysiwyg". Note that choosing this option may
455
+ reduce the portability of your code.
456
+ </p></td>
457
+ </tr>
458
+ <tr>
459
+ <td><p><span class="term">escaped UTF-8</span></p></td>
460
+ <td><p>
461
+ Even if your toolchain can't handle UTF-8 directly, you can still encode string
462
+ literals in UTF-8 by using octal or hexadecimal escapes like
463
+ <code class="literal">\212</code> or <code class="literal">\xa8</code> to
464
+ encode each byte. This is portable, but modifying the escaped strings is not
465
+ very convenient. Be careful when mixing hexadecimal escapes with ordinary text;
466
+ <code class="literal">"\xa8abcd"</code> is a string of length 1 !
467
+ </p></td>
468
+ </tr>
469
+ <tr>
470
+ <td><p><span class="term">runtime conversion</span></p></td>
471
+ <td><p>
472
+ If the string literals can be represented in an encoding which your toolchain
473
+ can handle (e.g. IS0-8859-1), you can write your source files in that encoding
474
+ and use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert"><code class="function">g_convert()</code></a> to convert the strings to UTF-8 at runtime. Note that this
475
+ has some runtime overhead, so you may want to move the conversion out of inner
476
+ loops.
477
+ </p></td>
478
+ </tr>
479
+ </tbody>
480
+ </table></div>
481
+ <p>
482
+ Here is an example showing the three approaches using the copyright sign
483
+ © which has Unicode and ISO-8859-1 codepoint 169 and is represented in
484
+ UTF-8 by the two bytes 194, 169:
485
+ </p>
486
+ <div class="informalexample">
487
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
488
+ <tbody>
489
+ <tr>
490
+ <td class="listing_lines" align="right"><pre>1
491
+ 2
492
+ 3
493
+ 4
494
+ 5</pre></td>
495
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"direct UTF-8: ©"</span><span class="symbol">);</span>
496
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"escaped UTF-8: </span><span class="specialchar">\3</span><span class="string">02</span><span class="specialchar">\2</span><span class="string">51"</span><span class="symbol">);</span>
497
+ <span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-convert">g_convert</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"runtime conversion: ©"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
498
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html#g-print">g_print</a></span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
499
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
500
+ </tr>
501
+ </tbody>
502
+ </table>
503
+ </div>
504
+
505
+ <p>
506
+ </p>
507
+ <p>
508
+ If you are using <code class="function">gettext()</code> to localize your application, you need to
509
+ call <code class="function">bind_textdomain_codeset()</code> to ensure that translated strings are
510
+ returned in UTF-8 encoding.
511
+ </p>
512
+ </td>
513
+ </tr>
514
+ <tr class="question">
515
+ <td align="left" valign="top">
516
+ <a name="id-1.2.11.3.3.1.10"></a><a name="id-1.2.11.3.3.1.10.1"></a><p><b>1.9.</b></p>
517
+ </td>
518
+ <td align="left" valign="top"><p>
519
+ How do I use GTK+ with C++?
520
+ </p></td>
521
+ </tr>
522
+ <tr class="answer">
523
+ <td align="left" valign="top"></td>
524
+ <td align="left" valign="top">
525
+ <p>
526
+ There are two ways to approach this. The GTK+ header files use the subset
527
+ of C that's also valid C++, so you can simply use the normal GTK+ API
528
+ in a C++ program. Alternatively, you can use a "C++ binding"
529
+ such as <a class="ulink" href="http://gtkmm.sourceforge.net/" target="_top">gtkmm</a>
530
+ which provides a native C++ API.
531
+ </p>
532
+ <p>
533
+ When using GTK+ directly, keep in mind that only functions can be
534
+ connected to signals, not methods. So you will need to use global
535
+ functions or "static" class functions for signal connections.
536
+ </p>
537
+ <p>
538
+ Another common issue when using GTK+ directly is that
539
+ C++ will not implicitly convert an integer to an enumeration.
540
+ This comes up when using bitfields; in C you can write the following
541
+ code:
542
+ </p>
543
+ <div class="informalexample">
544
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
545
+ <tbody>
546
+ <tr>
547
+ <td class="listing_lines" align="right"><pre>1
548
+ 2</pre></td>
549
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#gdk-window-set-events">gdk_window_set_events</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gdk_window</span><span class="symbol">,</span><span class="normal"> </span>
550
+ <span class="normal"> GDK_BUTTON_PRESS_MASK </span><span class="symbol">|</span><span class="normal"> GDK_BUTTON_RELEASE_MASK</span><span class="symbol">);</span></pre></td>
551
+ </tr>
552
+ </tbody>
553
+ </table>
554
+ </div>
555
+
556
+ <p>
557
+ while in C++ you must write:
558
+ </p>
559
+ <div class="informalexample">
560
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
561
+ <tbody>
562
+ <tr>
563
+ <td class="listing_lines" align="right"><pre>1
564
+ 2</pre></td>
565
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/gdk3/gdk2-Windows.html#gdk-window-set-events">gdk_window_set_events</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gdk_window</span><span class="symbol">,</span><span class="normal"> </span>
566
+ <span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="http://library.gnome.org/devel/gdk3/gdk2-Events.html#GdkEventMask">GdkEventMask</a></span><span class="symbol">)</span><span class="normal"> GDK_BUTTON_PRESS_MASK </span><span class="symbol">|</span><span class="normal"> GDK_BUTTON_RELEASE_MASK</span><span class="symbol">);</span></pre></td>
567
+ </tr>
568
+ </tbody>
569
+ </table>
570
+ </div>
571
+
572
+ <p>
573
+ There are very few functions that require this cast, however.
574
+ </p>
575
+ </td>
576
+ </tr>
577
+ <tr class="question">
578
+ <td align="left" valign="top">
579
+ <a name="id-1.2.11.3.3.1.11"></a><a name="id-1.2.11.3.3.1.11.1"></a><p><b>1.10.</b></p>
580
+ </td>
581
+ <td align="left" valign="top"><p>
582
+ How do I use GTK+ with other non-C languages?
583
+ </p></td>
584
+ </tr>
585
+ <tr class="answer">
586
+ <td align="left" valign="top"></td>
587
+ <td align="left" valign="top"><p>
588
+ See the <a class="ulink" href="http://www.gtk.org/bindings.html" target="_top">list of language
589
+ bindings</a> on <a class="ulink" href="http://www.gtk.org" target="_top">http://www.gtk.org</a>.
590
+ </p></td>
591
+ </tr>
592
+ <tr class="question">
593
+ <td align="left" valign="top">
594
+ <a name="id-1.2.11.3.3.1.12"></a><a name="id-1.2.11.3.3.1.12.1"></a><p><b>1.11.</b></p>
595
+ </td>
596
+ <td align="left" valign="top"><p>
597
+ How do I load an image or animation from a file?
598
+ </p></td>
599
+ </tr>
600
+ <tr class="answer">
601
+ <td align="left" valign="top"></td>
602
+ <td align="left" valign="top">
603
+ <p>
604
+ To load an image file straight into a display widget, use
605
+ <a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file"><code class="function">gtk_image_new_from_file()</code></a> <a href="#ftn.id-1.2.11.3.3.1.12.2.1.2" class="footnote" name="id-1.2.11.3.3.1.12.2.1.2"><sup class="footnote">[1]</sup></a>.
606
+ To load an image for another purpose, use <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a>. To i
607
+ load an animation, use <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a>.
608
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-new-from-file"><code class="function">gdk_pixbuf_animation_new_from_file()</code></a> can also load non-animated images, so
609
+ use it in combination with <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-Animations.html#gdk-pixbuf-animation-is-static-image"><code class="function">gdk_pixbuf_animation_is_static_image()</code></a> to load a
610
+ file of unknown type.
611
+ </p>
612
+ <p>
613
+ To load an image or animation file asynchronously (without blocking), use
614
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/GdkPixbufLoader.html"><span class="type">GdkPixbufLoader</span></a>.
615
+ </p>
616
+ </td>
617
+ </tr>
618
+ <tr class="question">
619
+ <td align="left" valign="top">
620
+ <a name="id-1.2.11.3.3.1.13"></a><a name="id-1.2.11.3.3.1.13.1"></a><p><b>1.12.</b></p>
621
+ </td>
622
+ <td align="left" valign="top"><p>
623
+ How do I draw text ?
624
+ </p></td>
625
+ </tr>
626
+ <tr class="answer">
627
+ <td align="left" valign="top"></td>
628
+ <td align="left" valign="top">
629
+ <p>
630
+ To draw a piece of text, use a Pango layout and <a href="http://library.gnome.org/devel/gdk3/gdk2-Drawing-Primitives.html#gdk-draw-layout"><code class="function">gdk_draw_layout()</code></a>,
631
+ using code like the following:
632
+ </p>
633
+ <div class="informalexample">
634
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
635
+ <tbody>
636
+ <tr>
637
+ <td class="listing_lines" align="right"><pre>1
638
+ 2
639
+ 3
640
+ 4
641
+ 5
642
+ 6</pre></td>
643
+ <td class="listing_code"><pre class="programlisting"><span class="normal">layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-create-pango-layout">gtk_widget_create_pango_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">);</span>
644
+ <span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string">pango_font_description_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Luxi Mono 12"</span><span class="symbol">);</span>
645
+ <span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-font-description">pango_layout_set_font_description</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> fontdesc</span><span class="symbol">);</span><span class="normal"> </span>
646
+ <span class="function"><a href="http://library.gnome.org/devel/gdk3/gdk2-Drawing-Primitives.html#gdk-draw-layout">gdk_draw_layout</a></span><span class="normal"> </span><span class="symbol">(...,</span><span class="normal"> layout</span><span class="symbol">);</span>
647
+ <span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-free">pango_font_description_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
648
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
649
+ </tr>
650
+ </tbody>
651
+ </table>
652
+ </div>
653
+
654
+ <p>
655
+ Do not use the deprecated <a href="http://library.gnome.org/devel/gdk3/gdk2-Fonts.html#GdkFont"><span class="type">GdkFont</span></a> and <a href="http://library.gnome.org/devel/gdk3/gdk2-Drawing-Primitives.html#gdk-draw-text"><code class="function">gdk_draw_text()</code></a>.
656
+ </p>
657
+ <p>
658
+ See also the "Text Handling in GTK 2" section of
659
+ <a class="ulink" href="http://developer.gnome.org/dotplan/porting/" target="_top">Porting applications
660
+ to the GNOME 2.0 platform</a>.
661
+ </p>
662
+ </td>
663
+ </tr>
664
+ <tr class="question">
665
+ <td align="left" valign="top">
666
+ <a name="id-1.2.11.3.3.1.14"></a><a name="id-1.2.11.3.3.1.14.1"></a><p><b>1.13.</b></p>
667
+ </td>
668
+ <td align="left" valign="top"><p>
669
+ How do I measure the size of a piece of text ?
670
+ </p></td>
671
+ </tr>
672
+ <tr class="answer">
673
+ <td align="left" valign="top"></td>
674
+ <td align="left" valign="top">
675
+ <p>
676
+ To obtain the size of a piece of text, use a Pango layout and
677
+ <a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-pixel-size"><code class="function">pango_layout_get_pixel_size()</code></a>, using code like the following:
678
+ </p>
679
+ <div class="informalexample">
680
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
681
+ <tbody>
682
+ <tr>
683
+ <td class="listing_lines" align="right"><pre>1
684
+ 2
685
+ 3
686
+ 4
687
+ 5
688
+ 6</pre></td>
689
+ <td class="listing_code"><pre class="programlisting"><span class="normal">layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-create-pango-layout">gtk_widget_create_pango_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">);</span>
690
+ <span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-from-string">pango_font_description_from_string</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Luxi Mono 12"</span><span class="symbol">);</span>
691
+ <span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-set-font-description">pango_layout_set_font_description</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> fontdesc</span><span class="symbol">);</span><span class="normal"> </span>
692
+ <span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Layout-Objects.html#pango-layout-get-pixel-size">pango_layout_get_pixel_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">width</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">height</span><span class="symbol">);</span>
693
+ <span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/pango/pango-Fonts.html#pango-font-description-free">pango_font_description_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
694
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
695
+ </tr>
696
+ </tbody>
697
+ </table>
698
+ </div>
699
+
700
+ <p>
701
+ Do not use the deprecated function <a href="http://library.gnome.org/devel/gdk3/gdk2-Fonts.html#gdk-text-width"><code class="function">gdk_text_width()</code></a>.
702
+ </p>
703
+ <p>
704
+ See also the "Text Handling in GTK 2" section of
705
+ <a class="ulink" href="http://developer.gnome.org/dotplan/porting/" target="_top">Porting applications
706
+ to the GNOME 2.0 platform</a>.
707
+ </p>
708
+ </td>
709
+ </tr>
710
+ <tr class="question">
711
+ <td align="left" valign="top">
712
+ <a name="id-1.2.11.3.3.1.15"></a><a name="id-1.2.11.3.3.1.15.1"></a><p><b>1.14.</b></p>
713
+ </td>
714
+ <td align="left" valign="top"><p>
715
+ Why are types not registered if I use their <code class="literal">GTK_TYPE_BLAH</code>
716
+ macro ?
717
+ </p></td>
718
+ </tr>
719
+ <tr class="answer">
720
+ <td align="left" valign="top"></td>
721
+ <td align="left" valign="top">
722
+ <p>
723
+ The <code class="literal">GTK_TYPE_BLAH</code> macros are defined as calls to
724
+ <code class="literal"><code class="function">gtk_blah_get_type()</code></code>, and the <code class="literal"><code class="function">_get_type()</code></code> i
725
+ functions are declared as <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html#G-GNUC-CONST:CAPS"><code class="literal">G_GNUC_CONST</code></a> which allows the compiler to optimize
726
+ the call away if it appears that the value is not being used.
727
+ </p>
728
+ <p>
729
+ A common workaround for this problem is to store the result in a volatile
730
+ variable, which keeps the compiler from optimizing the call away.
731
+ </p>
732
+ <div class="informalexample">
733
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
734
+ <tbody>
735
+ <tr>
736
+ <td class="listing_lines" align="right"><pre>1</pre></td>
737
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">volatile</span><span class="normal"> </span><span class="usertype">GType</span><span class="normal"> dummy </span><span class="symbol">=</span><span class="normal"> GTK_TYPE_BLAH</span><span class="symbol">;</span></pre></td>
738
+ </tr>
739
+ </tbody>
740
+ </table>
741
+ </div>
742
+
743
+ <p>
744
+ </p>
745
+ </td>
746
+ </tr>
747
+ <tr class="question">
748
+ <td align="left" valign="top">
749
+ <a name="id-1.2.11.3.3.1.16"></a><a name="id-1.2.11.3.3.1.16.1"></a><p><b>1.15.</b></p>
750
+ </td>
751
+ <td align="left" valign="top"><p>
752
+ How do I create a transparent toplevel window ?
753
+ </p></td>
754
+ </tr>
755
+ <tr class="answer">
756
+ <td align="left" valign="top"></td>
757
+ <td align="left" valign="top">
758
+ <p>
759
+ To make a window transparent, it needs to use a visual which supports that.
760
+ This is done by getting the RGBA colormap of the screen with
761
+ <a href="http://library.gnome.org/devel/gdk3/GdkScreen.html#gdk-screen-get-rgba-colormap"><code class="function">gdk_screen_get_rgba_colormap()</code></a> and setting it on the window. Note that
762
+ <a href="http://library.gnome.org/devel/gdk3/GdkScreen.html#gdk-screen-get-rgba-colormap"><code class="function">gdk_screen_get_rgba_colormap()</code></a> will return <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if transparent windows
763
+ are not supported on the screen; also note that this may change from
764
+ screen to screen, so it needs to be repeated whenever the window is moved
765
+ to a different screen.
766
+ </p>
767
+ <div class="informalexample">
768
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
769
+ <tbody>
770
+ <tr>
771
+ <td class="listing_lines" align="right"><pre>1
772
+ 2
773
+ 3
774
+ 4
775
+ 5
776
+ 6
777
+ 7</pre></td>
778
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">GdkColormap</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">colormap</span><span class="symbol">;</span>
779
+
780
+ <span class="normal">colormap </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html#gdk-screen-get-rgba-colormap">gdk_screen_get_rgba_colormap</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">screen</span><span class="symbol">);</span>
781
+ <span class="keyword">if</span><span class="normal"> </span><span class="symbol">(!</span><span class="normal">colormap</span><span class="symbol">)</span>
782
+ <span class="normal"> colormap </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk3/GdkScreen.html#gdk-screen-get-rgb-colormap">gdk_screen_get_rgb_colormap</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">screen</span><span class="symbol">);</span>
783
+
784
+ <span class="function"><a href="GtkWidget.html#gtk-widget-set-colormap">gtk_widget_set_colormap</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> colormap</span><span class="symbol">);</span></pre></td>
785
+ </tr>
786
+ </tbody>
787
+ </table>
788
+ </div>
789
+
790
+ <p>
791
+ One possibility to fill the alpha channel on the window is to use
792
+ <a href="http://library.gnome.org/devel/gdk3/gdk2-GdkRGB.html#gdk-draw-rgb-32-image"><code class="function">gdk_draw_rgb_32_image()</code></a>.
793
+ </p>
794
+ <p>
795
+ Note that the presence of an RGBA visual is no guarantee that the
796
+ window will actually appear transparent on screen. On X11, this
797
+ requires a compositing manager to be running. See
798
+ <a class="link" href="GtkWidget.html#gtk-widget-is-composited" title="gtk_widget_is_composited ()"><code class="function">gtk_widget_is_composited()</code></a> for a way to find out if the alpha
799
+ channel will be respected.
800
+ </p>
801
+ </td>
802
+ </tr>
803
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
804
+ <a name="id-1.2.11.3.3.2"></a>2. Which widget should I use...</h5></td></tr>
805
+ <tr class="question">
806
+ <td align="left" valign="top">
807
+ <a name="id-1.2.11.3.3.2.2"></a><a name="id-1.2.11.3.3.2.2.1"></a><p><b>2.1.</b></p>
808
+ </td>
809
+ <td align="left" valign="top"><p>
810
+ ...for lists and trees?
811
+ </p></td>
812
+ </tr>
813
+ <tr class="answer">
814
+ <td align="left" valign="top"></td>
815
+ <td align="left" valign="top"><p>
816
+ See <a class="link" href="TreeWidget.html" title="Tree and List Widget Overview">tree widget overview</a> — you
817
+ should use the <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> widget. (A list is just a tree with no branches,
818
+ so the tree widget is used for lists as well.) Do not use the deprecated
819
+ widgets <a class="link" href="GtkTree.html" title="GtkTree"><span class="type">GtkTree</span></a> or <a class="link" href="GtkCList.html" title="GtkCList"><span class="type">GtkCList</span></a>/<a class="link" href="GtkCTree.html" title="GtkCTree"><span class="type">GtkCTree</span></a> in newly-written code, they are
820
+ less flexible and result in an inferior user interface.
821
+ </p></td>
822
+ </tr>
823
+ <tr class="question">
824
+ <td align="left" valign="top">
825
+ <a name="id-1.2.11.3.3.2.3"></a><a name="id-1.2.11.3.3.2.3.1"></a><p><b>2.2.</b></p>
826
+ </td>
827
+ <td align="left" valign="top"><p>
828
+ ...for multi-line text display or editing?
829
+ </p></td>
830
+ </tr>
831
+ <tr class="answer">
832
+ <td align="left" valign="top"></td>
833
+ <td align="left" valign="top">
834
+ <p>
835
+ See <a class="link" href="TextWidget.html" title="Text Widget Overview">text widget overview</a> — you
836
+ should use the <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> widget. Do not use the deprecated widget <a class="link" href="GtkText.html" title="GtkText"><span class="type">GtkText</span></a>
837
+ in newly-written code, it has a number of problems that are best avoided.
838
+ </p>
839
+ <p>
840
+ If you only have a small amount of text, <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> may also be appropriate
841
+ of course. It can be made selectable with <a class="link" href="GtkLabel.html#gtk-label-set-selectable" title="gtk_label_set_selectable ()"><code class="function">gtk_label_set_selectable()</code></a>. For a
842
+ single-line text entry, see <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>.
843
+ </p>
844
+ </td>
845
+ </tr>
846
+ <tr class="question">
847
+ <td align="left" valign="top">
848
+ <a name="id-1.2.11.3.3.2.4"></a><a name="id-1.2.11.3.3.2.4.1"></a><p><b>2.3.</b></p>
849
+ </td>
850
+ <td align="left" valign="top"><p>
851
+ ...to display an image or animation?
852
+ </p></td>
853
+ </tr>
854
+ <tr class="answer">
855
+ <td align="left" valign="top"></td>
856
+ <td align="left" valign="top"><p>
857
+ <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> can display images in just about any format GTK+ understands.
858
+ You can also use <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a> if you need to do something more complex,
859
+ such as draw text or graphics over the top of the image.
860
+ </p></td>
861
+ </tr>
862
+ <tr class="question">
863
+ <td align="left" valign="top">
864
+ <a name="id-1.2.11.3.3.2.5"></a><a name="id-1.2.11.3.3.2.5.1"></a><p><b>2.4.</b></p>
865
+ </td>
866
+ <td align="left" valign="top"><p>
867
+ ...for presenting a set of mutually-exclusive choices, where Windows
868
+ would use a combo box?
869
+ </p></td>
870
+ </tr>
871
+ <tr class="answer">
872
+ <td align="left" valign="top"></td>
873
+ <td align="left" valign="top"><p>
874
+ With GTK+, a <a class="link" href="GtkComboBox.html" title="GtkComboBox"><span class="type">GtkComboBox</span></a> is the recommended widget to use for this use case.
875
+ This widget looks like either a combo box or the current option menu, depending
876
+ on the current theme. If you need an editable text entry, use <a class="link" href="GtkComboBoxEntry.html" title="GtkComboBoxEntry"><span class="type">GtkComboBoxEntry</span></a>.
877
+ </p></td>
878
+ </tr>
879
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
880
+ <a name="id-1.2.11.3.3.3"></a>3. GtkWidget</h5></td></tr>
881
+ <tr class="question">
882
+ <td align="left" valign="top">
883
+ <a name="id-1.2.11.3.3.3.2"></a><a name="id-1.2.11.3.3.3.2.1"></a><p><b>3.1.</b></p>
884
+ </td>
885
+ <td align="left" valign="top"><p>
886
+ How do I change the color of a widget?
887
+ </p></td>
888
+ </tr>
889
+ <tr class="answer">
890
+ <td align="left" valign="top"></td>
891
+ <td align="left" valign="top">
892
+ <p>
893
+ See <a class="link" href="GtkWidget.html#gtk-widget-modify-fg" title="gtk_widget_modify_fg ()"><code class="function">gtk_widget_modify_fg()</code></a>, <a class="link" href="GtkWidget.html#gtk-widget-modify-bg" title="gtk_widget_modify_bg ()"><code class="function">gtk_widget_modify_bg()</code></a>, <a class="link" href="GtkWidget.html#gtk-widget-modify-base" title="gtk_widget_modify_base ()"><code class="function">gtk_widget_modify_base()</code></a>,
894
+ and <a class="link" href="GtkWidget.html#gtk-widget-modify-text" title="gtk_widget_modify_text ()"><code class="function">gtk_widget_modify_text()</code></a>. See <GTKDOCLINK HREF="gtk-Resource-Files">GTK+
895
+ resource files</GTKDOCLINK> for more discussion. You can also change widget color
896
+ by installing a resource file and parsing it with <a class="link" href="gtk2-Resource-Files.html#gtk-rc-add-default-file" title="gtk_rc_add_default_file"><code class="function">gtk_rc_add_default_file()</code></a>.
897
+ The advantage of a resource file is that users can then override the
898
+ color you've chosen.
899
+ </p>
900
+ <p>To change the background color for widgets such as <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> that have
901
+ no background, place them in a <a class="link" href="GtkEventBox.html" title="GtkEventBox"><span class="type">GtkEventBox</span></a> and set the background of the
902
+ event box.
903
+ </p>
904
+ </td>
905
+ </tr>
906
+ <tr class="question">
907
+ <td align="left" valign="top">
908
+ <a name="id-1.2.11.3.3.3.3"></a><a name="id-1.2.11.3.3.3.3.1"></a><p><b>3.2.</b></p>
909
+ </td>
910
+ <td align="left" valign="top"><p>
911
+ How do I change the font of a widget?
912
+ </p></td>
913
+ </tr>
914
+ <tr class="answer">
915
+ <td align="left" valign="top"></td>
916
+ <td align="left" valign="top">
917
+ <p>
918
+ This has several possible answers, depending on what exactly you want to
919
+ achieve. One option is <a class="link" href="GtkWidget.html#gtk-widget-modify-font" title="gtk_widget_modify_font ()"><code class="function">gtk_widget_modify_font()</code></a>. Note that this function
920
+ can be used to change only the font size, as in the following example:
921
+ </p>
922
+ <pre class="programlisting">
923
+ PangoFontDesc *font_desc = pango_font_description_new ();
924
+ pango_font_description_set_size (font_desc, 40);
925
+ gtk_widget_modify_font (widget, font);
926
+ pango_font_description_free (font_desc);
927
+ </pre>
928
+ <p>
929
+ </p>
930
+ <p>
931
+ If you want to make the text of a label larger, you can use
932
+ <a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_set_markup ()"><code class="function">gtk_label_set_markup()</code></a>:
933
+ </p>
934
+ <pre class="programlisting">
935
+ gtk_label_set_markup (label, "&lt;big&gt;big text&lt;/big&gt;");
936
+ </pre>
937
+ <p>
938
+ This is preferred for many apps because it's a relative size to the
939
+ user's chosen font size. See <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html#g-markup-escape-text"><code class="function">g_markup_escape_text()</code></a> if you are
940
+ constructing such strings on the fly.
941
+ </p>
942
+ <p>
943
+ You can also change the font of a widget by putting
944
+ </p>
945
+ <pre class="programlisting">
946
+ gtk-font-name = "Sans 30"
947
+ </pre>
948
+ <p>
949
+ in a resource file and parsing it with <a class="link" href="gtk2-Resource-Files.html#gtk-rc-add-default-file" title="gtk_rc_add_default_file"><code class="function">gtk_rc_add_default_file()</code></a>.
950
+ The advantage of a resource file is that users can then override the font you
951
+ have chosen. See GTK+ resource files
952
+ for more discussion.
953
+ </p>
954
+ </td>
955
+ </tr>
956
+ <tr class="question">
957
+ <td align="left" valign="top">
958
+ <a name="id-1.2.11.3.3.3.4"></a><a name="id-1.2.11.3.3.3.4.1"></a><p><b>3.3.</b></p>
959
+ </td>
960
+ <td align="left" valign="top"><p>
961
+ How do I disable/ghost/desensitize a widget?
962
+ </p></td>
963
+ </tr>
964
+ <tr class="answer">
965
+ <td align="left" valign="top"></td>
966
+ <td align="left" valign="top"><p> In GTK+ a disabled widget is termed "insensitive." See
967
+ <a class="link" href="GtkWidget.html#gtk-widget-set-sensitive" title="gtk_widget_set_sensitive ()"><code class="function">gtk_widget_set_sensitive()</code></a>.
968
+ </p></td>
969
+ </tr>
970
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
971
+ <a name="id-1.2.11.3.3.4"></a>4. GtkTextView</h5></td></tr>
972
+ <tr class="question">
973
+ <td align="left" valign="top">
974
+ <a name="id-1.2.11.3.3.4.2"></a><a name="id-1.2.11.3.3.4.2.1"></a><p><b>4.1.</b></p>
975
+ </td>
976
+ <td align="left" valign="top"><p>
977
+ How do I get the contents of the entire text widget as a string?
978
+ </p></td>
979
+ </tr>
980
+ <tr class="answer">
981
+ <td align="left" valign="top"></td>
982
+ <td align="left" valign="top">
983
+ <p>
984
+ See <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-get-bounds" title="gtk_text_buffer_get_bounds ()"><code class="function">gtk_text_buffer_get_bounds()</code></a> and <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-get-text" title="gtk_text_buffer_get_text ()"><code class="function">gtk_text_buffer_get_text()</code></a>
985
+ or <a class="link" href="GtkTextIter.html#gtk-text-iter-get-text" title="gtk_text_iter_get_text ()"><code class="function">gtk_text_iter_get_text()</code></a>.
986
+ </p>
987
+ <p>
988
+ </p>
989
+ <div class="informalexample">
990
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
991
+ <tbody>
992
+ <tr>
993
+ <td class="listing_lines" align="right"><pre>1
994
+ 2
995
+ 3
996
+ 4
997
+ 5
998
+ 6
999
+ 7
1000
+ 8
1001
+ 9</pre></td>
1002
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">GtkTextIter</span><span class="normal"> start</span><span class="symbol">,</span><span class="normal"> end</span><span class="symbol">;</span>
1003
+ <span class="usertype">GtkTextBuffer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">buffer</span><span class="symbol">;</span>
1004
+ <span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
1005
+
1006
+ <span class="normal">buffer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTextView.html#gtk-text-view-get-buffer">gtk_text_view_get_buffer</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TEXT_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text_view</span><span class="symbol">));</span>
1007
+ <span class="function"><a href="GtkTextBuffer.html#gtk-text-buffer-get-bounds">gtk_text_buffer_get_bounds</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">buffer</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">start</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">end</span><span class="symbol">);</span>
1008
+ <span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTextIter.html#gtk-text-iter-get-text">gtk_text_iter_get_text</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">start</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">end</span><span class="symbol">);</span>
1009
+ <span class="comment">/* use text */</span>
1010
+ <span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
1011
+ </tr>
1012
+ </tbody>
1013
+ </table>
1014
+ </div>
1015
+
1016
+ <p>
1017
+ </p>
1018
+ </td>
1019
+ </tr>
1020
+ <tr class="question">
1021
+ <td align="left" valign="top">
1022
+ <a name="id-1.2.11.3.3.4.3"></a><a name="id-1.2.11.3.3.4.3.1"></a><p><b>4.2.</b></p>
1023
+ </td>
1024
+ <td align="left" valign="top"><p>
1025
+ How do I make a text widget display its complete contents in a specific font?
1026
+ </p></td>
1027
+ </tr>
1028
+ <tr class="answer">
1029
+ <td align="left" valign="top"></td>
1030
+ <td align="left" valign="top">
1031
+ <p>
1032
+ If you use <a class="link" href="GtkTextBuffer.html#gtk-text-buffer-insert-with-tags" title="gtk_text_buffer_insert_with_tags ()"><code class="function">gtk_text_buffer_insert_with_tags()</code></a> with appropriate tags to select
1033
+ the font, the inserted text will have the desired appearance, but text typed
1034
+ in by the user before or after the tagged block will appear in the default
1035
+ style.
1036
+ </p>
1037
+ <p>
1038
+ To ensure that all text has the desired appearance, use <a class="link" href="GtkWidget.html#gtk-widget-modify-font" title="gtk_widget_modify_font ()"><code class="function">gtk_widget_modify_font()</code></a>
1039
+ to change the default font for the widget.
1040
+ </p>
1041
+ </td>
1042
+ </tr>
1043
+ <tr class="question">
1044
+ <td align="left" valign="top">
1045
+ <a name="id-1.2.11.3.3.4.4"></a><a name="id-1.2.11.3.3.4.4.1"></a><p><b>4.3.</b></p>
1046
+ </td>
1047
+ <td align="left" valign="top"><p>
1048
+ How do I make a text view scroll to the end of the buffer automatically ?
1049
+ </p></td>
1050
+ </tr>
1051
+ <tr class="answer">
1052
+ <td align="left" valign="top"></td>
1053
+ <td align="left" valign="top">
1054
+ <p>
1055
+ A good way to keep a text buffer scrolled to the end is to place a
1056
+ <a class="link" href="GtkTextMark.html" title="GtkTextMark">mark</a> at the end of the buffer, and
1057
+ give it right gravity. The gravity has the effect that text inserted
1058
+ at the mark gets inserted <span class="emphasis"><em>before</em></span>, keeping the mark
1059
+ at the end.
1060
+ </p>
1061
+ <p>
1062
+ To ensure that the end of the buffer remains visible, use
1063
+ <a class="link" href="GtkTextView.html#gtk-text-view-scroll-to-mark" title="gtk_text_view_scroll_to_mark ()"><code class="function">gtk_text_view_scroll_to_mark()</code></a> to scroll to the mark after
1064
+ inserting new text.
1065
+ </p>
1066
+ <p>
1067
+ The gtk-demo application contains an example of this technique.
1068
+ </p>
1069
+ </td>
1070
+ </tr>
1071
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
1072
+ <a name="id-1.2.11.3.3.5"></a>5. <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
1073
+ </h5></td></tr>
1074
+ <tr class="question">
1075
+ <td align="left" valign="top">
1076
+ <a name="id-1.2.11.3.3.5.2"></a><a name="id-1.2.11.3.3.5.2.1"></a><p><b>5.1.</b></p>
1077
+ </td>
1078
+ <td align="left" valign="top"><p>
1079
+ How do I associate some data with a row in the tree?
1080
+ </p></td>
1081
+ </tr>
1082
+ <tr class="answer">
1083
+ <td align="left" valign="top"></td>
1084
+ <td align="left" valign="top"><p>
1085
+ Remember that the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> columns don't necessarily have to be displayed.
1086
+ So you can put non-user-visible data in your model just like any other data,
1087
+ and retrieve it with <a class="link" href="GtkTreeModel.html#gtk-tree-model-get" title="gtk_tree_model_get ()"><code class="function">gtk_tree_model_get()</code></a>. See the
1088
+ <a class="link" href="TreeWidget.html" title="Tree and List Widget Overview">tree widget overview</a>.
1089
+ </p></td>
1090
+ </tr>
1091
+ <tr class="question">
1092
+ <td align="left" valign="top">
1093
+ <a name="id-1.2.11.3.3.5.3"></a><a name="id-1.2.11.3.3.5.3.1"></a><p><b>5.2.</b></p>
1094
+ </td>
1095
+ <td align="left" valign="top"><p>
1096
+ What's the <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a> equivalent of <a class="link" href="GtkCList.html#gtk-clist-find-row-from-data" title="gtk_clist_find_row_from_data ()"><code class="function">gtk_clist_find_row_from_data()</code></a>?
1097
+ </p></td>
1098
+ </tr>
1099
+ <tr class="answer">
1100
+ <td align="left" valign="top"></td>
1101
+ <td align="left" valign="top"><p>
1102
+ As there is no separate data column in the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>, there's no
1103
+ built in function to find the iter from data. You can write a custom
1104
+ searching function to walk the tree and find the data, or use
1105
+ <a class="link" href="GtkTreeModel.html#gtk-tree-model-foreach" title="gtk_tree_model_foreach ()"><code class="function">gtk_tree_model_foreach()</code></a>.
1106
+ </p></td>
1107
+ </tr>
1108
+ <tr class="question">
1109
+ <td align="left" valign="top">
1110
+ <a name="id-1.2.11.3.3.5.4"></a><a name="id-1.2.11.3.3.5.4.1"></a><p><b>5.3.</b></p>
1111
+ </td>
1112
+ <td align="left" valign="top"><p>
1113
+ How do I put an image and some text in the same column?
1114
+ </p></td>
1115
+ </tr>
1116
+ <tr class="answer">
1117
+ <td align="left" valign="top"></td>
1118
+ <td align="left" valign="top"><p>
1119
+ You can pack more than one <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> into a single <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
1120
+ using <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start" title="gtk_tree_view_column_pack_start ()"><code class="function">gtk_tree_view_column_pack_start()</code></a> or <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-end" title="gtk_tree_view_column_pack_end ()"><code class="function">gtk_tree_view_column_pack_end()</code></a>.
1121
+ So pack both a <a class="link" href="GtkCellRendererPixbuf.html" title="GtkCellRendererPixbuf"><span class="type">GtkCellRendererPixbuf</span></a> and a <a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a> into the
1122
+ column.
1123
+ </p></td>
1124
+ </tr>
1125
+ <tr class="question">
1126
+ <td align="left" valign="top">
1127
+ <a name="id-1.2.11.3.3.5.5"></a><a name="id-1.2.11.3.3.5.5.1"></a><p><b>5.4.</b></p>
1128
+ </td>
1129
+ <td align="left" valign="top"><p>
1130
+ I can set data easily on my <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>/<a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> models using
1131
+ <a class="link" href="GtkListStore.html#gtk-list-store-set" title="gtk_list_store_set ()"><code class="function">gtk_list_store_set()</code></a> and <a class="link" href="GtkTreeStore.html#gtk-tree-store-set" title="gtk_tree_store_set ()"><code class="function">gtk_tree_store_set()</code></a>, but can't read it back?
1132
+ </p></td>
1133
+ </tr>
1134
+ <tr class="answer">
1135
+ <td align="left" valign="top"></td>
1136
+ <td align="left" valign="top"><p>
1137
+ Both the <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a> and the <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> implement the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>
1138
+ interface. Consequentially, the can use any function this interface
1139
+ implements. The easiest way to read a set of data back is to use
1140
+ <a class="link" href="GtkTreeModel.html#gtk-tree-model-get" title="gtk_tree_model_get ()"><code class="function">gtk_tree_model_get()</code></a>.
1141
+ </p></td>
1142
+ </tr>
1143
+ <tr class="question">
1144
+ <td align="left" valign="top">
1145
+ <a name="id-1.2.11.3.3.5.6"></a><a name="id-1.2.11.3.3.5.6.1"></a><p><b>5.5.</b></p>
1146
+ </td>
1147
+ <td align="left" valign="top"><p>
1148
+ How do I change the way that numbers are formatted by <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>?
1149
+ </p></td>
1150
+ </tr>
1151
+ <tr class="answer">
1152
+ <td align="left" valign="top"></td>
1153
+ <td align="left" valign="top">
1154
+ <p>
1155
+ Use <a class="link" href="GtkTreeView.html#gtk-tree-view-insert-column-with-data-func" title="gtk_tree_view_insert_column_with_data_func ()"><code class="function">gtk_tree_view_insert_column_with_data_func()</code></a>
1156
+ or <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func" title="gtk_tree_view_column_set_cell_data_func ()"><code class="function">gtk_tree_view_column_set_cell_data_func()</code></a> and do the conversion from i
1157
+ number to string yourself (with, say, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strdup-printf"><code class="function">g_strdup_printf()</code></a>).
1158
+ </p>
1159
+ <p>
1160
+ The following example demonstrates this:
1161
+ </p>
1162
+ <div class="informalexample">
1163
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1164
+ <tbody>
1165
+ <tr>
1166
+ <td class="listing_lines" align="right"><pre>1
1167
+ 2
1168
+ 3
1169
+ 4
1170
+ 5
1171
+ 6
1172
+ 7
1173
+ 8
1174
+ 9
1175
+ 10
1176
+ 11
1177
+ 12
1178
+ 13
1179
+ 14
1180
+ 15
1181
+ 16
1182
+ 17
1183
+ 18
1184
+ 19
1185
+ 20
1186
+ 21
1187
+ 22
1188
+ 23
1189
+ 24
1190
+ 25
1191
+ 26
1192
+ 27
1193
+ 28
1194
+ 29
1195
+ 30
1196
+ 31
1197
+ 32
1198
+ 33
1199
+ 34
1200
+ 35
1201
+ 36
1202
+ 37
1203
+ 38
1204
+ 39
1205
+ 40
1206
+ 41
1207
+ 42
1208
+ 43
1209
+ 44
1210
+ 45
1211
+ 46
1212
+ 47
1213
+ 48
1214
+ 49
1215
+ 50
1216
+ 51
1217
+ 52
1218
+ 53
1219
+ 54
1220
+ 55
1221
+ 56
1222
+ 57
1223
+ 58
1224
+ 59
1225
+ 60
1226
+ 61
1227
+ 62
1228
+ 63
1229
+ 64</pre></td>
1230
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">enum</span><span class="normal"> </span>
1231
+ <span class="cbracket">{</span>
1232
+ <span class="normal"> DOUBLE_COLUMN</span><span class="symbol">,</span>
1233
+ <span class="normal"> N_COLUMNS</span>
1234
+ <span class="cbracket">}</span><span class="symbol">;</span>
1235
+
1236
+ <span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">mycolumns</span><span class="symbol">;</span>
1237
+ <span class="usertype">GtkTreeView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">treeview</span><span class="symbol">;</span>
1238
+
1239
+ <span class="type">void</span><span class="normal"> </span>
1240
+ <span class="function">my_cell_double_to_text</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkTreeViewColumn</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tree_column</span><span class="symbol">,</span>
1241
+ <span class="normal"> </span><span class="usertype">GtkCellRenderer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cell</span><span class="symbol">,</span><span class="normal"> </span>
1242
+ <span class="normal"> </span><span class="usertype">GtkTreeModel</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tree_model</span><span class="symbol">,</span>
1243
+ <span class="normal"> </span><span class="usertype">GtkTreeIter</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iter</span><span class="symbol">,</span><span class="normal"> </span>
1244
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
1245
+ <span class="cbracket">{</span>
1246
+ <span class="normal"> </span><span class="usertype">GtkCellRendererText</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cell_text </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkCellRendererText.html">GtkCellRendererText</a> </span><span class="symbol">*)</span><span class="normal">cell</span><span class="symbol">;</span>
1247
+ <span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> d</span><span class="symbol">;</span>
1248
+ <span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
1249
+
1250
+ <span class="normal"> </span><span class="comment">/* Get the double value from the model. */</span>
1251
+ <span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_model</span><span class="symbol">,</span><span class="normal"> iter</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a></span><span class="symbol">)</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">d</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
1252
+ <span class="normal"> </span><span class="comment">/* Now we can format the value ourselves. */</span>
1253
+ <span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strdup-printf">g_strdup_printf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%.2f"</span><span class="symbol">,</span><span class="normal"> d</span><span class="symbol">);</span>
1254
+ <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set">g_object_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cell</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
1255
+ <span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
1256
+ <span class="cbracket">}</span>
1257
+
1258
+ <span class="type">void</span><span class="normal"> </span>
1259
+ <span class="function">set_up_new_columns</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkTreeView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">myview</span><span class="symbol">)</span>
1260
+ <span class="cbracket">{</span>
1261
+ <span class="normal"> </span><span class="usertype">GtkCellRendererText</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">renderer</span><span class="symbol">;</span>
1262
+ <span class="normal"> </span><span class="usertype">GtkTreeViewColumn</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">column</span><span class="symbol">;</span>
1263
+ <span class="normal"> </span><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">mycolumns</span><span class="symbol">;</span>
1264
+
1265
+ <span class="normal"> </span><span class="comment">/* Create the data model and associate it with the given TreeView */</span>
1266
+ <span class="normal"> mycolumns </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS">G_TYPE_DOUBLE</a></span><span class="symbol">);</span>
1267
+ <span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-set-model">gtk_tree_view_set_model</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GTK_TREE_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mycolumns</span><span class="symbol">));</span>
1268
+
1269
+ <span class="normal"> </span><span class="comment">/* Create a GtkCellRendererText */</span>
1270
+ <span class="normal"> renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
1271
+
1272
+ <span class="normal"> </span><span class="comment">/* Create a new column that has a title ("Example column"),</span>
1273
+ <span class="comment"> * uses the above created renderer that will render the double</span>
1274
+ <span class="comment"> * value into text from the associated model's rows. </span>
1275
+ <span class="comment"> */</span>
1276
+ <span class="normal"> column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new">gtk_tree_view_column_new</a></span><span class="normal"> </span><span class="symbol">();</span>
1277
+ <span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-title">gtk_tree_view_column_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Example column"</span><span class="symbol">);</span>
1278
+ <span class="normal"> renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
1279
+ <span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start">gtk_tree_view_column_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
1280
+
1281
+ <span class="normal"> </span><span class="comment">/* Append the new column after the GtkTreeView's previous columns. */</span>
1282
+ <span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">),</span><span class="normal"> column</span><span class="symbol">);</span>
1283
+ <span class="normal"> </span><span class="comment">/* Since we created the column by hand, we can set it up for our</span>
1284
+ <span class="comment"> * needs, e.g. set its minimum and maximum width, etc.</span>
1285
+ <span class="comment"> */</span>
1286
+ <span class="normal"> </span><span class="comment">/* Set up a custom function that will be called when the column content</span>
1287
+ <span class="comment"> * is rendered. We use the func_data pointer as an index into our</span>
1288
+ <span class="comment"> * model. This is convenient when using multi column lists. </span>
1289
+ <span class="comment"> */</span>
1290
+ <span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func">gtk_tree_view_column_set_cell_data_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span>
1291
+ <span class="normal"> my_cell_double_to_text</span><span class="symbol">,</span><span class="normal"> </span>
1292
+ <span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a></span><span class="symbol">)</span><span class="normal">DOUBLE_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
1293
+ <span class="cbracket">}</span></pre></td>
1294
+ </tr>
1295
+ </tbody>
1296
+ </table>
1297
+ </div>
1298
+
1299
+ <p>
1300
+ </p>
1301
+ </td>
1302
+ </tr>
1303
+ <tr class="question">
1304
+ <td align="left" valign="top">
1305
+ <a name="id-1.2.11.3.3.5.7"></a><a name="id-1.2.11.3.3.5.7.1"></a><p><b>5.6.</b></p>
1306
+ </td>
1307
+ <td align="left" valign="top"><p>
1308
+ How do I hide the expander arrows in my tree view ?
1309
+ </p></td>
1310
+ </tr>
1311
+ <tr class="answer">
1312
+ <td align="left" valign="top"></td>
1313
+ <td align="left" valign="top"><p>
1314
+ Set the expander-column property of the tree view to a hidden column.
1315
+ See <a class="link" href="GtkTreeView.html#gtk-tree-view-set-expander-column" title="gtk_tree_view_set_expander_column ()"><code class="function">gtk_tree_view_set_expander_column()</code></a> and <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-visible" title="gtk_tree_view_column_set_visible ()"><code class="function">gtk_tree_view_column_set_visible()</code></a>.
1316
+ </p></td>
1317
+ </tr>
1318
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
1319
+ <a name="id-1.2.11.3.3.6"></a>6. Using cairo with GTK+</h5></td></tr>
1320
+ <tr class="question">
1321
+ <td align="left" valign="top">
1322
+ <a name="id-1.2.11.3.3.6.2"></a><a name="id-1.2.11.3.3.6.2.1"></a><p><b>6.1.</b></p>
1323
+ </td>
1324
+ <td align="left" valign="top"><p>
1325
+ How do I use cairo to draw in GTK+ applications ?
1326
+ </p></td>
1327
+ </tr>
1328
+ <tr class="answer">
1329
+ <td align="left" valign="top"></td>
1330
+ <td align="left" valign="top"><p>
1331
+ Use <a href="http://library.gnome.org/devel/gdk3/gdk2-Cairo-Interaction.html#gdk-cairo-create"><code class="function">gdk_cairo_create()</code></a> to obtain a cairo context for drawing
1332
+ on a GDK window or pixmap. See <GTKDOCLINK HREF="gdk-Cairo-Interaction">Cairo
1333
+ Interaction</GTKDOCLINK> for some more useful functions.
1334
+ </p></td>
1335
+ </tr>
1336
+ <tr class="question">
1337
+ <td align="left" valign="top">
1338
+ <a name="id-1.2.11.3.3.6.3"></a><a name="id-1.2.11.3.3.6.3.1"></a><p><b>6.2.</b></p>
1339
+ </td>
1340
+ <td align="left" valign="top"><p>
1341
+ I have created a cairo context with <a href="http://library.gnome.org/devel/gdk3/gdk2-Cairo-Interaction.html#gdk-cairo-create"><code class="function">gdk_cairo_create()</code></a>, but when I
1342
+ later use it, my drawing does not show up. Why is that ?
1343
+ </p></td>
1344
+ </tr>
1345
+ <tr class="answer">
1346
+ <td align="left" valign="top"></td>
1347
+ <td align="left" valign="top">
1348
+ <p>
1349
+ All drawing in GTK+ is normally done in an expose handler, and GTK+
1350
+ creates a temporary pixmap for double-buffering the drawing. If you
1351
+ create a cairo context outside the expose handler, it is backed
1352
+ by the GDK window itself, not the double-buffering pixmap. Consequently,
1353
+ any drawing you do with that cairo context gets overwritten at the
1354
+ end of the expose handler, when the double-buffering pixmap is copied
1355
+ back.
1356
+ </p>
1357
+ <p>
1358
+ Possible solutions to this problem are:
1359
+ </p>
1360
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
1361
+ <li class="listitem"><p>
1362
+ Turn off double-buffering, with <a class="link" href="GtkWidget.html#gtk-widget-set-double-buffered" title="gtk_widget_set_double_buffered ()"><code class="function">gtk_widget_set_double_buffered()</code></a>.
1363
+ This is not ideal, since it can cause some flickering.
1364
+ </p></li>
1365
+ <li class="listitem"><p>
1366
+ Create the cairo context inside the expose handler. If you do this,
1367
+ <code class="function">gdk_create_cairo()</code> arranges for it to be backed by the double-buffering
1368
+ pixmap. This is the preferred solution, and is used throughout GTK+
1369
+ itself.
1370
+ </p></li>
1371
+ </ul></div>
1372
+ <p>
1373
+ </p>
1374
+ </td>
1375
+ </tr>
1376
+ <tr class="question">
1377
+ <td align="left" valign="top">
1378
+ <a name="id-1.2.11.3.3.6.4"></a><a name="id-1.2.11.3.3.6.4.1"></a><p><b>6.3.</b></p>
1379
+ </td>
1380
+ <td align="left" valign="top"><p>
1381
+ Can I improve the performance of my application by using the
1382
+ Glitz backend of cairo ?
1383
+ </p></td>
1384
+ </tr>
1385
+ <tr class="answer">
1386
+ <td align="left" valign="top"></td>
1387
+ <td align="left" valign="top"><p>
1388
+ No. The GDK X11 backend uses the cairo X backend (and the other
1389
+ GDK backends use their respective native cairo backends). The
1390
+ GTK+ developers believe that the best way to improving the GDK
1391
+ drawing performance is to optimize the cairo X backend and the
1392
+ relevant code paths in the X server that is uses (mostly the
1393
+ Render extension).
1394
+ </p></td>
1395
+ </tr>
1396
+ <tr class="question">
1397
+ <td align="left" valign="top">
1398
+ <a name="id-1.2.11.3.3.6.5"></a><a name="id-1.2.11.3.3.6.5.1"></a><p><b>6.4.</b></p>
1399
+ </td>
1400
+ <td align="left" valign="top"><p>
1401
+ Can I use cairo to draw on a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-The-GdkPixbuf-Structure.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> ?
1402
+ </p></td>
1403
+ </tr>
1404
+ <tr class="answer">
1405
+ <td align="left" valign="top"></td>
1406
+ <td align="left" valign="top"><p>
1407
+ No, at least not yet. The cairo image surface does not support the
1408
+ pixel format used by GdkPixbuf.
1409
+ </p></td>
1410
+ </tr>
1411
+ </tbody>
1412
+ </table>
1413
+ </div>
1414
+ </div>
1415
+ <div class="footnotes">
1416
+ <br><hr style="width:100; text-align:left;margin-left: 0">
1417
+ <div id="ftn.id-1.2.11.3.3.1.12.2.1.2" class="footnote"><p><a href="#id-1.2.11.3.3.1.12.2.1.2" class="para"><sup class="para">[1] </sup></a> If the file load fails,
1418
+ <a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file"><code class="function">gtk_image_new_from_file()</code></a> will display no image graphic — to detect
1419
+ a failed load yourself, use <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file"><code class="function">gdk_pixbuf_new_from_file()</code></a> directly, then
1420
+ <a class="link" href="GtkImage.html#gtk-image-new-from-pixbuf" title="gtk_image_new_from_pixbuf ()"><code class="function">gtk_image_new_from_pixbuf()</code></a>.</p></div>
1421
+ </div>
1422
+ </div>
1423
+ <div class="footer">
1424
+ <hr>
1425
+ Generated by GTK-Doc V1.21.1</div>
1426
+ </body>
1427
+ </html>