gtk3 1.2.0-x86-mingw32

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