gdk3 1.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1337) hide show
  1. data/Rakefile +53 -0
  2. data/ext/gdk3/depend +11 -0
  3. data/ext/gdk3/extconf.rb +127 -0
  4. data/ext/gdk3/gdk3.def +12 -0
  5. data/ext/gdk3/init.c +35 -0
  6. data/ext/gdk3/rbgdk.c +540 -0
  7. data/ext/gdk3/rbgdk3.h +71 -0
  8. data/ext/gdk3/rbgdk3conversions.h +118 -0
  9. data/ext/gdk3/rbgdk3private.h +93 -0
  10. data/ext/gdk3/rbgdkatom.c +122 -0
  11. data/ext/gdk3/rbgdkcairo.c +95 -0
  12. data/ext/gdk3/rbgdkcolor.c +137 -0
  13. data/ext/gdk3/rbgdkconst.c +33 -0
  14. data/ext/gdk3/rbgdkcursor.c +99 -0
  15. data/ext/gdk3/rbgdkdevice.c +197 -0
  16. data/ext/gdk3/rbgdkdisplay.c +482 -0
  17. data/ext/gdk3/rbgdkdisplaymanager.c +55 -0
  18. data/ext/gdk3/rbgdkdragcontext.c +191 -0
  19. data/ext/gdk3/rbgdkdraw.c +520 -0
  20. data/ext/gdk3/rbgdkevent.c +926 -0
  21. data/ext/gdk3/rbgdkgeometry.c +252 -0
  22. data/ext/gdk3/rbgdkkeymap.c +151 -0
  23. data/ext/gdk3/rbgdkkeyval.c +108 -0
  24. data/ext/gdk3/rbgdkpango.c +197 -0
  25. data/ext/gdk3/rbgdkpangorenderer.c +144 -0
  26. data/ext/gdk3/rbgdkpixbuf.c +176 -0
  27. data/ext/gdk3/rbgdkproperty.c +305 -0
  28. data/ext/gdk3/rbgdkrectangle.c +140 -0
  29. data/ext/gdk3/rbgdkrgb.c +199 -0
  30. data/ext/gdk3/rbgdkrgba.c +142 -0
  31. data/ext/gdk3/rbgdkscreen.c +443 -0
  32. data/ext/gdk3/rbgdkselection.c +146 -0
  33. data/ext/gdk3/rbgdkthreads.c +77 -0
  34. data/ext/gdk3/rbgdktimecoord.c +133 -0
  35. data/ext/gdk3/rbgdkvisual.c +251 -0
  36. data/ext/gdk3/rbgdkwindow.c +1044 -0
  37. data/ext/gdk3/rbgdkwindowattr.c +191 -0
  38. data/ext/gdk3/rbgdkx11.c +102 -0
  39. data/ext/gdk3/rbgdkx11x11window.c +66 -0
  40. data/extconf.rb +49 -0
  41. data/lib/1.8/gdk3.so +0 -0
  42. data/lib/1.9/gdk3.so +0 -0
  43. data/lib/gdk3.rb +3 -0
  44. data/lib/gdk3/base.rb +50 -0
  45. data/lib/gdk3/deprecated.rb +152 -0
  46. data/vendor/local/bin/gtk-launch.exe +0 -0
  47. data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
  48. data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
  49. data/vendor/local/bin/gtk-update-icon-cache.exe.manifest +17 -0
  50. data/vendor/local/bin/gtk3-demo-application.exe +0 -0
  51. data/vendor/local/bin/gtk3-demo.exe +0 -0
  52. data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
  53. data/vendor/local/bin/libgailutil-3-0.dll +0 -0
  54. data/vendor/local/bin/libgdk-3-0.dll +0 -0
  55. data/vendor/local/bin/libgtk-3-0.dll +0 -0
  56. data/vendor/local/etc/gtk-3.0/im-multipress.conf +22 -0
  57. data/vendor/local/etc/gtk-3.0/settings.ini +2 -0
  58. data/vendor/local/include/gail-3.0/libgail-util/gail-util.h +2 -0
  59. data/vendor/local/include/gail-3.0/libgail-util/gailmisc.h +76 -0
  60. data/vendor/local/include/gail-3.0/libgail-util/gailtextutil.h +85 -0
  61. data/vendor/local/include/gtk-3.0/gdk/gdk.h +61 -0
  62. data/vendor/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h +60 -0
  63. data/vendor/local/include/gtk-3.0/gdk/gdkcairo.h +63 -0
  64. data/vendor/local/include/gtk-3.0/gdk/gdkcolor.h +77 -0
  65. data/vendor/local/include/gtk-3.0/gdk/gdkconfig.h +22 -0
  66. data/vendor/local/include/gtk-3.0/gdk/gdkcursor.h +240 -0
  67. data/vendor/local/include/gtk-3.0/gdk/gdkdevice.h +237 -0
  68. data/vendor/local/include/gtk-3.0/gdk/gdkdevicemanager.h +44 -0
  69. data/vendor/local/include/gtk-3.0/gdk/gdkdisplay.h +141 -0
  70. data/vendor/local/include/gtk-3.0/gdk/gdkdisplaymanager.h +55 -0
  71. data/vendor/local/include/gtk-3.0/gdk/gdkdnd.h +153 -0
  72. data/vendor/local/include/gtk-3.0/gdk/gdkenumtypes.h +105 -0
  73. data/vendor/local/include/gtk-3.0/gdk/gdkevents.h +1277 -0
  74. data/vendor/local/include/gtk-3.0/gdk/gdkkeys.h +142 -0
  75. data/vendor/local/include/gtk-3.0/gdk/gdkkeysyms-compat.h +2300 -0
  76. data/vendor/local/include/gtk-3.0/gdk/gdkkeysyms.h +2309 -0
  77. data/vendor/local/include/gtk-3.0/gdk/gdkmain.h +122 -0
  78. data/vendor/local/include/gtk-3.0/gdk/gdkpango.h +56 -0
  79. data/vendor/local/include/gtk-3.0/gdk/gdkpixbuf.h +52 -0
  80. data/vendor/local/include/gtk-3.0/gdk/gdkprivate.h +40 -0
  81. data/vendor/local/include/gtk-3.0/gdk/gdkproperty.h +91 -0
  82. data/vendor/local/include/gtk-3.0/gdk/gdkrectangle.h +51 -0
  83. data/vendor/local/include/gtk-3.0/gdk/gdkrgba.h +62 -0
  84. data/vendor/local/include/gtk-3.0/gdk/gdkscreen.h +100 -0
  85. data/vendor/local/include/gtk-3.0/gdk/gdkselection.h +208 -0
  86. data/vendor/local/include/gtk-3.0/gdk/gdktestutils.h +58 -0
  87. data/vendor/local/include/gtk-3.0/gdk/gdkthreads.h +105 -0
  88. data/vendor/local/include/gtk-3.0/gdk/gdktypes.h +421 -0
  89. data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +220 -0
  90. data/vendor/local/include/gtk-3.0/gdk/gdkvisual.h +123 -0
  91. data/vendor/local/include/gtk-3.0/gdk/gdkwin32.h +105 -0
  92. data/vendor/local/include/gtk-3.0/gdk/gdkwindow.h +884 -0
  93. data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32cursor.h +54 -0
  94. data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32display.h +54 -0
  95. data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32displaymanager.h +47 -0
  96. data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32dnd.h +47 -0
  97. data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32keys.h +47 -0
  98. data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32screen.h +54 -0
  99. data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32window.h +54 -0
  100. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h +157 -0
  101. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h +80 -0
  102. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkfontsel.h +165 -0
  103. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h +100 -0
  104. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhbbox.h +65 -0
  105. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhbox.h +67 -0
  106. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhpaned.h +64 -0
  107. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhscale.h +68 -0
  108. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h +64 -0
  109. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhseparator.h +64 -0
  110. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhsv.h +106 -0
  111. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkrc.h +322 -0
  112. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkstyle.h +703 -0
  113. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtktable.h +162 -0
  114. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h +74 -0
  115. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvbbox.h +64 -0
  116. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvbox.h +65 -0
  117. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvpaned.h +64 -0
  118. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvscale.h +74 -0
  119. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h +70 -0
  120. data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvseparator.h +70 -0
  121. data/vendor/local/include/gtk-3.0/gtk/gtk.h +253 -0
  122. data/vendor/local/include/gtk-3.0/gtk/gtkaboutdialog.h +169 -0
  123. data/vendor/local/include/gtk-3.0/gtk/gtkaccelgroup.h +209 -0
  124. data/vendor/local/include/gtk-3.0/gtk/gtkaccellabel.h +105 -0
  125. data/vendor/local/include/gtk-3.0/gtk/gtkaccelmap.h +93 -0
  126. data/vendor/local/include/gtk-3.0/gtk/gtkaccessible.h +75 -0
  127. data/vendor/local/include/gtk-3.0/gtk/gtkaction.h +166 -0
  128. data/vendor/local/include/gtk-3.0/gtk/gtkactionable.h +77 -0
  129. data/vendor/local/include/gtk-3.0/gtk/gtkactiongroup.h +238 -0
  130. data/vendor/local/include/gtk-3.0/gtk/gtkactivatable.h +85 -0
  131. data/vendor/local/include/gtk-3.0/gtk/gtkadjustment.h +121 -0
  132. data/vendor/local/include/gtk-3.0/gtk/gtkalignment.h +96 -0
  133. data/vendor/local/include/gtk-3.0/gtk/gtkappchooser.h +49 -0
  134. data/vendor/local/include/gtk-3.0/gtk/gtkappchooserbutton.h +89 -0
  135. data/vendor/local/include/gtk-3.0/gtk/gtkappchooserdialog.h +78 -0
  136. data/vendor/local/include/gtk-3.0/gtk/gtkappchooserwidget.h +103 -0
  137. data/vendor/local/include/gtk-3.0/gtk/gtkapplication.h +128 -0
  138. data/vendor/local/include/gtk-3.0/gtk/gtkapplicationwindow.h +75 -0
  139. data/vendor/local/include/gtk-3.0/gtk/gtkarrow.h +81 -0
  140. data/vendor/local/include/gtk-3.0/gtk/gtkaspectframe.h +84 -0
  141. data/vendor/local/include/gtk-3.0/gtk/gtkassistant.h +188 -0
  142. data/vendor/local/include/gtk-3.0/gtk/gtkbbox.h +90 -0
  143. data/vendor/local/include/gtk-3.0/gtk/gtkbin.h +79 -0
  144. data/vendor/local/include/gtk-3.0/gtk/gtkbindings.h +189 -0
  145. data/vendor/local/include/gtk-3.0/gtk/gtkborder.h +66 -0
  146. data/vendor/local/include/gtk-3.0/gtk/gtkbox.h +112 -0
  147. data/vendor/local/include/gtk-3.0/gtk/gtkbuildable.h +173 -0
  148. data/vendor/local/include/gtk-3.0/gtk/gtkbuilder.h +179 -0
  149. data/vendor/local/include/gtk-3.0/gtk/gtkbutton.h +130 -0
  150. data/vendor/local/include/gtk-3.0/gtk/gtkcalendar.h +169 -0
  151. data/vendor/local/include/gtk-3.0/gtk/gtkcellarea.h +482 -0
  152. data/vendor/local/include/gtk-3.0/gtk/gtkcellareabox.h +87 -0
  153. data/vendor/local/include/gtk-3.0/gtk/gtkcellareacontext.h +135 -0
  154. data/vendor/local/include/gtk-3.0/gtk/gtkcelleditable.h +62 -0
  155. data/vendor/local/include/gtk-3.0/gtk/gtkcelllayout.h +135 -0
  156. data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderer.h +280 -0
  157. data/vendor/local/include/gtk-3.0/gtk/gtkcellrendereraccel.h +84 -0
  158. data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderercombo.h +65 -0
  159. data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererpixbuf.h +68 -0
  160. data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererprogress.h +72 -0
  161. data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererspin.h +64 -0
  162. data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererspinner.h +67 -0
  163. data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderertext.h +75 -0
  164. data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderertoggle.h +82 -0
  165. data/vendor/local/include/gtk-3.0/gtk/gtkcellview.h +95 -0
  166. data/vendor/local/include/gtk-3.0/gtk/gtkcheckbutton.h +80 -0
  167. data/vendor/local/include/gtk-3.0/gtk/gtkcheckmenuitem.h +98 -0
  168. data/vendor/local/include/gtk-3.0/gtk/gtkclipboard.h +237 -0
  169. data/vendor/local/include/gtk-3.0/gtk/gtkcolorbutton.h +108 -0
  170. data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooser.h +87 -0
  171. data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooserdialog.h +68 -0
  172. data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooserwidget.h +71 -0
  173. data/vendor/local/include/gtk-3.0/gtk/gtkcolorutils.h +48 -0
  174. data/vendor/local/include/gtk-3.0/gtk/gtkcombobox.h +147 -0
  175. data/vendor/local/include/gtk-3.0/gtk/gtkcomboboxtext.h +88 -0
  176. data/vendor/local/include/gtk-3.0/gtk/gtkcontainer.h +227 -0
  177. data/vendor/local/include/gtk-3.0/gtk/gtkcssprovider.h +96 -0
  178. data/vendor/local/include/gtk-3.0/gtk/gtkcsssection.h +97 -0
  179. data/vendor/local/include/gtk-3.0/gtk/gtkdebug.h +70 -0
  180. data/vendor/local/include/gtk-3.0/gtk/gtkdialog.h +181 -0
  181. data/vendor/local/include/gtk-3.0/gtk/gtkdnd.h +212 -0
  182. data/vendor/local/include/gtk-3.0/gtk/gtkdrawingarea.h +74 -0
  183. data/vendor/local/include/gtk-3.0/gtk/gtkeditable.h +113 -0
  184. data/vendor/local/include/gtk-3.0/gtk/gtkentry.h +304 -0
  185. data/vendor/local/include/gtk-3.0/gtk/gtkentrybuffer.h +133 -0
  186. data/vendor/local/include/gtk-3.0/gtk/gtkentrycompletion.h +154 -0
  187. data/vendor/local/include/gtk-3.0/gtk/gtkenums.h +1041 -0
  188. data/vendor/local/include/gtk-3.0/gtk/gtkeventbox.h +79 -0
  189. data/vendor/local/include/gtk-3.0/gtk/gtkexpander.h +107 -0
  190. data/vendor/local/include/gtk-3.0/gtk/gtkfilechooser.h +247 -0
  191. data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserbutton.h +81 -0
  192. data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserdialog.h +69 -0
  193. data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserwidget.h +65 -0
  194. data/vendor/local/include/gtk-3.0/gtk/gtkfilefilter.h +116 -0
  195. data/vendor/local/include/gtk-3.0/gtk/gtkfixed.h +91 -0
  196. data/vendor/local/include/gtk-3.0/gtk/gtkfontbutton.h +99 -0
  197. data/vendor/local/include/gtk-3.0/gtk/gtkfontchooser.h +118 -0
  198. data/vendor/local/include/gtk-3.0/gtk/gtkfontchooserdialog.h +67 -0
  199. data/vendor/local/include/gtk-3.0/gtk/gtkfontchooserwidget.h +71 -0
  200. data/vendor/local/include/gtk-3.0/gtk/gtkframe.h +96 -0
  201. data/vendor/local/include/gtk-3.0/gtk/gtkgradient.h +66 -0
  202. data/vendor/local/include/gtk-3.0/gtk/gtkgrid.h +110 -0
  203. data/vendor/local/include/gtk-3.0/gtk/gtkiconfactory.h +183 -0
  204. data/vendor/local/include/gtk-3.0/gtk/gtkicontheme.h +233 -0
  205. data/vendor/local/include/gtk-3.0/gtk/gtkiconview.h +266 -0
  206. data/vendor/local/include/gtk-3.0/gtk/gtkimage.h +168 -0
  207. data/vendor/local/include/gtk-3.0/gtk/gtkimagemenuitem.h +90 -0
  208. data/vendor/local/include/gtk-3.0/gtk/gtkimcontext.h +126 -0
  209. data/vendor/local/include/gtk-3.0/gtk/gtkimcontextinfo.h +44 -0
  210. data/vendor/local/include/gtk-3.0/gtk/gtkimcontextsimple.h +74 -0
  211. data/vendor/local/include/gtk-3.0/gtk/gtkimmodule.h +34 -0
  212. data/vendor/local/include/gtk-3.0/gtk/gtkimmulticontext.h +73 -0
  213. data/vendor/local/include/gtk-3.0/gtk/gtkinfobar.h +116 -0
  214. data/vendor/local/include/gtk-3.0/gtk/gtkinvisible.h +77 -0
  215. data/vendor/local/include/gtk-3.0/gtk/gtklabel.h +176 -0
  216. data/vendor/local/include/gtk-3.0/gtk/gtklayout.h +108 -0
  217. data/vendor/local/include/gtk-3.0/gtk/gtklevelbar.h +127 -0
  218. data/vendor/local/include/gtk-3.0/gtk/gtklinkbutton.h +100 -0
  219. data/vendor/local/include/gtk-3.0/gtk/gtkliststore.h +133 -0
  220. data/vendor/local/include/gtk-3.0/gtk/gtklockbutton.h +72 -0
  221. data/vendor/local/include/gtk-3.0/gtk/gtkmain.h +172 -0
  222. data/vendor/local/include/gtk-3.0/gtk/gtkmenu.h +215 -0
  223. data/vendor/local/include/gtk-3.0/gtk/gtkmenubar.h +90 -0
  224. data/vendor/local/include/gtk-3.0/gtk/gtkmenubutton.h +94 -0
  225. data/vendor/local/include/gtk-3.0/gtk/gtkmenuitem.h +128 -0
  226. data/vendor/local/include/gtk-3.0/gtk/gtkmenushell.h +123 -0
  227. data/vendor/local/include/gtk-3.0/gtk/gtkmenutoolbutton.h +79 -0
  228. data/vendor/local/include/gtk-3.0/gtk/gtkmessagedialog.h +132 -0
  229. data/vendor/local/include/gtk-3.0/gtk/gtkmisc.h +89 -0
  230. data/vendor/local/include/gtk-3.0/gtk/gtkmodules.h +58 -0
  231. data/vendor/local/include/gtk-3.0/gtk/gtkmountoperation.h +81 -0
  232. data/vendor/local/include/gtk-3.0/gtk/gtknotebook.h +250 -0
  233. data/vendor/local/include/gtk-3.0/gtk/gtknumerableicon.h +87 -0
  234. data/vendor/local/include/gtk-3.0/gtk/gtkoffscreenwindow.h +64 -0
  235. data/vendor/local/include/gtk-3.0/gtk/gtkorientable.h +58 -0
  236. data/vendor/local/include/gtk-3.0/gtk/gtkoverlay.h +79 -0
  237. data/vendor/local/include/gtk-3.0/gtk/gtkpagesetup.h +106 -0
  238. data/vendor/local/include/gtk-3.0/gtk/gtkpaned.h +105 -0
  239. data/vendor/local/include/gtk-3.0/gtk/gtkpapersize.h +140 -0
  240. data/vendor/local/include/gtk-3.0/gtk/gtkplug.h +97 -0
  241. data/vendor/local/include/gtk-3.0/gtk/gtkprintcontext.h +69 -0
  242. data/vendor/local/include/gtk-3.0/gtk/gtkprintoperation.h +280 -0
  243. data/vendor/local/include/gtk-3.0/gtk/gtkprintoperationpreview.h +79 -0
  244. data/vendor/local/include/gtk-3.0/gtk/gtkprintsettings.h +248 -0
  245. data/vendor/local/include/gtk-3.0/gtk/gtkprogressbar.h +97 -0
  246. data/vendor/local/include/gtk-3.0/gtk/gtkradioaction.h +89 -0
  247. data/vendor/local/include/gtk-3.0/gtk/gtkradiobutton.h +92 -0
  248. data/vendor/local/include/gtk-3.0/gtk/gtkradiomenuitem.h +91 -0
  249. data/vendor/local/include/gtk-3.0/gtk/gtkradiotoolbutton.h +72 -0
  250. data/vendor/local/include/gtk-3.0/gtk/gtkrange.h +167 -0
  251. data/vendor/local/include/gtk-3.0/gtk/gtkrecentaction.h +78 -0
  252. data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooser.h +203 -0
  253. data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooserdialog.h +78 -0
  254. data/vendor/local/include/gtk-3.0/gtk/gtkrecentchoosermenu.h +72 -0
  255. data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooserwidget.h +68 -0
  256. data/vendor/local/include/gtk-3.0/gtk/gtkrecentfilter.h +125 -0
  257. data/vendor/local/include/gtk-3.0/gtk/gtkrecentmanager.h +234 -0
  258. data/vendor/local/include/gtk-3.0/gtk/gtkscale.h +114 -0
  259. data/vendor/local/include/gtk-3.0/gtk/gtkscalebutton.h +99 -0
  260. data/vendor/local/include/gtk-3.0/gtk/gtkscrollable.h +60 -0
  261. data/vendor/local/include/gtk-3.0/gtk/gtkscrollbar.h +72 -0
  262. data/vendor/local/include/gtk-3.0/gtk/gtkscrolledwindow.h +136 -0
  263. data/vendor/local/include/gtk-3.0/gtk/gtksearchentry.h +73 -0
  264. data/vendor/local/include/gtk-3.0/gtk/gtkselection.h +192 -0
  265. data/vendor/local/include/gtk-3.0/gtk/gtkseparator.h +75 -0
  266. data/vendor/local/include/gtk-3.0/gtk/gtkseparatormenuitem.h +72 -0
  267. data/vendor/local/include/gtk-3.0/gtk/gtkseparatortoolitem.h +70 -0
  268. data/vendor/local/include/gtk-3.0/gtk/gtksettings.h +127 -0
  269. data/vendor/local/include/gtk-3.0/gtk/gtkshow.h +37 -0
  270. data/vendor/local/include/gtk-3.0/gtk/gtksizegroup.h +95 -0
  271. data/vendor/local/include/gtk-3.0/gtk/gtksizerequest.h +57 -0
  272. data/vendor/local/include/gtk-3.0/gtk/gtksocket.h +84 -0
  273. data/vendor/local/include/gtk-3.0/gtk/gtkspinbutton.h +213 -0
  274. data/vendor/local/include/gtk-3.0/gtk/gtkspinner.h +71 -0
  275. data/vendor/local/include/gtk-3.0/gtk/gtkstatusbar.h +101 -0
  276. data/vendor/local/include/gtk-3.0/gtk/gtkstatusicon.h +147 -0
  277. data/vendor/local/include/gtk-3.0/gtk/gtkstock.h +1029 -0
  278. data/vendor/local/include/gtk-3.0/gtk/gtkstylecontext.h +1014 -0
  279. data/vendor/local/include/gtk-3.0/gtk/gtkstyleproperties.h +117 -0
  280. data/vendor/local/include/gtk-3.0/gtk/gtkstyleprovider.h +126 -0
  281. data/vendor/local/include/gtk-3.0/gtk/gtkswitch.h +93 -0
  282. data/vendor/local/include/gtk-3.0/gtk/gtksymboliccolor.h +57 -0
  283. data/vendor/local/include/gtk-3.0/gtk/gtktestutils.h +72 -0
  284. data/vendor/local/include/gtk-3.0/gtk/gtktextattributes.h +180 -0
  285. data/vendor/local/include/gtk-3.0/gtk/gtktextbuffer.h +408 -0
  286. data/vendor/local/include/gtk-3.0/gtk/gtktextbufferrichtext.h +126 -0
  287. data/vendor/local/include/gtk-3.0/gtk/gtktextchild.h +83 -0
  288. data/vendor/local/include/gtk-3.0/gtk/gtktextdisplay.h +101 -0
  289. data/vendor/local/include/gtk-3.0/gtk/gtktextiter.h +306 -0
  290. data/vendor/local/include/gtk-3.0/gtk/gtktextlayout.h +433 -0
  291. data/vendor/local/include/gtk-3.0/gtk/gtktextmark.h +103 -0
  292. data/vendor/local/include/gtk-3.0/gtk/gtktexttag.h +115 -0
  293. data/vendor/local/include/gtk-3.0/gtk/gtktexttagtable.h +96 -0
  294. data/vendor/local/include/gtk-3.0/gtk/gtktextview.h +298 -0
  295. data/vendor/local/include/gtk-3.0/gtk/gtkthemingengine.h +260 -0
  296. data/vendor/local/include/gtk-3.0/gtk/gtktoggleaction.h +92 -0
  297. data/vendor/local/include/gtk-3.0/gtk/gtktogglebutton.h +93 -0
  298. data/vendor/local/include/gtk-3.0/gtk/gtktoggletoolbutton.h +75 -0
  299. data/vendor/local/include/gtk-3.0/gtk/gtktoolbar.h +135 -0
  300. data/vendor/local/include/gtk-3.0/gtk/gtktoolbutton.h +97 -0
  301. data/vendor/local/include/gtk-3.0/gtk/gtktoolitem.h +124 -0
  302. data/vendor/local/include/gtk-3.0/gtk/gtktoolitemgroup.h +104 -0
  303. data/vendor/local/include/gtk-3.0/gtk/gtktoolpalette.h +140 -0
  304. data/vendor/local/include/gtk-3.0/gtk/gtktoolshell.h +89 -0
  305. data/vendor/local/include/gtk-3.0/gtk/gtktooltip.h +75 -0
  306. data/vendor/local/include/gtk-3.0/gtk/gtktreednd.h +123 -0
  307. data/vendor/local/include/gtk-3.0/gtk/gtktreemodel.h +305 -0
  308. data/vendor/local/include/gtk-3.0/gtk/gtktreemodelfilter.h +144 -0
  309. data/vendor/local/include/gtk-3.0/gtk/gtktreemodelsort.h +84 -0
  310. data/vendor/local/include/gtk-3.0/gtk/gtktreeselection.h +146 -0
  311. data/vendor/local/include/gtk-3.0/gtk/gtktreesortable.h +123 -0
  312. data/vendor/local/include/gtk-3.0/gtk/gtktreestore.h +147 -0
  313. data/vendor/local/include/gtk-3.0/gtk/gtktreeview.h +501 -0
  314. data/vendor/local/include/gtk-3.0/gtk/gtktreeviewcolumn.h +224 -0
  315. data/vendor/local/include/gtk-3.0/gtk/gtktypebuiltins.h +307 -0
  316. data/vendor/local/include/gtk-3.0/gtk/gtktypes.h +56 -0
  317. data/vendor/local/include/gtk-3.0/gtk/gtkuimanager.h +171 -0
  318. data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +102 -0
  319. data/vendor/local/include/gtk-3.0/gtk/gtkviewport.h +96 -0
  320. data/vendor/local/include/gtk-3.0/gtk/gtkvolumebutton.h +70 -0
  321. data/vendor/local/include/gtk-3.0/gtk/gtkwidget.h +896 -0
  322. data/vendor/local/include/gtk-3.0/gtk/gtkwidgetpath.h +132 -0
  323. data/vendor/local/include/gtk-3.0/gtk/gtkwindow.h +351 -0
  324. data/vendor/local/include/gtk-3.0/gtk/gtkx.h +28 -0
  325. data/vendor/local/lib/gailutil.def +14 -0
  326. data/vendor/local/lib/gdk-win32-3.0.def +514 -0
  327. data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +40 -0
  328. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll +0 -0
  329. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll.a +0 -0
  330. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.la +41 -0
  331. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll +0 -0
  332. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll.a +0 -0
  333. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.la +41 -0
  334. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll +0 -0
  335. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll.a +0 -0
  336. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.la +41 -0
  337. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll +0 -0
  338. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll.a +0 -0
  339. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.la +41 -0
  340. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll +0 -0
  341. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll.a +0 -0
  342. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.la +41 -0
  343. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll +0 -0
  344. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll.a +0 -0
  345. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.la +41 -0
  346. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll +0 -0
  347. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll.a +0 -0
  348. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.la +41 -0
  349. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll +0 -0
  350. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll.a +0 -0
  351. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.la +41 -0
  352. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll +0 -0
  353. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll.a +0 -0
  354. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.la +41 -0
  355. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll +0 -0
  356. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll.a +0 -0
  357. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.la +41 -0
  358. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll +0 -0
  359. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll.a +0 -0
  360. data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.la +41 -0
  361. data/vendor/local/lib/gtk-win32-3.0.def +3790 -0
  362. data/vendor/local/lib/libgailutil-3.dll.a +0 -0
  363. data/vendor/local/lib/libgailutil-3.la +41 -0
  364. data/vendor/local/lib/libgdk-3.dll.a +0 -0
  365. data/vendor/local/lib/libgdk-3.la +41 -0
  366. data/vendor/local/lib/libgtk-3.dll.a +0 -0
  367. data/vendor/local/lib/libgtk-3.la +41 -0
  368. data/vendor/local/lib/pkgconfig/gail-3.0.pc +11 -0
  369. data/vendor/local/lib/pkgconfig/gdk-3.0.pc +13 -0
  370. data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +13 -0
  371. data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +16 -0
  372. data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +16 -0
  373. data/vendor/local/share/aclocal/gtk-3.0.m4 +219 -0
  374. data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
  375. data/vendor/local/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml +17 -0
  376. data/vendor/local/share/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml +13 -0
  377. data/vendor/local/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml +66 -0
  378. data/vendor/local/share/gtk-3.0/demo/alphatest.png +0 -0
  379. data/vendor/local/share/gtk-3.0/demo/apple-red.png +0 -0
  380. data/vendor/local/share/gtk-3.0/demo/application.c +485 -0
  381. data/vendor/local/share/gtk-3.0/demo/application.ui +104 -0
  382. data/vendor/local/share/gtk-3.0/demo/appwindow.c +570 -0
  383. data/vendor/local/share/gtk-3.0/demo/assistant.c +201 -0
  384. data/vendor/local/share/gtk-3.0/demo/background.jpg +0 -0
  385. data/vendor/local/share/gtk-3.0/demo/builder.c +74 -0
  386. data/vendor/local/share/gtk-3.0/demo/button_box.c +127 -0
  387. data/vendor/local/share/gtk-3.0/demo/changedisplay.c +654 -0
  388. data/vendor/local/share/gtk-3.0/demo/clipboard.c +326 -0
  389. data/vendor/local/share/gtk-3.0/demo/colorsel.c +133 -0
  390. data/vendor/local/share/gtk-3.0/demo/combobox.c +473 -0
  391. data/vendor/local/share/gtk-3.0/demo/css_accordion.c +78 -0
  392. data/vendor/local/share/gtk-3.0/demo/css_accordion.css +52 -0
  393. data/vendor/local/share/gtk-3.0/demo/css_basics.c +122 -0
  394. data/vendor/local/share/gtk-3.0/demo/css_basics.css +22 -0
  395. data/vendor/local/share/gtk-3.0/demo/css_multiplebgs.c +171 -0
  396. data/vendor/local/share/gtk-3.0/demo/css_multiplebgs.css +136 -0
  397. data/vendor/local/share/gtk-3.0/demo/css_pixbufs.c +127 -0
  398. data/vendor/local/share/gtk-3.0/demo/css_pixbufs.css +76 -0
  399. data/vendor/local/share/gtk-3.0/demo/css_shadows.c +147 -0
  400. data/vendor/local/share/gtk-3.0/demo/css_shadows.css +44 -0
  401. data/vendor/local/share/gtk-3.0/demo/cssview.css +41 -0
  402. data/vendor/local/share/gtk-3.0/demo/demo.ui +266 -0
  403. data/vendor/local/share/gtk-3.0/demo/dialog.c +175 -0
  404. data/vendor/local/share/gtk-3.0/demo/drawingarea.c +296 -0
  405. data/vendor/local/share/gtk-3.0/demo/editable_cells.c +392 -0
  406. data/vendor/local/share/gtk-3.0/demo/entry_buffer.c +66 -0
  407. data/vendor/local/share/gtk-3.0/demo/entry_completion.c +98 -0
  408. data/vendor/local/share/gtk-3.0/demo/expander.c +59 -0
  409. data/vendor/local/share/gtk-3.0/demo/fancy.css +65 -0
  410. data/vendor/local/share/gtk-3.0/demo/floppybuddy.gif +0 -0
  411. data/vendor/local/share/gtk-3.0/demo/gnome-applets.png +0 -0
  412. data/vendor/local/share/gtk-3.0/demo/gnome-calendar.png +0 -0
  413. data/vendor/local/share/gtk-3.0/demo/gnome-foot.png +0 -0
  414. data/vendor/local/share/gtk-3.0/demo/gnome-fs-directory.png +0 -0
  415. data/vendor/local/share/gtk-3.0/demo/gnome-fs-regular.png +0 -0
  416. data/vendor/local/share/gtk-3.0/demo/gnome-gimp.png +0 -0
  417. data/vendor/local/share/gtk-3.0/demo/gnome-gmush.png +0 -0
  418. data/vendor/local/share/gtk-3.0/demo/gnome-gsame.png +0 -0
  419. data/vendor/local/share/gtk-3.0/demo/gnu-keys.png +0 -0
  420. data/vendor/local/share/gtk-3.0/demo/gtk-logo-24.png +0 -0
  421. data/vendor/local/share/gtk-3.0/demo/gtk-logo-48.png +0 -0
  422. data/vendor/local/share/gtk-3.0/demo/gtk-logo-rgb.gif +0 -0
  423. data/vendor/local/share/gtk-3.0/demo/hypertext.c +291 -0
  424. data/vendor/local/share/gtk-3.0/demo/iconview.c +371 -0
  425. data/vendor/local/share/gtk-3.0/demo/iconview_edit.c +158 -0
  426. data/vendor/local/share/gtk-3.0/demo/images.c +472 -0
  427. data/vendor/local/share/gtk-3.0/demo/infobar.c +109 -0
  428. data/vendor/local/share/gtk-3.0/demo/links.c +90 -0
  429. data/vendor/local/share/gtk-3.0/demo/list_store.c +325 -0
  430. data/vendor/local/share/gtk-3.0/demo/menus.c +171 -0
  431. data/vendor/local/share/gtk-3.0/demo/menus.ui +107 -0
  432. data/vendor/local/share/gtk-3.0/demo/offscreen_window.c +615 -0
  433. data/vendor/local/share/gtk-3.0/demo/offscreen_window2.c +526 -0
  434. data/vendor/local/share/gtk-3.0/demo/overlay.c +181 -0
  435. data/vendor/local/share/gtk-3.0/demo/panes.c +205 -0
  436. data/vendor/local/share/gtk-3.0/demo/pickers.c +89 -0
  437. data/vendor/local/share/gtk-3.0/demo/pixbufs.c +261 -0
  438. data/vendor/local/share/gtk-3.0/demo/printing.c +199 -0
  439. data/vendor/local/share/gtk-3.0/demo/reset.css +68 -0
  440. data/vendor/local/share/gtk-3.0/demo/rotated_text.c +236 -0
  441. data/vendor/local/share/gtk-3.0/demo/search_entry.c +322 -0
  442. data/vendor/local/share/gtk-3.0/demo/sizegroup.c +164 -0
  443. data/vendor/local/share/gtk-3.0/demo/spinner.c +95 -0
  444. data/vendor/local/share/gtk-3.0/demo/stock_browser.c +535 -0
  445. data/vendor/local/share/gtk-3.0/demo/textscroll.c +201 -0
  446. data/vendor/local/share/gtk-3.0/demo/textview.c +634 -0
  447. data/vendor/local/share/gtk-3.0/demo/theming.ui +319 -0
  448. data/vendor/local/share/gtk-3.0/demo/theming_custom_css.c +66 -0
  449. data/vendor/local/share/gtk-3.0/demo/theming_style_classes.c +58 -0
  450. data/vendor/local/share/gtk-3.0/demo/toolpalette.c +794 -0
  451. data/vendor/local/share/gtk-3.0/demo/transparent.c +248 -0
  452. data/vendor/local/share/gtk-3.0/demo/tree_store.c +450 -0
  453. data/vendor/local/share/gtk-3.0/demo/ui_manager.c +235 -0
  454. data/vendor/local/share/gtk-3.0/gtkbuilder.rng +305 -0
  455. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailMisc.html +434 -0
  456. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html +291 -0
  457. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3.devhelp2 +29 -0
  458. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/home.png +0 -0
  459. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +45 -0
  460. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.sgml +26 -0
  461. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/left.png +0 -0
  462. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/libgail-util-main.html +41 -0
  463. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/right.png +0 -0
  464. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/style.css +266 -0
  465. data/vendor/local/share/gtk-doc/html/gail-libgail-util3/up.png +0 -0
  466. data/vendor/local/share/gtk-doc/html/gdk3/GdkDevice.html +1532 -0
  467. data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +445 -0
  468. data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +1482 -0
  469. data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplayManager.html +354 -0
  470. data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +1213 -0
  471. data/vendor/local/share/gtk-doc/html/gdk3/X_cursor.png +0 -0
  472. data/vendor/local/share/gtk-doc/html/gdk3/annotation-glossary.html +98 -0
  473. data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-0.html +298 -0
  474. data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-2.html +71 -0
  475. data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-4.html +130 -0
  476. data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-6.html +42 -0
  477. data/vendor/local/share/gtk-doc/html/gdk3/api-index-deprecated.html +158 -0
  478. data/vendor/local/share/gtk-doc/html/gdk3/api-index-full.html +2711 -0
  479. data/vendor/local/share/gtk-doc/html/gdk3/arrow.png +0 -0
  480. data/vendor/local/share/gtk-doc/html/gdk3/based_arrow_down.png +0 -0
  481. data/vendor/local/share/gtk-doc/html/gdk3/based_arrow_up.png +0 -0
  482. data/vendor/local/share/gtk-doc/html/gdk3/boat.png +0 -0
  483. data/vendor/local/share/gtk-doc/html/gdk3/bogosity.png +0 -0
  484. data/vendor/local/share/gtk-doc/html/gdk3/bottom_left_corner.png +0 -0
  485. data/vendor/local/share/gtk-doc/html/gdk3/bottom_right_corner.png +0 -0
  486. data/vendor/local/share/gtk-doc/html/gdk3/bottom_side.png +0 -0
  487. data/vendor/local/share/gtk-doc/html/gdk3/bottom_tee.png +0 -0
  488. data/vendor/local/share/gtk-doc/html/gdk3/box_spiral.png +0 -0
  489. data/vendor/local/share/gtk-doc/html/gdk3/center_ptr.png +0 -0
  490. data/vendor/local/share/gtk-doc/html/gdk3/circle.png +0 -0
  491. data/vendor/local/share/gtk-doc/html/gdk3/clock.png +0 -0
  492. data/vendor/local/share/gtk-doc/html/gdk3/coffee_mug.png +0 -0
  493. data/vendor/local/share/gtk-doc/html/gdk3/cross.png +0 -0
  494. data/vendor/local/share/gtk-doc/html/gdk3/cross_reverse.png +0 -0
  495. data/vendor/local/share/gtk-doc/html/gdk3/crosshair.png +0 -0
  496. data/vendor/local/share/gtk-doc/html/gdk3/diamond_cross.png +0 -0
  497. data/vendor/local/share/gtk-doc/html/gdk3/dot.png +0 -0
  498. data/vendor/local/share/gtk-doc/html/gdk3/dotbox.png +0 -0
  499. data/vendor/local/share/gtk-doc/html/gdk3/double_arrow.png +0 -0
  500. data/vendor/local/share/gtk-doc/html/gdk3/draft_large.png +0 -0
  501. data/vendor/local/share/gtk-doc/html/gdk3/draft_small.png +0 -0
  502. data/vendor/local/share/gtk-doc/html/gdk3/draped_box.png +0 -0
  503. data/vendor/local/share/gtk-doc/html/gdk3/exchange.png +0 -0
  504. data/vendor/local/share/gtk-doc/html/gdk3/fleur.png +0 -0
  505. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Application-launching.html +379 -0
  506. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cairo-Interaction.html +453 -0
  507. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Colors.html +296 -0
  508. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +1055 -0
  509. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Drag-and-Drop.html +949 -0
  510. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html +1873 -0
  511. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +1839 -0
  512. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +952 -0
  513. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +1180 -0
  514. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +427 -0
  515. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pixbufs.html +206 -0
  516. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html +199 -0
  517. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Properties-and-Atoms.html +598 -0
  518. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +326 -0
  519. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Selections.html +622 -0
  520. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Testing.html +230 -0
  521. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +1050 -0
  522. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Visuals.html +777 -0
  523. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +6690 -0
  524. data/vendor/local/share/gtk-doc/html/gdk3/gdk3-X-Window-System-Interaction.html +2083 -0
  525. data/vendor/local/share/gtk-doc/html/gdk3/gdk3.devhelp2 +1042 -0
  526. data/vendor/local/share/gtk-doc/html/gdk3/gobbler.png +0 -0
  527. data/vendor/local/share/gtk-doc/html/gdk3/gumby.png +0 -0
  528. data/vendor/local/share/gtk-doc/html/gdk3/hand1.png +0 -0
  529. data/vendor/local/share/gtk-doc/html/gdk3/hand2.png +0 -0
  530. data/vendor/local/share/gtk-doc/html/gdk3/heart.png +0 -0
  531. data/vendor/local/share/gtk-doc/html/gdk3/home.png +0 -0
  532. data/vendor/local/share/gtk-doc/html/gdk3/icon.png +0 -0
  533. data/vendor/local/share/gtk-doc/html/gdk3/index.html +120 -0
  534. data/vendor/local/share/gtk-doc/html/gdk3/index.sgml +1162 -0
  535. data/vendor/local/share/gtk-doc/html/gdk3/iron_cross.png +0 -0
  536. data/vendor/local/share/gtk-doc/html/gdk3/left.png +0 -0
  537. data/vendor/local/share/gtk-doc/html/gdk3/left_ptr.png +0 -0
  538. data/vendor/local/share/gtk-doc/html/gdk3/left_side.png +0 -0
  539. data/vendor/local/share/gtk-doc/html/gdk3/left_tee.png +0 -0
  540. data/vendor/local/share/gtk-doc/html/gdk3/leftbutton.png +0 -0
  541. data/vendor/local/share/gtk-doc/html/gdk3/ll_angle.png +0 -0
  542. data/vendor/local/share/gtk-doc/html/gdk3/lr_angle.png +0 -0
  543. data/vendor/local/share/gtk-doc/html/gdk3/man.png +0 -0
  544. data/vendor/local/share/gtk-doc/html/gdk3/middlebutton.png +0 -0
  545. data/vendor/local/share/gtk-doc/html/gdk3/mouse.png +0 -0
  546. data/vendor/local/share/gtk-doc/html/gdk3/pencil.png +0 -0
  547. data/vendor/local/share/gtk-doc/html/gdk3/pirate.png +0 -0
  548. data/vendor/local/share/gtk-doc/html/gdk3/plus.png +0 -0
  549. data/vendor/local/share/gtk-doc/html/gdk3/question_arrow.png +0 -0
  550. data/vendor/local/share/gtk-doc/html/gdk3/reference.html +113 -0
  551. data/vendor/local/share/gtk-doc/html/gdk3/right.png +0 -0
  552. data/vendor/local/share/gtk-doc/html/gdk3/right_ptr.png +0 -0
  553. data/vendor/local/share/gtk-doc/html/gdk3/right_side.png +0 -0
  554. data/vendor/local/share/gtk-doc/html/gdk3/right_tee.png +0 -0
  555. data/vendor/local/share/gtk-doc/html/gdk3/rightbutton.png +0 -0
  556. data/vendor/local/share/gtk-doc/html/gdk3/rotated-text.png +0 -0
  557. data/vendor/local/share/gtk-doc/html/gdk3/rtl_logo.png +0 -0
  558. data/vendor/local/share/gtk-doc/html/gdk3/sailboat.png +0 -0
  559. data/vendor/local/share/gtk-doc/html/gdk3/sb_down_arrow.png +0 -0
  560. data/vendor/local/share/gtk-doc/html/gdk3/sb_h_double_arrow.png +0 -0
  561. data/vendor/local/share/gtk-doc/html/gdk3/sb_left_arrow.png +0 -0
  562. data/vendor/local/share/gtk-doc/html/gdk3/sb_right_arrow.png +0 -0
  563. data/vendor/local/share/gtk-doc/html/gdk3/sb_up_arrow.png +0 -0
  564. data/vendor/local/share/gtk-doc/html/gdk3/sb_v_double_arrow.png +0 -0
  565. data/vendor/local/share/gtk-doc/html/gdk3/shuttle.png +0 -0
  566. data/vendor/local/share/gtk-doc/html/gdk3/sizing.png +0 -0
  567. data/vendor/local/share/gtk-doc/html/gdk3/spider.png +0 -0
  568. data/vendor/local/share/gtk-doc/html/gdk3/spraycan.png +0 -0
  569. data/vendor/local/share/gtk-doc/html/gdk3/star.png +0 -0
  570. data/vendor/local/share/gtk-doc/html/gdk3/style.css +266 -0
  571. data/vendor/local/share/gtk-doc/html/gdk3/target.png +0 -0
  572. data/vendor/local/share/gtk-doc/html/gdk3/tcross.png +0 -0
  573. data/vendor/local/share/gtk-doc/html/gdk3/top_left_arrow.png +0 -0
  574. data/vendor/local/share/gtk-doc/html/gdk3/top_left_corner.png +0 -0
  575. data/vendor/local/share/gtk-doc/html/gdk3/top_right_corner.png +0 -0
  576. data/vendor/local/share/gtk-doc/html/gdk3/top_side.png +0 -0
  577. data/vendor/local/share/gtk-doc/html/gdk3/top_tee.png +0 -0
  578. data/vendor/local/share/gtk-doc/html/gdk3/trek.png +0 -0
  579. data/vendor/local/share/gtk-doc/html/gdk3/ul_angle.png +0 -0
  580. data/vendor/local/share/gtk-doc/html/gdk3/umbrella.png +0 -0
  581. data/vendor/local/share/gtk-doc/html/gdk3/up.png +0 -0
  582. data/vendor/local/share/gtk-doc/html/gdk3/ur_angle.png +0 -0
  583. data/vendor/local/share/gtk-doc/html/gdk3/watch.png +0 -0
  584. data/vendor/local/share/gtk-doc/html/gdk3/xterm.png +0 -0
  585. data/vendor/local/share/gtk-doc/html/gtk3/AbstractObjects.html +53 -0
  586. data/vendor/local/share/gtk-doc/html/gtk3/Actions.html +53 -0
  587. data/vendor/local/share/gtk-doc/html/gtk3/Application.html +42 -0
  588. data/vendor/local/share/gtk-doc/html/gtk3/ApplicationChoosing.html +44 -0
  589. data/vendor/local/share/gtk-doc/html/gtk3/Builder.html +38 -0
  590. data/vendor/local/share/gtk-doc/html/gtk3/ButtonWidgets.html +62 -0
  591. data/vendor/local/share/gtk-doc/html/gtk3/DisplayWidgets.html +59 -0
  592. data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +1501 -0
  593. data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +400 -0
  594. data/vendor/local/share/gtk-doc/html/gtk3/GtkAccessible.html +200 -0
  595. data/vendor/local/share/gtk-doc/html/gtk3/GtkAction.html +1580 -0
  596. data/vendor/local/share/gtk-doc/html/gtk3/GtkActionGroup.html +1389 -0
  597. data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +425 -0
  598. data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +876 -0
  599. data/vendor/local/share/gtk-doc/html/gtk3/GtkAdjustment.html +845 -0
  600. data/vendor/local/share/gtk-doc/html/gtk3/GtkAlignment.html +411 -0
  601. data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +212 -0
  602. data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserButton.html +518 -0
  603. data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserDialog.html +297 -0
  604. data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserWidget.html +712 -0
  605. data/vendor/local/share/gtk-doc/html/gtk3/GtkApplication.html +1877 -0
  606. data/vendor/local/share/gtk-doc/html/gtk3/GtkApplicationWindow.html +788 -0
  607. data/vendor/local/share/gtk-doc/html/gtk3/GtkArrow.html +208 -0
  608. data/vendor/local/share/gtk-doc/html/gtk3/GtkAspectFrame.html +241 -0
  609. data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +1389 -0
  610. data/vendor/local/share/gtk-doc/html/gtk3/GtkBin.html +132 -0
  611. data/vendor/local/share/gtk-doc/html/gtk3/GtkBox.html +683 -0
  612. data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +677 -0
  613. data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +1354 -0
  614. data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +1292 -0
  615. data/vendor/local/share/gtk-doc/html/gtk3/GtkButtonBox.html +432 -0
  616. data/vendor/local/share/gtk-doc/html/gtk3/GtkCalendar.html +1031 -0
  617. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +3227 -0
  618. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaBox.html +369 -0
  619. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaContext.html +675 -0
  620. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +286 -0
  621. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +750 -0
  622. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +1596 -0
  623. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +275 -0
  624. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererCombo.html +228 -0
  625. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +203 -0
  626. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererProgress.html +202 -0
  627. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpin.html +159 -0
  628. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpinner.html +155 -0
  629. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +653 -0
  630. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererToggle.html +372 -0
  631. data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +729 -0
  632. data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckButton.html +198 -0
  633. data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckMenuItem.html +462 -0
  634. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +607 -0
  635. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +370 -0
  636. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserDialog.html +144 -0
  637. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserWidget.html +150 -0
  638. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +889 -0
  639. data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelectionDialog.html +200 -0
  640. data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +1893 -0
  641. data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBoxText.html +519 -0
  642. data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +1692 -0
  643. data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.html +2108 -0
  644. data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +1288 -0
  645. data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +234 -0
  646. data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +723 -0
  647. data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +3957 -0
  648. data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryBuffer.html +627 -0
  649. data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryCompletion.html +1331 -0
  650. data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +305 -0
  651. data/vendor/local/share/gtk-doc/html/gtk3/GtkExpander.html +851 -0
  652. data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooser.html +3403 -0
  653. data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserButton.html +486 -0
  654. data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserDialog.html +396 -0
  655. data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserWidget.html +127 -0
  656. data/vendor/local/share/gtk-doc/html/gtk3/GtkFileFilter.html +595 -0
  657. data/vendor/local/share/gtk-doc/html/gtk3/GtkFixed.html +253 -0
  658. data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +609 -0
  659. data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +605 -0
  660. data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserDialog.html +137 -0
  661. data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserWidget.html +125 -0
  662. data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +571 -0
  663. data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +400 -0
  664. data/vendor/local/share/gtk-doc/html/gtk3/GtkFrame.html +464 -0
  665. data/vendor/local/share/gtk-doc/html/gtk3/GtkGrid.html +701 -0
  666. data/vendor/local/share/gtk-doc/html/gtk3/GtkHBox.html +147 -0
  667. data/vendor/local/share/gtk-doc/html/gtk3/GtkHButtonBox.html +134 -0
  668. data/vendor/local/share/gtk-doc/html/gtk3/GtkHPaned.html +115 -0
  669. data/vendor/local/share/gtk-doc/html/gtk3/GtkHSV.html +445 -0
  670. data/vendor/local/share/gtk-doc/html/gtk3/GtkHScale.html +172 -0
  671. data/vendor/local/share/gtk-doc/html/gtk3/GtkHScrollbar.html +128 -0
  672. data/vendor/local/share/gtk-doc/html/gtk3/GtkHSeparator.html +127 -0
  673. data/vendor/local/share/gtk-doc/html/gtk3/GtkHandleBox.html +514 -0
  674. data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +1027 -0
  675. data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContextSimple.html +150 -0
  676. data/vendor/local/share/gtk-doc/html/gtk3/GtkIMMulticontext.html +183 -0
  677. data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +1755 -0
  678. data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +2896 -0
  679. data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +1349 -0
  680. data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +486 -0
  681. data/vendor/local/share/gtk-doc/html/gtk3/GtkInfoBar.html +764 -0
  682. data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +205 -0
  683. data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +2208 -0
  684. data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +518 -0
  685. data/vendor/local/share/gtk-doc/html/gtk3/GtkLevelBar.html +782 -0
  686. data/vendor/local/share/gtk-doc/html/gtk3/GtkLinkButton.html +369 -0
  687. data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +1159 -0
  688. data/vendor/local/share/gtk-doc/html/gtk3/GtkLockButton.html +259 -0
  689. data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +1527 -0
  690. data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuBar.html +369 -0
  691. data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuButton.html +535 -0
  692. data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuItem.html +940 -0
  693. data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +904 -0
  694. data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuToolButton.html +387 -0
  695. data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +814 -0
  696. data/vendor/local/share/gtk-doc/html/gtk3/GtkMisc.html +296 -0
  697. data/vendor/local/share/gtk-doc/html/gtk3/GtkNotebook.html +2219 -0
  698. data/vendor/local/share/gtk-doc/html/gtk3/GtkNumerableIcon.html +557 -0
  699. data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +187 -0
  700. data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +229 -0
  701. data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetup.html +1031 -0
  702. data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetupUnixDialog.html +254 -0
  703. data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +783 -0
  704. data/vendor/local/share/gtk-doc/html/gtk3/GtkPaperSize.html +905 -0
  705. data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +388 -0
  706. data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintContext.html +571 -0
  707. data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +1133 -0
  708. data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintSettings.html +2948 -0
  709. data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintUnixDialog.html +919 -0
  710. data/vendor/local/share/gtk-doc/html/gtk3/GtkPrinter.html +1003 -0
  711. data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +668 -0
  712. data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioAction.html +451 -0
  713. data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioButton.html +586 -0
  714. data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioMenuItem.html +436 -0
  715. data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioToolButton.html +316 -0
  716. data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +1365 -0
  717. data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentAction.html +279 -0
  718. data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +1415 -0
  719. data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserDialog.html +247 -0
  720. data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserMenu.html +266 -0
  721. data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserWidget.html +155 -0
  722. data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentFilter.html +685 -0
  723. data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +1641 -0
  724. data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +726 -0
  725. data/vendor/local/share/gtk-doc/html/gtk3/GtkScaleButton.html +546 -0
  726. data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.html +452 -0
  727. data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollbar.html +194 -0
  728. data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +1106 -0
  729. data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +118 -0
  730. data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparator.html +114 -0
  731. data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorMenuItem.html +107 -0
  732. data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorToolItem.html +199 -0
  733. data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +1357 -0
  734. data/vendor/local/share/gtk-doc/html/gtk3/GtkSizeGroup.html +487 -0
  735. data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +360 -0
  736. data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +1380 -0
  737. data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinner.html +173 -0
  738. data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +1743 -0
  739. data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusbar.html +441 -0
  740. data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +2534 -0
  741. data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +4505 -0
  742. data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +324 -0
  743. data/vendor/local/share/gtk-doc/html/gtk3/GtkSwitch.html +248 -0
  744. data/vendor/local/share/gtk-doc/html/gtk3/GtkTable.html +897 -0
  745. data/vendor/local/share/gtk-doc/html/gtk3/GtkTearoffMenuItem.html +135 -0
  746. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +3895 -0
  747. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextIter.html +3183 -0
  748. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextMark.html +342 -0
  749. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +1124 -0
  750. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTagTable.html +410 -0
  751. data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +3390 -0
  752. data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +1197 -0
  753. data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleAction.html +335 -0
  754. data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleButton.html +518 -0
  755. data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleToolButton.html +268 -0
  756. data/vendor/local/share/gtk-doc/html/gtk3/GtkToolButton.html +677 -0
  757. data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +1139 -0
  758. data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +755 -0
  759. data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +1037 -0
  760. data/vendor/local/share/gtk-doc/html/gtk3/GtkToolShell.html +425 -0
  761. data/vendor/local/share/gtk-doc/html/gtk3/GtkToolbar.html +946 -0
  762. data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +432 -0
  763. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +2814 -0
  764. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html +742 -0
  765. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelSort.html +591 -0
  766. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSelection.html +891 -0
  767. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +481 -0
  768. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +1108 -0
  769. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +4864 -0
  770. data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +2067 -0
  771. data/vendor/local/share/gtk-doc/html/gtk3/GtkUIManager.html +1467 -0
  772. data/vendor/local/share/gtk-doc/html/gtk3/GtkVBox.html +162 -0
  773. data/vendor/local/share/gtk-doc/html/gtk3/GtkVButtonBox.html +134 -0
  774. data/vendor/local/share/gtk-doc/html/gtk3/GtkVPaned.html +115 -0
  775. data/vendor/local/share/gtk-doc/html/gtk3/GtkVScale.html +176 -0
  776. data/vendor/local/share/gtk-doc/html/gtk3/GtkVScrollbar.html +132 -0
  777. data/vendor/local/share/gtk-doc/html/gtk3/GtkVSeparator.html +120 -0
  778. data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +387 -0
  779. data/vendor/local/share/gtk-doc/html/gtk3/GtkVolumeButton.html +135 -0
  780. data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +12811 -0
  781. data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +4647 -0
  782. data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +250 -0
  783. data/vendor/local/share/gtk-doc/html/gtk3/LayoutContainers.html +91 -0
  784. data/vendor/local/share/gtk-doc/html/gtk3/MenusAndCombos.html +93 -0
  785. data/vendor/local/share/gtk-doc/html/gtk3/MiscObjects.html +69 -0
  786. data/vendor/local/share/gtk-doc/html/gtk3/NumericEntry.html +60 -0
  787. data/vendor/local/share/gtk-doc/html/gtk3/Ornaments.html +44 -0
  788. data/vendor/local/share/gtk-doc/html/gtk3/PlugSocket.html +38 -0
  789. data/vendor/local/share/gtk-doc/html/gtk3/Printing.html +59 -0
  790. data/vendor/local/share/gtk-doc/html/gtk3/RecentDocuments.html +51 -0
  791. data/vendor/local/share/gtk-doc/html/gtk3/ScrollingWidgets.html +47 -0
  792. data/vendor/local/share/gtk-doc/html/gtk3/SelectorWidgets.html +86 -0
  793. data/vendor/local/share/gtk-doc/html/gtk3/TextWidget.html +266 -0
  794. data/vendor/local/share/gtk-doc/html/gtk3/TextWidgetObjects.html +53 -0
  795. data/vendor/local/share/gtk-doc/html/gtk3/TreeWidget.html +556 -0
  796. data/vendor/local/share/gtk-doc/html/gtk3/TreeWidgetObjects.html +115 -0
  797. data/vendor/local/share/gtk-doc/html/gtk3/WindowWidgets.html +56 -0
  798. data/vendor/local/share/gtk-doc/html/gtk3/aboutdialog.png +0 -0
  799. data/vendor/local/share/gtk-doc/html/gtk3/accel-label.png +0 -0
  800. data/vendor/local/share/gtk-doc/html/gtk3/annotation-glossary.html +110 -0
  801. data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-0.html +1901 -0
  802. data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-2.html +378 -0
  803. data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-4.html +322 -0
  804. data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-6.html +332 -0
  805. data/vendor/local/share/gtk-doc/html/gtk3/api-index-deprecated.html +1006 -0
  806. data/vendor/local/share/gtk-doc/html/gtk3/api-index-full.html +22583 -0
  807. data/vendor/local/share/gtk-doc/html/gtk3/appchooserbutton.png +0 -0
  808. data/vendor/local/share/gtk-doc/html/gtk3/appchooserdialog.png +0 -0
  809. data/vendor/local/share/gtk-doc/html/gtk3/application-exit.png +0 -0
  810. data/vendor/local/share/gtk-doc/html/gtk3/arrows.png +0 -0
  811. data/vendor/local/share/gtk-doc/html/gtk3/assistant.png +0 -0
  812. data/vendor/local/share/gtk-doc/html/gtk3/background.png +0 -0
  813. data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-gnome.png +0 -0
  814. data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-osx.png +0 -0
  815. data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-xfce.png +0 -0
  816. data/vendor/local/share/gtk-doc/html/gtk3/border1.png +0 -0
  817. data/vendor/local/share/gtk-doc/html/gtk3/border2.png +0 -0
  818. data/vendor/local/share/gtk-doc/html/gtk3/border3.png +0 -0
  819. data/vendor/local/share/gtk-doc/html/gtk3/box-expand.png +0 -0
  820. data/vendor/local/share/gtk-doc/html/gtk3/box-packing.png +0 -0
  821. data/vendor/local/share/gtk-doc/html/gtk3/button.png +0 -0
  822. data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +252 -0
  823. data/vendor/local/share/gtk-doc/html/gtk3/ch03.html +178 -0
  824. data/vendor/local/share/gtk-doc/html/gtk3/ch24s02.html +1407 -0
  825. data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +53 -0
  826. data/vendor/local/share/gtk-doc/html/gtk3/ch28s02.html +117 -0
  827. data/vendor/local/share/gtk-doc/html/gtk3/ch28s03.html +70 -0
  828. data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +461 -0
  829. data/vendor/local/share/gtk-doc/html/gtk3/check-button.png +0 -0
  830. data/vendor/local/share/gtk-doc/html/gtk3/checklist-gdkeventexpose-region.html +82 -0
  831. data/vendor/local/share/gtk-doc/html/gtk3/checklist-modifiers.html +89 -0
  832. data/vendor/local/share/gtk-doc/html/gtk3/checklist-named-icons.html +40 -0
  833. data/vendor/local/share/gtk-doc/html/gtk3/checks.png +0 -0
  834. data/vendor/local/share/gtk-doc/html/gtk3/color-button.png +0 -0
  835. data/vendor/local/share/gtk-doc/html/gtk3/colorchooser.png +0 -0
  836. data/vendor/local/share/gtk-doc/html/gtk3/colorsel.png +0 -0
  837. data/vendor/local/share/gtk-doc/html/gtk3/combo-box-entry.png +0 -0
  838. data/vendor/local/share/gtk-doc/html/gtk3/combo-box.png +0 -0
  839. data/vendor/local/share/gtk-doc/html/gtk3/dialog-error.png +0 -0
  840. data/vendor/local/share/gtk-doc/html/gtk3/dialog-information.png +0 -0
  841. data/vendor/local/share/gtk-doc/html/gtk3/dialog-password.png +0 -0
  842. data/vendor/local/share/gtk-doc/html/gtk3/dialog-question.png +0 -0
  843. data/vendor/local/share/gtk-doc/html/gtk3/dialog-warning.png +0 -0
  844. data/vendor/local/share/gtk-doc/html/gtk3/document-new.png +0 -0
  845. data/vendor/local/share/gtk-doc/html/gtk3/document-open.png +0 -0
  846. data/vendor/local/share/gtk-doc/html/gtk3/document-print-preview.png +0 -0
  847. data/vendor/local/share/gtk-doc/html/gtk3/document-print.png +0 -0
  848. data/vendor/local/share/gtk-doc/html/gtk3/document-properties.png +0 -0
  849. data/vendor/local/share/gtk-doc/html/gtk3/document-revert-ltr.png +0 -0
  850. data/vendor/local/share/gtk-doc/html/gtk3/document-revert-rtl.png +0 -0
  851. data/vendor/local/share/gtk-doc/html/gtk3/document-save-as.png +0 -0
  852. data/vendor/local/share/gtk-doc/html/gtk3/document-save.png +0 -0
  853. data/vendor/local/share/gtk-doc/html/gtk3/down-center.png +0 -0
  854. data/vendor/local/share/gtk-doc/html/gtk3/down-end.png +0 -0
  855. data/vendor/local/share/gtk-doc/html/gtk3/down-start.png +0 -0
  856. data/vendor/local/share/gtk-doc/html/gtk3/drawing.png +0 -0
  857. data/vendor/local/share/gtk-doc/html/gtk3/drive-harddisk.png +0 -0
  858. data/vendor/local/share/gtk-doc/html/gtk3/ease-in-out.png +0 -0
  859. data/vendor/local/share/gtk-doc/html/gtk3/ease-in.png +0 -0
  860. data/vendor/local/share/gtk-doc/html/gtk3/ease-out.png +0 -0
  861. data/vendor/local/share/gtk-doc/html/gtk3/ease.png +0 -0
  862. data/vendor/local/share/gtk-doc/html/gtk3/edit-clear.png +0 -0
  863. data/vendor/local/share/gtk-doc/html/gtk3/edit-copy.png +0 -0
  864. data/vendor/local/share/gtk-doc/html/gtk3/edit-cut.png +0 -0
  865. data/vendor/local/share/gtk-doc/html/gtk3/edit-delete.png +0 -0
  866. data/vendor/local/share/gtk-doc/html/gtk3/edit-find-replace.png +0 -0
  867. data/vendor/local/share/gtk-doc/html/gtk3/edit-find.png +0 -0
  868. data/vendor/local/share/gtk-doc/html/gtk3/edit-paste.png +0 -0
  869. data/vendor/local/share/gtk-doc/html/gtk3/edit-redo-ltr.png +0 -0
  870. data/vendor/local/share/gtk-doc/html/gtk3/edit-redo-rtl.png +0 -0
  871. data/vendor/local/share/gtk-doc/html/gtk3/edit-select-all.png +0 -0
  872. data/vendor/local/share/gtk-doc/html/gtk3/edit-undo-ltr.png +0 -0
  873. data/vendor/local/share/gtk-doc/html/gtk3/edit-undo-rtl.png +0 -0
  874. data/vendor/local/share/gtk-doc/html/gtk3/entry.png +0 -0
  875. data/vendor/local/share/gtk-doc/html/gtk3/expanders.png +0 -0
  876. data/vendor/local/share/gtk-doc/html/gtk3/extensions.png +0 -0
  877. data/vendor/local/share/gtk-doc/html/gtk3/figure-hierarchical-drawing.png +0 -0
  878. data/vendor/local/share/gtk-doc/html/gtk3/figure-windowed-label.png +0 -0
  879. data/vendor/local/share/gtk-doc/html/gtk3/file-button.png +0 -0
  880. data/vendor/local/share/gtk-doc/html/gtk3/filechooser.png +0 -0
  881. data/vendor/local/share/gtk-doc/html/gtk3/focus.png +0 -0
  882. data/vendor/local/share/gtk-doc/html/gtk3/folder.png +0 -0
  883. data/vendor/local/share/gtk-doc/html/gtk3/font-button.png +0 -0
  884. data/vendor/local/share/gtk-doc/html/gtk3/fontchooser.png +0 -0
  885. data/vendor/local/share/gtk-doc/html/gtk3/fontsel.png +0 -0
  886. data/vendor/local/share/gtk-doc/html/gtk3/format-indent-less-ltr.png +0 -0
  887. data/vendor/local/share/gtk-doc/html/gtk3/format-indent-less-rtl.png +0 -0
  888. data/vendor/local/share/gtk-doc/html/gtk3/format-indent-more-ltr.png +0 -0
  889. data/vendor/local/share/gtk-doc/html/gtk3/format-indent-more-rtl.png +0 -0
  890. data/vendor/local/share/gtk-doc/html/gtk3/format-justify-center.png +0 -0
  891. data/vendor/local/share/gtk-doc/html/gtk3/format-justify-fill.png +0 -0
  892. data/vendor/local/share/gtk-doc/html/gtk3/format-justify-left.png +0 -0
  893. data/vendor/local/share/gtk-doc/html/gtk3/format-justify-right.png +0 -0
  894. data/vendor/local/share/gtk-doc/html/gtk3/format-text-bold.png +0 -0
  895. data/vendor/local/share/gtk-doc/html/gtk3/format-text-italic.png +0 -0
  896. data/vendor/local/share/gtk-doc/html/gtk3/format-text-strikethrough.png +0 -0
  897. data/vendor/local/share/gtk-doc/html/gtk3/format-text-underline.png +0 -0
  898. data/vendor/local/share/gtk-doc/html/gtk3/frame-gap.png +0 -0
  899. data/vendor/local/share/gtk-doc/html/gtk3/frame.png +0 -0
  900. data/vendor/local/share/gtk-doc/html/gtk3/frames.png +0 -0
  901. data/vendor/local/share/gtk-doc/html/gtk3/glossary.html +312 -0
  902. data/vendor/local/share/gtk-doc/html/gtk3/go-bottom.png +0 -0
  903. data/vendor/local/share/gtk-doc/html/gtk3/go-down.png +0 -0
  904. data/vendor/local/share/gtk-doc/html/gtk3/go-first-ltr.png +0 -0
  905. data/vendor/local/share/gtk-doc/html/gtk3/go-first-rtl.png +0 -0
  906. data/vendor/local/share/gtk-doc/html/gtk3/go-home.png +0 -0
  907. data/vendor/local/share/gtk-doc/html/gtk3/go-jump-ltr.png +0 -0
  908. data/vendor/local/share/gtk-doc/html/gtk3/go-jump-rtl.png +0 -0
  909. data/vendor/local/share/gtk-doc/html/gtk3/go-last-ltr.png +0 -0
  910. data/vendor/local/share/gtk-doc/html/gtk3/go-last-rtl.png +0 -0
  911. data/vendor/local/share/gtk-doc/html/gtk3/go-next-ltr.png +0 -0
  912. data/vendor/local/share/gtk-doc/html/gtk3/go-next-rtl.png +0 -0
  913. data/vendor/local/share/gtk-doc/html/gtk3/go-previous-ltr.png +0 -0
  914. data/vendor/local/share/gtk-doc/html/gtk3/go-previous-rtl.png +0 -0
  915. data/vendor/local/share/gtk-doc/html/gtk3/go-top.png +0 -0
  916. data/vendor/local/share/gtk-doc/html/gtk3/go-up.png +0 -0
  917. data/vendor/local/share/gtk-doc/html/gtk3/gradient1.png +0 -0
  918. data/vendor/local/share/gtk-doc/html/gtk3/gradient2.png +0 -0
  919. data/vendor/local/share/gtk-doc/html/gtk3/gradient3.png +0 -0
  920. data/vendor/local/share/gtk-doc/html/gtk3/gradient4.png +0 -0
  921. data/vendor/local/share/gtk-doc/html/gtk3/grid-packing.png +0 -0
  922. data/vendor/local/share/gtk-doc/html/gtk3/gtk-apply.png +0 -0
  923. data/vendor/local/share/gtk-doc/html/gtk3/gtk-broadway.html +55 -0
  924. data/vendor/local/share/gtk-doc/html/gtk3/gtk-building.html +459 -0
  925. data/vendor/local/share/gtk-doc/html/gtk3/gtk-cancel.png +0 -0
  926. data/vendor/local/share/gtk-doc/html/gtk3/gtk-caps-lock-warning.png +0 -0
  927. data/vendor/local/share/gtk-doc/html/gtk3/gtk-color-picker.png +0 -0
  928. data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +161 -0
  929. data/vendor/local/share/gtk-doc/html/gtk3/gtk-connect.png +0 -0
  930. data/vendor/local/share/gtk-doc/html/gtk3/gtk-convert.png +0 -0
  931. data/vendor/local/share/gtk-doc/html/gtk3/gtk-disconnect.png +0 -0
  932. data/vendor/local/share/gtk-doc/html/gtk3/gtk-dnd-multiple.png +0 -0
  933. data/vendor/local/share/gtk-doc/html/gtk3/gtk-dnd.png +0 -0
  934. data/vendor/local/share/gtk-doc/html/gtk3/gtk-edit.png +0 -0
  935. data/vendor/local/share/gtk-doc/html/gtk3/gtk-font.png +0 -0
  936. data/vendor/local/share/gtk-doc/html/gtk3/gtk-getting-started.html +1095 -0
  937. data/vendor/local/share/gtk-doc/html/gtk3/gtk-index.png +0 -0
  938. data/vendor/local/share/gtk-doc/html/gtk3/gtk-launch.html +72 -0
  939. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +688 -0
  940. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkGrid.html +102 -0
  941. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-bonus-points.html +136 -0
  942. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-checklist.html +221 -0
  943. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +437 -0
  944. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +69 -0
  945. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parsing.html +82 -0
  946. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext.html +74 -0
  947. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-checklist.html +164 -0
  948. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-smclient-GtkApplication.html +89 -0
  949. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-theme-GtkStyleContext-engines.html +133 -0
  950. data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-unique-GtkApplication.html +228 -0
  951. data/vendor/local/share/gtk-doc/html/gtk3/gtk-no.png +0 -0
  952. data/vendor/local/share/gtk-doc/html/gtk3/gtk-ok.png +0 -0
  953. data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-landscape.png +0 -0
  954. data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-portrait.png +0 -0
  955. data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-reverse-landscape.png +0 -0
  956. data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-reverse-portrait.png +0 -0
  957. data/vendor/local/share/gtk-doc/html/gtk3/gtk-osx.html +54 -0
  958. data/vendor/local/share/gtk-doc/html/gtk3/gtk-page-setup.png +0 -0
  959. data/vendor/local/share/gtk-doc/html/gtk3/gtk-preferences.png +0 -0
  960. data/vendor/local/share/gtk-doc/html/gtk3/gtk-query-immodules-3.0.html +110 -0
  961. data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +1395 -0
  962. data/vendor/local/share/gtk-doc/html/gtk3/gtk-resources.html +146 -0
  963. data/vendor/local/share/gtk-doc/html/gtk3/gtk-running.html +427 -0
  964. data/vendor/local/share/gtk-doc/html/gtk3/gtk-select-color.png +0 -0
  965. data/vendor/local/share/gtk-doc/html/gtk3/gtk-undelete-ltr.png +0 -0
  966. data/vendor/local/share/gtk-doc/html/gtk3/gtk-undelete-rtl.png +0 -0
  967. data/vendor/local/share/gtk-doc/html/gtk3/gtk-update-icon-cache.html +106 -0
  968. data/vendor/local/share/gtk-doc/html/gtk3/gtk-windows.html +93 -0
  969. data/vendor/local/share/gtk-doc/html/gtk3/gtk-x11.html +122 -0
  970. data/vendor/local/share/gtk-doc/html/gtk3/gtk-yes.png +0 -0
  971. data/vendor/local/share/gtk-doc/html/gtk3/gtk.html +187 -0
  972. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +674 -0
  973. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +920 -0
  974. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +1622 -0
  975. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +1483 -0
  976. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +346 -0
  977. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +368 -0
  978. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +1325 -0
  979. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +346 -0
  980. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkStyleProperties.html +590 -0
  981. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +420 -0
  982. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html +452 -0
  983. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkWidgetPath.html +1361 -0
  984. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +2748 -0
  985. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +1143 -0
  986. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +173 -0
  987. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +2004 -0
  988. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +1844 -0
  989. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html +1753 -0
  990. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +1587 -0
  991. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +646 -0
  992. data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +1730 -0
  993. data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +6619 -0
  994. data/vendor/local/share/gtk-doc/html/gtk3/gtkbase.html +76 -0
  995. data/vendor/local/share/gtk-doc/html/gtk3/gtkobjects.html +670 -0
  996. data/vendor/local/share/gtk-doc/html/gtk3/handles.png +0 -0
  997. data/vendor/local/share/gtk-doc/html/gtk3/hello-world.png +0 -0
  998. data/vendor/local/share/gtk-doc/html/gtk3/help-about.png +0 -0
  999. data/vendor/local/share/gtk-doc/html/gtk3/help-contents.png +0 -0
  1000. data/vendor/local/share/gtk-doc/html/gtk3/home.png +0 -0
  1001. data/vendor/local/share/gtk-doc/html/gtk3/icon-view.png +0 -0
  1002. data/vendor/local/share/gtk-doc/html/gtk3/image-missing.png +0 -0
  1003. data/vendor/local/share/gtk-doc/html/gtk3/image.png +0 -0
  1004. data/vendor/local/share/gtk-doc/html/gtk3/index.html +903 -0
  1005. data/vendor/local/share/gtk-doc/html/gtk3/index.sgml +8183 -0
  1006. data/vendor/local/share/gtk-doc/html/gtk3/label.png +0 -0
  1007. data/vendor/local/share/gtk-doc/html/gtk3/layout-btlr.png +0 -0
  1008. data/vendor/local/share/gtk-doc/html/gtk3/layout-btrl.png +0 -0
  1009. data/vendor/local/share/gtk-doc/html/gtk3/layout-lrbt.png +0 -0
  1010. data/vendor/local/share/gtk-doc/html/gtk3/layout-lrtb.png +0 -0
  1011. data/vendor/local/share/gtk-doc/html/gtk3/layout-rlbt.png +0 -0
  1012. data/vendor/local/share/gtk-doc/html/gtk3/layout-rltb.png +0 -0
  1013. data/vendor/local/share/gtk-doc/html/gtk3/layout-tblr.png +0 -0
  1014. data/vendor/local/share/gtk-doc/html/gtk3/layout-tbrl.png +0 -0
  1015. data/vendor/local/share/gtk-doc/html/gtk3/left-center.png +0 -0
  1016. data/vendor/local/share/gtk-doc/html/gtk3/left-end.png +0 -0
  1017. data/vendor/local/share/gtk-doc/html/gtk3/left-start.png +0 -0
  1018. data/vendor/local/share/gtk-doc/html/gtk3/left.png +0 -0
  1019. data/vendor/local/share/gtk-doc/html/gtk3/levelbar.png +0 -0
  1020. data/vendor/local/share/gtk-doc/html/gtk3/linear.png +0 -0
  1021. data/vendor/local/share/gtk-doc/html/gtk3/link-button.png +0 -0
  1022. data/vendor/local/share/gtk-doc/html/gtk3/list-add.png +0 -0
  1023. data/vendor/local/share/gtk-doc/html/gtk3/list-and-tree.png +0 -0
  1024. data/vendor/local/share/gtk-doc/html/gtk3/list-remove.png +0 -0
  1025. data/vendor/local/share/gtk-doc/html/gtk3/lock-button.png +0 -0
  1026. data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-locked.png +0 -0
  1027. data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-sorry.png +0 -0
  1028. data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-unlocked.png +0 -0
  1029. data/vendor/local/share/gtk-doc/html/gtk3/lockbutton.png +0 -0
  1030. data/vendor/local/share/gtk-doc/html/gtk3/media-floppy.png +0 -0
  1031. data/vendor/local/share/gtk-doc/html/gtk3/media-optical.png +0 -0
  1032. data/vendor/local/share/gtk-doc/html/gtk3/media-playback-pause.png +0 -0
  1033. data/vendor/local/share/gtk-doc/html/gtk3/media-playback-start-ltr.png +0 -0
  1034. data/vendor/local/share/gtk-doc/html/gtk3/media-playback-start-rtl.png +0 -0
  1035. data/vendor/local/share/gtk-doc/html/gtk3/media-playback-stop.png +0 -0
  1036. data/vendor/local/share/gtk-doc/html/gtk3/media-record.png +0 -0
  1037. data/vendor/local/share/gtk-doc/html/gtk3/media-seek-backward-ltr.png +0 -0
  1038. data/vendor/local/share/gtk-doc/html/gtk3/media-seek-backward-rtl.png +0 -0
  1039. data/vendor/local/share/gtk-doc/html/gtk3/media-seek-forward-ltr.png +0 -0
  1040. data/vendor/local/share/gtk-doc/html/gtk3/media-seek-forward-rtl.png +0 -0
  1041. data/vendor/local/share/gtk-doc/html/gtk3/media-skip-backward-ltr.png +0 -0
  1042. data/vendor/local/share/gtk-doc/html/gtk3/media-skip-backward-rtl.png +0 -0
  1043. data/vendor/local/share/gtk-doc/html/gtk3/media-skip-forward-ltr.png +0 -0
  1044. data/vendor/local/share/gtk-doc/html/gtk3/media-skip-forward-rtl.png +0 -0
  1045. data/vendor/local/share/gtk-doc/html/gtk3/menu-button.png +0 -0
  1046. data/vendor/local/share/gtk-doc/html/gtk3/menubar.png +0 -0
  1047. data/vendor/local/share/gtk-doc/html/gtk3/messagedialog.png +0 -0
  1048. data/vendor/local/share/gtk-doc/html/gtk3/migrating.html +106 -0
  1049. data/vendor/local/share/gtk-doc/html/gtk3/multiline-text.png +0 -0
  1050. data/vendor/local/share/gtk-doc/html/gtk3/network-idle.png +0 -0
  1051. data/vendor/local/share/gtk-doc/html/gtk3/notebook.png +0 -0
  1052. data/vendor/local/share/gtk-doc/html/gtk3/numerableicon.png +0 -0
  1053. data/vendor/local/share/gtk-doc/html/gtk3/numerableicon2.png +0 -0
  1054. data/vendor/local/share/gtk-doc/html/gtk3/options.png +0 -0
  1055. data/vendor/local/share/gtk-doc/html/gtk3/pagesetupdialog.png +0 -0
  1056. data/vendor/local/share/gtk-doc/html/gtk3/panes.png +0 -0
  1057. data/vendor/local/share/gtk-doc/html/gtk3/printdialog.png +0 -0
  1058. data/vendor/local/share/gtk-doc/html/gtk3/printer-error.png +0 -0
  1059. data/vendor/local/share/gtk-doc/html/gtk3/printer-info.png +0 -0
  1060. data/vendor/local/share/gtk-doc/html/gtk3/printer-paused.png +0 -0
  1061. data/vendor/local/share/gtk-doc/html/gtk3/printer-warning.png +0 -0
  1062. data/vendor/local/share/gtk-doc/html/gtk3/process-stop.png +0 -0
  1063. data/vendor/local/share/gtk-doc/html/gtk3/progressbar.png +0 -0
  1064. data/vendor/local/share/gtk-doc/html/gtk3/pt06.html +44 -0
  1065. data/vendor/local/share/gtk-doc/html/gtk3/radio-group.png +0 -0
  1066. data/vendor/local/share/gtk-doc/html/gtk3/recentchooserdialog.png +0 -0
  1067. data/vendor/local/share/gtk-doc/html/gtk3/right-center.png +0 -0
  1068. data/vendor/local/share/gtk-doc/html/gtk3/right-end.png +0 -0
  1069. data/vendor/local/share/gtk-doc/html/gtk3/right-start.png +0 -0
  1070. data/vendor/local/share/gtk-doc/html/gtk3/right.png +0 -0
  1071. data/vendor/local/share/gtk-doc/html/gtk3/scales.png +0 -0
  1072. data/vendor/local/share/gtk-doc/html/gtk3/scrolledwindow.png +0 -0
  1073. data/vendor/local/share/gtk-doc/html/gtk3/search-entry.png +0 -0
  1074. data/vendor/local/share/gtk-doc/html/gtk3/separator.png +0 -0
  1075. data/vendor/local/share/gtk-doc/html/gtk3/slices.png +0 -0
  1076. data/vendor/local/share/gtk-doc/html/gtk3/sliders.png +0 -0
  1077. data/vendor/local/share/gtk-doc/html/gtk3/spinbutton.png +0 -0
  1078. data/vendor/local/share/gtk-doc/html/gtk3/spinner.png +0 -0
  1079. data/vendor/local/share/gtk-doc/html/gtk3/statusbar.png +0 -0
  1080. data/vendor/local/share/gtk-doc/html/gtk3/style.css +266 -0
  1081. data/vendor/local/share/gtk-doc/html/gtk3/switch.png +0 -0
  1082. data/vendor/local/share/gtk-doc/html/gtk3/system-run.png +0 -0
  1083. data/vendor/local/share/gtk-doc/html/gtk3/text-x-generic.png +0 -0
  1084. data/vendor/local/share/gtk-doc/html/gtk3/theming.html +75 -0
  1085. data/vendor/local/share/gtk-doc/html/gtk3/toggle-button.png +0 -0
  1086. data/vendor/local/share/gtk-doc/html/gtk3/toolbar.png +0 -0
  1087. data/vendor/local/share/gtk-doc/html/gtk3/toolpalette.png +0 -0
  1088. data/vendor/local/share/gtk-doc/html/gtk3/tools-check-spelling.png +0 -0
  1089. data/vendor/local/share/gtk-doc/html/gtk3/tree-view-coordinates.png +0 -0
  1090. data/vendor/local/share/gtk-doc/html/gtk3/up-center.png +0 -0
  1091. data/vendor/local/share/gtk-doc/html/gtk3/up-end.png +0 -0
  1092. data/vendor/local/share/gtk-doc/html/gtk3/up-start.png +0 -0
  1093. data/vendor/local/share/gtk-doc/html/gtk3/up.png +0 -0
  1094. data/vendor/local/share/gtk-doc/html/gtk3/view-fullscreen.png +0 -0
  1095. data/vendor/local/share/gtk-doc/html/gtk3/view-refresh.png +0 -0
  1096. data/vendor/local/share/gtk-doc/html/gtk3/view-restore.png +0 -0
  1097. data/vendor/local/share/gtk-doc/html/gtk3/view-sort-ascending.png +0 -0
  1098. data/vendor/local/share/gtk-doc/html/gtk3/view-sort-descending.png +0 -0
  1099. data/vendor/local/share/gtk-doc/html/gtk3/volumebutton.png +0 -0
  1100. data/vendor/local/share/gtk-doc/html/gtk3/widget-hvalign.png +0 -0
  1101. data/vendor/local/share/gtk-doc/html/gtk3/window-close.png +0 -0
  1102. data/vendor/local/share/gtk-doc/html/gtk3/window-default.png +0 -0
  1103. data/vendor/local/share/gtk-doc/html/gtk3/window.png +0 -0
  1104. data/vendor/local/share/gtk-doc/html/gtk3/zoom-fit-best.png +0 -0
  1105. data/vendor/local/share/gtk-doc/html/gtk3/zoom-in.png +0 -0
  1106. data/vendor/local/share/gtk-doc/html/gtk3/zoom-original.png +0 -0
  1107. data/vendor/local/share/gtk-doc/html/gtk3/zoom-out.png +0 -0
  1108. data/vendor/local/share/license/gtk+/AUTHORS +65 -0
  1109. data/vendor/local/share/license/gtk+/COPYING +481 -0
  1110. data/vendor/local/share/locale/af/LC_MESSAGES/gtk30-properties.mo +0 -0
  1111. data/vendor/local/share/locale/af/LC_MESSAGES/gtk30.mo +0 -0
  1112. data/vendor/local/share/locale/am/LC_MESSAGES/gtk30-properties.mo +0 -0
  1113. data/vendor/local/share/locale/am/LC_MESSAGES/gtk30.mo +0 -0
  1114. data/vendor/local/share/locale/ang/LC_MESSAGES/gtk30-properties.mo +0 -0
  1115. data/vendor/local/share/locale/ang/LC_MESSAGES/gtk30.mo +0 -0
  1116. data/vendor/local/share/locale/ar/LC_MESSAGES/gtk30-properties.mo +0 -0
  1117. data/vendor/local/share/locale/ar/LC_MESSAGES/gtk30.mo +0 -0
  1118. data/vendor/local/share/locale/as/LC_MESSAGES/gtk30-properties.mo +0 -0
  1119. data/vendor/local/share/locale/as/LC_MESSAGES/gtk30.mo +0 -0
  1120. data/vendor/local/share/locale/ast/LC_MESSAGES/gtk30-properties.mo +0 -0
  1121. data/vendor/local/share/locale/ast/LC_MESSAGES/gtk30.mo +0 -0
  1122. data/vendor/local/share/locale/az/LC_MESSAGES/gtk30-properties.mo +0 -0
  1123. data/vendor/local/share/locale/az/LC_MESSAGES/gtk30.mo +0 -0
  1124. data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk30-properties.mo +0 -0
  1125. data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk30.mo +0 -0
  1126. data/vendor/local/share/locale/be/LC_MESSAGES/gtk30-properties.mo +0 -0
  1127. data/vendor/local/share/locale/be/LC_MESSAGES/gtk30.mo +0 -0
  1128. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk30-properties.mo +0 -0
  1129. data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk30.mo +0 -0
  1130. data/vendor/local/share/locale/bg/LC_MESSAGES/gtk30-properties.mo +0 -0
  1131. data/vendor/local/share/locale/bg/LC_MESSAGES/gtk30.mo +0 -0
  1132. data/vendor/local/share/locale/bn/LC_MESSAGES/gtk30-properties.mo +0 -0
  1133. data/vendor/local/share/locale/bn/LC_MESSAGES/gtk30.mo +0 -0
  1134. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk30-properties.mo +0 -0
  1135. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk30.mo +0 -0
  1136. data/vendor/local/share/locale/br/LC_MESSAGES/gtk30-properties.mo +0 -0
  1137. data/vendor/local/share/locale/br/LC_MESSAGES/gtk30.mo +0 -0
  1138. data/vendor/local/share/locale/bs/LC_MESSAGES/gtk30-properties.mo +0 -0
  1139. data/vendor/local/share/locale/bs/LC_MESSAGES/gtk30.mo +0 -0
  1140. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30-properties.mo +0 -0
  1141. data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30.mo +0 -0
  1142. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30-properties.mo +0 -0
  1143. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30.mo +0 -0
  1144. data/vendor/local/share/locale/crh/LC_MESSAGES/gtk30-properties.mo +0 -0
  1145. data/vendor/local/share/locale/crh/LC_MESSAGES/gtk30.mo +0 -0
  1146. data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30-properties.mo +0 -0
  1147. data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30.mo +0 -0
  1148. data/vendor/local/share/locale/cy/LC_MESSAGES/gtk30-properties.mo +0 -0
  1149. data/vendor/local/share/locale/cy/LC_MESSAGES/gtk30.mo +0 -0
  1150. data/vendor/local/share/locale/da/LC_MESSAGES/gtk30-properties.mo +0 -0
  1151. data/vendor/local/share/locale/da/LC_MESSAGES/gtk30.mo +0 -0
  1152. data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
  1153. data/vendor/local/share/locale/de/LC_MESSAGES/gtk30.mo +0 -0
  1154. data/vendor/local/share/locale/dz/LC_MESSAGES/gtk30-properties.mo +0 -0
  1155. data/vendor/local/share/locale/dz/LC_MESSAGES/gtk30.mo +0 -0
  1156. data/vendor/local/share/locale/el/LC_MESSAGES/gtk30-properties.mo +0 -0
  1157. data/vendor/local/share/locale/el/LC_MESSAGES/gtk30.mo +0 -0
  1158. data/vendor/local/share/locale/en/LC_MESSAGES/gtk30-properties.mo +0 -0
  1159. data/vendor/local/share/locale/en/LC_MESSAGES/gtk30.mo +0 -0
  1160. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtk30-properties.mo +0 -0
  1161. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtk30.mo +0 -0
  1162. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk30-properties.mo +0 -0
  1163. data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk30.mo +0 -0
  1164. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30-properties.mo +0 -0
  1165. data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30.mo +0 -0
  1166. data/vendor/local/share/locale/eo/LC_MESSAGES/gtk30-properties.mo +0 -0
  1167. data/vendor/local/share/locale/eo/LC_MESSAGES/gtk30.mo +0 -0
  1168. data/vendor/local/share/locale/es/LC_MESSAGES/gtk30-properties.mo +0 -0
  1169. data/vendor/local/share/locale/es/LC_MESSAGES/gtk30.mo +0 -0
  1170. data/vendor/local/share/locale/et/LC_MESSAGES/gtk30-properties.mo +0 -0
  1171. data/vendor/local/share/locale/et/LC_MESSAGES/gtk30.mo +0 -0
  1172. data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30-properties.mo +0 -0
  1173. data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30.mo +0 -0
  1174. data/vendor/local/share/locale/fa/LC_MESSAGES/gtk30-properties.mo +0 -0
  1175. data/vendor/local/share/locale/fa/LC_MESSAGES/gtk30.mo +0 -0
  1176. data/vendor/local/share/locale/fi/LC_MESSAGES/gtk30-properties.mo +0 -0
  1177. data/vendor/local/share/locale/fi/LC_MESSAGES/gtk30.mo +0 -0
  1178. data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30-properties.mo +0 -0
  1179. data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30.mo +0 -0
  1180. data/vendor/local/share/locale/ga/LC_MESSAGES/gtk30-properties.mo +0 -0
  1181. data/vendor/local/share/locale/ga/LC_MESSAGES/gtk30.mo +0 -0
  1182. data/vendor/local/share/locale/gl/LC_MESSAGES/gtk30-properties.mo +0 -0
  1183. data/vendor/local/share/locale/gl/LC_MESSAGES/gtk30.mo +0 -0
  1184. data/vendor/local/share/locale/gu/LC_MESSAGES/gtk30-properties.mo +0 -0
  1185. data/vendor/local/share/locale/gu/LC_MESSAGES/gtk30.mo +0 -0
  1186. data/vendor/local/share/locale/he/LC_MESSAGES/gtk30-properties.mo +0 -0
  1187. data/vendor/local/share/locale/he/LC_MESSAGES/gtk30.mo +0 -0
  1188. data/vendor/local/share/locale/hi/LC_MESSAGES/gtk30-properties.mo +0 -0
  1189. data/vendor/local/share/locale/hi/LC_MESSAGES/gtk30.mo +0 -0
  1190. data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30-properties.mo +0 -0
  1191. data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30.mo +0 -0
  1192. data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
  1193. data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30.mo +0 -0
  1194. data/vendor/local/share/locale/hy/LC_MESSAGES/gtk30-properties.mo +0 -0
  1195. data/vendor/local/share/locale/hy/LC_MESSAGES/gtk30.mo +0 -0
  1196. data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30-properties.mo +0 -0
  1197. data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30.mo +0 -0
  1198. data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
  1199. data/vendor/local/share/locale/id/LC_MESSAGES/gtk30.mo +0 -0
  1200. data/vendor/local/share/locale/io/LC_MESSAGES/gtk30-properties.mo +0 -0
  1201. data/vendor/local/share/locale/io/LC_MESSAGES/gtk30.mo +0 -0
  1202. data/vendor/local/share/locale/is/LC_MESSAGES/gtk30-properties.mo +0 -0
  1203. data/vendor/local/share/locale/is/LC_MESSAGES/gtk30.mo +0 -0
  1204. data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
  1205. data/vendor/local/share/locale/it/LC_MESSAGES/gtk30.mo +0 -0
  1206. data/vendor/local/share/locale/ja/LC_MESSAGES/gtk30-properties.mo +0 -0
  1207. data/vendor/local/share/locale/ja/LC_MESSAGES/gtk30.mo +0 -0
  1208. data/vendor/local/share/locale/ka/LC_MESSAGES/gtk30-properties.mo +0 -0
  1209. data/vendor/local/share/locale/ka/LC_MESSAGES/gtk30.mo +0 -0
  1210. data/vendor/local/share/locale/kg/LC_MESSAGES/gtk30-properties.mo +0 -0
  1211. data/vendor/local/share/locale/kg/LC_MESSAGES/gtk30.mo +0 -0
  1212. data/vendor/local/share/locale/kk/LC_MESSAGES/gtk30-properties.mo +0 -0
  1213. data/vendor/local/share/locale/kk/LC_MESSAGES/gtk30.mo +0 -0
  1214. data/vendor/local/share/locale/km/LC_MESSAGES/gtk30-properties.mo +0 -0
  1215. data/vendor/local/share/locale/km/LC_MESSAGES/gtk30.mo +0 -0
  1216. data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30-properties.mo +0 -0
  1217. data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30.mo +0 -0
  1218. data/vendor/local/share/locale/ko/LC_MESSAGES/gtk30-properties.mo +0 -0
  1219. data/vendor/local/share/locale/ko/LC_MESSAGES/gtk30.mo +0 -0
  1220. data/vendor/local/share/locale/ku/LC_MESSAGES/gtk30-properties.mo +0 -0
  1221. data/vendor/local/share/locale/ku/LC_MESSAGES/gtk30.mo +0 -0
  1222. data/vendor/local/share/locale/ky/LC_MESSAGES/gtk30-properties.mo +0 -0
  1223. data/vendor/local/share/locale/ky/LC_MESSAGES/gtk30.mo +0 -0
  1224. data/vendor/local/share/locale/lg/LC_MESSAGES/gtk30-properties.mo +0 -0
  1225. data/vendor/local/share/locale/lg/LC_MESSAGES/gtk30.mo +0 -0
  1226. data/vendor/local/share/locale/li/LC_MESSAGES/gtk30-properties.mo +0 -0
  1227. data/vendor/local/share/locale/li/LC_MESSAGES/gtk30.mo +0 -0
  1228. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30-properties.mo +0 -0
  1229. data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30.mo +0 -0
  1230. data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30-properties.mo +0 -0
  1231. data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30.mo +0 -0
  1232. data/vendor/local/share/locale/mai/LC_MESSAGES/gtk30-properties.mo +0 -0
  1233. data/vendor/local/share/locale/mai/LC_MESSAGES/gtk30.mo +0 -0
  1234. data/vendor/local/share/locale/mi/LC_MESSAGES/gtk30-properties.mo +0 -0
  1235. data/vendor/local/share/locale/mi/LC_MESSAGES/gtk30.mo +0 -0
  1236. data/vendor/local/share/locale/mk/LC_MESSAGES/gtk30-properties.mo +0 -0
  1237. data/vendor/local/share/locale/mk/LC_MESSAGES/gtk30.mo +0 -0
  1238. data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30-properties.mo +0 -0
  1239. data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30.mo +0 -0
  1240. data/vendor/local/share/locale/mn/LC_MESSAGES/gtk30-properties.mo +0 -0
  1241. data/vendor/local/share/locale/mn/LC_MESSAGES/gtk30.mo +0 -0
  1242. data/vendor/local/share/locale/mr/LC_MESSAGES/gtk30-properties.mo +0 -0
  1243. data/vendor/local/share/locale/mr/LC_MESSAGES/gtk30.mo +0 -0
  1244. data/vendor/local/share/locale/ms/LC_MESSAGES/gtk30-properties.mo +0 -0
  1245. data/vendor/local/share/locale/ms/LC_MESSAGES/gtk30.mo +0 -0
  1246. data/vendor/local/share/locale/my/LC_MESSAGES/gtk30-properties.mo +0 -0
  1247. data/vendor/local/share/locale/my/LC_MESSAGES/gtk30.mo +0 -0
  1248. data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30-properties.mo +0 -0
  1249. data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30.mo +0 -0
  1250. data/vendor/local/share/locale/nds/LC_MESSAGES/gtk30-properties.mo +0 -0
  1251. data/vendor/local/share/locale/nds/LC_MESSAGES/gtk30.mo +0 -0
  1252. data/vendor/local/share/locale/ne/LC_MESSAGES/gtk30-properties.mo +0 -0
  1253. data/vendor/local/share/locale/ne/LC_MESSAGES/gtk30.mo +0 -0
  1254. data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30-properties.mo +0 -0
  1255. data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30.mo +0 -0
  1256. data/vendor/local/share/locale/nn/LC_MESSAGES/gtk30-properties.mo +0 -0
  1257. data/vendor/local/share/locale/nn/LC_MESSAGES/gtk30.mo +0 -0
  1258. data/vendor/local/share/locale/nso/LC_MESSAGES/gtk30-properties.mo +0 -0
  1259. data/vendor/local/share/locale/nso/LC_MESSAGES/gtk30.mo +0 -0
  1260. data/vendor/local/share/locale/oc/LC_MESSAGES/gtk30-properties.mo +0 -0
  1261. data/vendor/local/share/locale/oc/LC_MESSAGES/gtk30.mo +0 -0
  1262. data/vendor/local/share/locale/or/LC_MESSAGES/gtk30-properties.mo +0 -0
  1263. data/vendor/local/share/locale/or/LC_MESSAGES/gtk30.mo +0 -0
  1264. data/vendor/local/share/locale/pa/LC_MESSAGES/gtk30-properties.mo +0 -0
  1265. data/vendor/local/share/locale/pa/LC_MESSAGES/gtk30.mo +0 -0
  1266. data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30-properties.mo +0 -0
  1267. data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30.mo +0 -0
  1268. data/vendor/local/share/locale/ps/LC_MESSAGES/gtk30-properties.mo +0 -0
  1269. data/vendor/local/share/locale/ps/LC_MESSAGES/gtk30.mo +0 -0
  1270. data/vendor/local/share/locale/pt/LC_MESSAGES/gtk30-properties.mo +0 -0
  1271. data/vendor/local/share/locale/pt/LC_MESSAGES/gtk30.mo +0 -0
  1272. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
  1273. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30.mo +0 -0
  1274. data/vendor/local/share/locale/ro/LC_MESSAGES/gtk30-properties.mo +0 -0
  1275. data/vendor/local/share/locale/ro/LC_MESSAGES/gtk30.mo +0 -0
  1276. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30-properties.mo +0 -0
  1277. data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30.mo +0 -0
  1278. data/vendor/local/share/locale/rw/LC_MESSAGES/gtk30-properties.mo +0 -0
  1279. data/vendor/local/share/locale/rw/LC_MESSAGES/gtk30.mo +0 -0
  1280. data/vendor/local/share/locale/si/LC_MESSAGES/gtk30-properties.mo +0 -0
  1281. data/vendor/local/share/locale/si/LC_MESSAGES/gtk30.mo +0 -0
  1282. data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30-properties.mo +0 -0
  1283. data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30.mo +0 -0
  1284. data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
  1285. data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30.mo +0 -0
  1286. data/vendor/local/share/locale/sq/LC_MESSAGES/gtk30-properties.mo +0 -0
  1287. data/vendor/local/share/locale/sq/LC_MESSAGES/gtk30.mo +0 -0
  1288. data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30-properties.mo +0 -0
  1289. data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30.mo +0 -0
  1290. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk30-properties.mo +0 -0
  1291. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk30.mo +0 -0
  1292. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30-properties.mo +0 -0
  1293. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30.mo +0 -0
  1294. data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30-properties.mo +0 -0
  1295. data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30.mo +0 -0
  1296. data/vendor/local/share/locale/ta/LC_MESSAGES/gtk30-properties.mo +0 -0
  1297. data/vendor/local/share/locale/ta/LC_MESSAGES/gtk30.mo +0 -0
  1298. data/vendor/local/share/locale/te/LC_MESSAGES/gtk30-properties.mo +0 -0
  1299. data/vendor/local/share/locale/te/LC_MESSAGES/gtk30.mo +0 -0
  1300. data/vendor/local/share/locale/th/LC_MESSAGES/gtk30-properties.mo +0 -0
  1301. data/vendor/local/share/locale/th/LC_MESSAGES/gtk30.mo +0 -0
  1302. data/vendor/local/share/locale/tk/LC_MESSAGES/gtk30-properties.mo +0 -0
  1303. data/vendor/local/share/locale/tk/LC_MESSAGES/gtk30.mo +0 -0
  1304. data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30-properties.mo +0 -0
  1305. data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30.mo +0 -0
  1306. data/vendor/local/share/locale/tt/LC_MESSAGES/gtk30-properties.mo +0 -0
  1307. data/vendor/local/share/locale/tt/LC_MESSAGES/gtk30.mo +0 -0
  1308. data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30-properties.mo +0 -0
  1309. data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30.mo +0 -0
  1310. data/vendor/local/share/locale/uk/LC_MESSAGES/gtk30-properties.mo +0 -0
  1311. data/vendor/local/share/locale/uk/LC_MESSAGES/gtk30.mo +0 -0
  1312. data/vendor/local/share/locale/ur/LC_MESSAGES/gtk30-properties.mo +0 -0
  1313. data/vendor/local/share/locale/ur/LC_MESSAGES/gtk30.mo +0 -0
  1314. data/vendor/local/share/locale/uz/LC_MESSAGES/gtk30-properties.mo +0 -0
  1315. data/vendor/local/share/locale/uz/LC_MESSAGES/gtk30.mo +0 -0
  1316. data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk30-properties.mo +0 -0
  1317. data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk30.mo +0 -0
  1318. data/vendor/local/share/locale/vi/LC_MESSAGES/gtk30-properties.mo +0 -0
  1319. data/vendor/local/share/locale/vi/LC_MESSAGES/gtk30.mo +0 -0
  1320. data/vendor/local/share/locale/wa/LC_MESSAGES/gtk30-properties.mo +0 -0
  1321. data/vendor/local/share/locale/wa/LC_MESSAGES/gtk30.mo +0 -0
  1322. data/vendor/local/share/locale/xh/LC_MESSAGES/gtk30-properties.mo +0 -0
  1323. data/vendor/local/share/locale/xh/LC_MESSAGES/gtk30.mo +0 -0
  1324. data/vendor/local/share/locale/yi/LC_MESSAGES/gtk30-properties.mo +0 -0
  1325. data/vendor/local/share/locale/yi/LC_MESSAGES/gtk30.mo +0 -0
  1326. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30-properties.mo +0 -0
  1327. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
  1328. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk30-properties.mo +0 -0
  1329. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk30.mo +0 -0
  1330. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30-properties.mo +0 -0
  1331. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30.mo +0 -0
  1332. data/vendor/local/share/man/man1/gtk-launch.1 +53 -0
  1333. data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +75 -0
  1334. data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +88 -0
  1335. data/vendor/local/share/themes/Default/gtk-3.0/gtk-keys.css +3 -0
  1336. data/vendor/local/share/themes/Emacs/gtk-3.0/gtk-keys.css +121 -0
  1337. metadata +1449 -0
@@ -0,0 +1,228 @@
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 libunique to GApplication or GtkApplication</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
7
+ <link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
8
+ <link rel="up" href="migrating.html" title="Part V. Migrating from Previous Versions of GTK+">
9
+ <link rel="prev" href="gtk-migrating-GtkStyleContext-bonus-points.html" title="Bonus points">
10
+ <link rel="next" href="ch26s02.html" title="Commands and Messages">
11
+ <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
+ <td><a accesskey="p" href="gtk-migrating-GtkStyleContext-bonus-points.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+ 3 Reference Manual</th>
20
+ <td><a accesskey="n" href="ch26s02.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-unique-GtkApplication"></a>Migrating from libunique to GApplication or GtkApplication</h2></div></div></div>
25
+ <div class="toc"><dl class="toc">
26
+ <dt><span class="section"><a href="gtk-migrating-unique-GtkApplication.html#idm140520306885568">Uniqueness</a></span></dt>
27
+ <dt><span class="section"><a href="ch26s02.html">Commands and Messages</a></span></dt>
28
+ </dl></div>
29
+ <p>
30
+ libunique offers 'unique application' support as well as ways to
31
+ communicate with a running application instance. This is implemented
32
+ in various ways, either using D-Bus, or socket-based communication.
33
+ </p>
34
+ <p>
35
+ Starting with GLib 2.26, D-Bus support has been integrated into GIO
36
+ in the form of GDBus, and <span class="type">GApplication</span> has been added to provide
37
+ the same level of application support as libunique.
38
+ </p>
39
+ <div class="example">
40
+ <a name="idm140520306889152"></a><p class="title"><b>Example 128. A unique application</b></p>
41
+ <div class="example-contents">
42
+ <p>Here is a simple application using libunique:
43
+ </p>
44
+ <div class="informalexample">
45
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
46
+ <tbody>
47
+ <tr>
48
+ <td class="listing_lines" align="right"><pre>1
49
+ 2
50
+ 3
51
+ 4
52
+ 5
53
+ 6
54
+ 7
55
+ 8
56
+ 9
57
+ 10
58
+ 11
59
+ 12
60
+ 13
61
+ 14
62
+ 15
63
+ 16
64
+ 17
65
+ 18
66
+ 19
67
+ 20
68
+ 21
69
+ 22
70
+ 23
71
+ 24
72
+ 25
73
+ 26
74
+ 27
75
+ 28
76
+ 29
77
+ 30
78
+ 31
79
+ 32</pre></td>
80
+ <td class="listing_code"><pre class="programlisting"><span class="type">int</span>
81
+ <span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
82
+ <span class="cbracket">{</span>
83
+ <span class="normal"> </span><span class="usertype">UniqueApp</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">;</span>
84
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window</span><span class="symbol">;</span>
85
+
86
+ <span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-init">gtk_init</a></span><span class="normal"> </span><span class="symbol">(&amp;</span><span class="normal">argc</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">argv</span><span class="symbol">);</span>
87
+
88
+ <span class="normal"> app </span><span class="symbol">=</span><span class="normal"> </span><span class="function">unique_app_new</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"org.gtk.TestApplication"</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
89
+
90
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">unique_app_is_running</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">))</span>
91
+ <span class="normal"> </span><span class="cbracket">{</span>
92
+ <span class="normal"> </span><span class="usertype">UniqueResponse</span><span class="normal"> response</span><span class="symbol">;</span>
93
+
94
+ <span class="normal"> response </span><span class="symbol">=</span><span class="normal"> </span><span class="function">unique_app_send_message</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> UNIQUE_ACTIVATE</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
95
+ <span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
96
+
97
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> response </span><span class="symbol">==</span><span class="normal"> UNIQUE_RESPONSE_OK </span><span class="symbol">?</span><span class="normal"> </span><span class="number">0</span><span class="normal"> </span><span class="symbol">:</span><span class="normal"> </span><span class="number">1</span><span class="symbol">;</span>
98
+ <span class="normal"> </span><span class="cbracket">}</span>
99
+
100
+ <span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function">create_my_window</span><span class="normal"> </span><span class="symbol">();</span>
101
+
102
+ <span class="normal"> </span><span class="function">unique_app_watch_window</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">));</span>
103
+
104
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
105
+
106
+ <span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-main">gtk_main</a></span><span class="normal"> </span><span class="symbol">();</span>
107
+
108
+ <span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
109
+
110
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
111
+ <span class="cbracket">}</span></pre></td>
112
+ </tr>
113
+ </tbody>
114
+ </table>
115
+ </div>
116
+
117
+ <p>
118
+ The same application using GtkApplication:
119
+ </p>
120
+ <div class="informalexample">
121
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
122
+ <tbody>
123
+ <tr>
124
+ <td class="listing_lines" align="right"><pre>1
125
+ 2
126
+ 3
127
+ 4
128
+ 5
129
+ 6
130
+ 7
131
+ 8
132
+ 9
133
+ 10
134
+ 11
135
+ 12
136
+ 13
137
+ 14
138
+ 15
139
+ 16
140
+ 17
141
+ 18
142
+ 19
143
+ 20
144
+ 21
145
+ 22
146
+ 23
147
+ 24
148
+ 25
149
+ 26
150
+ 27
151
+ 28
152
+ 29
153
+ 30
154
+ 31
155
+ 32
156
+ 33
157
+ 34
158
+ 35</pre></td>
159
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
160
+ <span class="function">activate</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">)</span>
161
+ <span class="cbracket">{</span>
162
+ <span class="normal"> </span><span class="usertype">GList</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">list</span><span class="symbol">;</span>
163
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">window</span><span class="symbol">;</span>
164
+
165
+ <span class="normal"> list </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkApplication.html#gtk-application-get-windows">gtk_application_get_windows</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
166
+
167
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">list</span><span class="symbol">)</span>
168
+ <span class="normal"> </span><span class="cbracket">{</span>
169
+ <span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-present">gtk_window_present</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">list</span><span class="symbol">-&gt;</span><span class="normal">data</span><span class="symbol">));</span>
170
+ <span class="normal"> </span><span class="cbracket">}</span>
171
+ <span class="normal"> </span><span class="keyword">else</span>
172
+ <span class="normal"> </span><span class="cbracket">{</span>
173
+ <span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function">create_my_window</span><span class="normal"> </span><span class="symbol">();</span>
174
+ <span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-application">gtk_window_set_application</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WINDOW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> app</span><span class="symbol">);</span>
175
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
176
+ <span class="normal"> </span><span class="cbracket">}</span>
177
+ <span class="cbracket">}</span>
178
+
179
+ <span class="type">int</span>
180
+ <span class="function">main</span><span class="normal"> </span><span class="symbol">(</span><span class="type">int</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
181
+ <span class="cbracket">{</span>
182
+ <span class="normal"> </span><span class="usertype">GtkApplication</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">app</span><span class="symbol">;</span>
183
+ <span class="normal"> </span><span class="usertype">gint</span><span class="normal"> status</span><span class="symbol">;</span>
184
+
185
+ <span class="normal"> app </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkApplication.html#gtk-application-new">gtk_application_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"org.gtk.TestApplication"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
186
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"activate"</span><span class="symbol">,</span><span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">activate</span><span class="symbol">),</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
187
+
188
+ <span class="normal"> status </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_application_run</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_APPLICATION</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">),</span><span class="normal"> argc</span><span class="symbol">,</span><span class="normal"> argv</span><span class="symbol">);</span>
189
+
190
+ <span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">app</span><span class="symbol">);</span>
191
+
192
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> status</span><span class="symbol">;</span>
193
+ <span class="cbracket">}</span></pre></td>
194
+ </tr>
195
+ </tbody>
196
+ </table>
197
+ </div>
198
+
199
+ <p>
200
+ </p>
201
+ </div>
202
+ </div>
203
+ <br class="example-break"><div class="section">
204
+ <div class="titlepage"><div><div><h2 class="title" style="clear: both">
205
+ <a name="idm140520306885568"></a>Uniqueness</h2></div></div></div>
206
+ <p>
207
+ Instead of creating a <span class="type">UniqueApp</span> with <code class="function">unique_app_new()</code>, create
208
+ a <span class="type">GApplication</span> with <code class="function">g_application_new()</code> or a <a class="link" href="GtkApplication.html" title="GtkApplication"><span class="type">GtkApplication</span></a>
209
+ with <a class="link" href="GtkApplication.html#gtk-application-new" title="gtk_application_new ()"><code class="function">gtk_application_new()</code></a>. The <em class="parameter"><code>name</code></em> that was used with
210
+ <code class="function">unique_app_new()</code> is very likely usable as the <em class="parameter"><code>application_id</code></em> for
211
+ <code class="function">g_application_new()</code> without any changes, and GtkApplication passes
212
+ the <code class="envar">DESKTOP_STARTUP_ID</code> environment variable
213
+ automatically.
214
+ </p>
215
+ <p>
216
+ While libunique expects you to check for an already running instance
217
+ yourself and activate it manually, GApplication handles all this on
218
+ its own in <code class="function">g_application_run()</code>. If you still need to find out if there
219
+ is a running instance of your application, use
220
+ <code class="function">g_application_get_is_remote()</code> instead of <code class="function">unique_app_is_running()</code>.
221
+ </p>
222
+ </div>
223
+ </div>
224
+ <div class="footer">
225
+ <hr>
226
+ Generated by GTK-Doc V1.18.1</div>
227
+ </body>
228
+ </html>
@@ -0,0 +1,54 @@
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+ with Wayland</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
7
+ <link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
8
+ <link rel="up" href="gtk.html" title="Part I. GTK+ Overview">
9
+ <link rel="prev" href="gtk-broadway.html" title="Using GTK+ with HTML5">
10
+ <link rel="next" href="gtk-resources.html" title="Mailing lists and bug reports">
11
+ <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
+ <td><a accesskey="p" href="gtk-broadway.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+ 3 Reference Manual</th>
20
+ <td><a accesskey="n" href="gtk-resources.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+ with Wayland</span></h2>
27
+ <p>Using GTK+ with Wayland —
28
+ Wayland-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="idm140520420700560"></a><h2>Using GTK+ with Wayland</h2>
35
+ <p>
36
+ The GDK Wayland backend provides support for running GTK+ applications
37
+ under the Wayland display server. To run your application in this way,
38
+ select the Wayland backend by setting <code class="literal">GDK_BACKEND=wayland</code>.
39
+ </p>
40
+ <p>
41
+ Currently, the Wayland backend does not use any additional commandline
42
+ options or environment variables.
43
+ </p>
44
+ <p>
45
+ For up-to-date information about the current status of this backend, see
46
+ the <a class="ulink" href="http://wayland.freedesktop.org/gtk.html" target="_top">project page</a>.
47
+ </p>
48
+ </div>
49
+ </div>
50
+ <div class="footer">
51
+ <hr>
52
+ Generated by GTK-Doc V1.18.1</div>
53
+ </body>
54
+ </html>
@@ -0,0 +1,110 @@
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-3.0</title>
6
+ <meta name="generator" content="DocBook XSL Stylesheets V1.78.0">
7
+ <link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
8
+ <link rel="up" href="pt06.html" title="Part VI. GTK+ Tools">
9
+ <link rel="prev" href="pt06.html" title="Part VI. 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.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
16
+ <td><a accesskey="p" href="pt06.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
+ <td><a accesskey="u" href="pt06.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+ 3 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-3.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-3.0</span></h2>
27
+ <p>gtk-query-immodules-3.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-3.0</code> [--update-cache] [MODULE...]</p></div>
34
+ </div>
35
+ <div class="refsect1">
36
+ <a name="idm140520313573264"></a><h2>Description</h2>
37
+ <p>
38
+ <span class="command"><strong>gtk-query-immodules-3.0</strong></span> collects information about loadable
39
+ input method modules for GTK+ and writes it to the default cache file
40
+ location, or to <code class="filename">stdout</code>.
41
+ </p>
42
+ <p>
43
+ If called without arguments, it looks for modules in the GTK+ input method
44
+ module path.
45
+ </p>
46
+ <p>
47
+ If called with arguments, it looks for the specified modules. The arguments
48
+ may be absolute or relative paths.
49
+ </p>
50
+ <p>
51
+ Normally, the output of <span class="command"><strong>gtk-query-immodules-3.0</strong></span> is written
52
+ to <code class="filename"><em class="replaceable"><code>libdir</code></em>/gtk-3.0/3.0.0/immodules.cache</code>,
53
+ where GTK+ looks for it by default. If it is written to some other location,
54
+ the <code class="envar">GTK_IM_MODULE_FILE</code> environment variable can be set to point
55
+ GTK+ at the file.
56
+ </p>
57
+ </div>
58
+ <div class="refsect1">
59
+ <a name="idm140520306898448"></a><h2>Options</h2>
60
+ <div class="variablelist"><table border="0" class="variablelist">
61
+ <colgroup>
62
+ <col align="left" valign="top">
63
+ <col>
64
+ </colgroup>
65
+ <tbody><tr>
66
+ <td><p><span class="term">--update-cache</span></p></td>
67
+ <td><p>Write the output to the default cache location instead of
68
+ <code class="filename">stdout</code></p></td>
69
+ </tr></tbody>
70
+ </table></div>
71
+ </div>
72
+ <div class="refsect1">
73
+ <a name="idm140520296509504"></a><h2>Files</h2>
74
+ <div class="variablelist"><table border="0" class="variablelist">
75
+ <colgroup>
76
+ <col align="left" valign="top">
77
+ <col>
78
+ </colgroup>
79
+ <tbody><tr>
80
+ <td><p><span class="term"><code class="filename"><em class="replaceable"><code>libdir</code></em>/gtk-3.0/3.0.0/immodules.cache</code></span></p></td>
81
+ <td><p>The default im cache file used by GTK+ applications</p></td>
82
+ </tr></tbody>
83
+ </table></div>
84
+ </div>
85
+ <div class="refsect1">
86
+ <a name="idm140520296506688"></a><h2>Environment</h2>
87
+ <div class="variablelist"><table border="0" class="variablelist">
88
+ <colgroup>
89
+ <col align="left" valign="top">
90
+ <col>
91
+ </colgroup>
92
+ <tbody>
93
+ <tr>
94
+ <td><p><span class="term"><a class="link" href="gtk-running.html#gtk-path" title="GTK_PATH"><code class="envar">GTK_PATH</code></a></span></p></td>
95
+ <td><p>Prepends directories to the input method module path</p></td>
96
+ </tr>
97
+ <tr>
98
+ <td><p><span class="term"><a class="link" href="gtk-running.html#gtk-im-module-file" title="GTK_IM_MODULE_FILE"><code class="envar">GTK_IM_MODULE_FILE</code></a></span></p></td>
99
+ <td><p>Specifies an alternative im module cache for GTK+
100
+ applications</p></td>
101
+ </tr>
102
+ </tbody>
103
+ </table></div>
104
+ </div>
105
+ </div>
106
+ <div class="footer">
107
+ <hr>
108
+ Generated by GTK-Doc V1.18.1</div>
109
+ </body>
110
+ </html>
@@ -0,0 +1,1395 @@
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.78.0">
7
+ <link rel="home" href="index.html" title="GTK+ 3 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.1 (XML mode)">
12
+ <link rel="stylesheet" href="style.css" type="text/css">
13
+ </head>
14
+ <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
+ <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="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+ 3 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="idm140520416451232"></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="idm140520419957648"></a><table border="0" style="width: 100%;">
42
+ <colgroup>
43
+ <col align="left" width="1%">
44
+ <col>
45
+ </colgroup>
46
+ <tbody>
47
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
48
+ <a name="idm140520419786448"></a>1. General</h5></td></tr>
49
+ <tr class="question">
50
+ <td align="left" valign="top">
51
+ <a name="idm140520426547792"></a><a name="idm140520417736848"></a><p><b>1.1.</b></p>
52
+ </td>
53
+ <td align="left" valign="top"><p>
54
+ How do I get started with GTK+?
55
+ </p></td>
56
+ </tr>
57
+ <tr class="answer">
58
+ <td align="left" valign="top"></td>
59
+ <td align="left" valign="top"><p>
60
+ The GTK+ <a class="ulink" href="http://www.gtk.org" target="_top">website</a> offers some
61
+ <a class="ulink" href="http://www.gtk.org/documentation" target="_top">tutorials</a> and other
62
+ documentation (most of it about GTK+ 2.x, but mostly still applicable).
63
+ More documentation ranging from whitepapers to online books can be found at
64
+ the <a class="ulink" href="http://developer.gnome.org" target="_top">GNOME developer's site</a>.
65
+ After studying these materials you should be well prepared to come back to
66
+ this reference manual for details.
67
+ </p></td>
68
+ </tr>
69
+ <tr class="question">
70
+ <td align="left" valign="top">
71
+ <a name="idm140520417747408"></a><a name="idm140520418760496"></a><p><b>1.2.</b></p>
72
+ </td>
73
+ <td align="left" valign="top"><p>
74
+ Where can I get help with GTK+, submit a bug report, or make a feature
75
+ request?
76
+ </p></td>
77
+ </tr>
78
+ <tr class="answer">
79
+ <td align="left" valign="top"></td>
80
+ <td align="left" valign="top"><p>
81
+ See the <a class="link" href="gtk-resources.html" title="Mailing lists and bug reports">documentation on this topic</a>.
82
+ </p></td>
83
+ </tr>
84
+ <tr class="question">
85
+ <td align="left" valign="top">
86
+ <a name="idm140520420918576"></a><a name="idm140520419803712"></a><p><b>1.3.</b></p>
87
+ </td>
88
+ <td align="left" valign="top"><p>How do I port from one GTK+
89
+ version to another?</p></td>
90
+ </tr>
91
+ <tr class="answer">
92
+ <td align="left" valign="top"></td>
93
+ <td align="left" valign="top">
94
+ <p>
95
+ See <a class="xref" href="gtk-migrating-2-to-3.html" title="Migrating from GTK+ 2.x to GTK+ 3"><i>Migrating from GTK+ 2.x to GTK+ 3</i></a>.
96
+ You may also find useful information in the documentation for
97
+ specific widgets and functions.
98
+ </p>
99
+ <p>
100
+ If you have a question not covered in the manual, feel free to
101
+ ask on the mailing lists and please <a class="ulink" href="http://bugzilla.gnome.org" target="_top">file a bug report</a> against the
102
+ documentation.
103
+ </p>
104
+ </td>
105
+ </tr>
106
+ <tr class="question">
107
+ <td align="left" valign="top">
108
+ <a name="idm140520418015648"></a><a name="idm140520419079536"></a><p><b>1.4.</b></p>
109
+ </td>
110
+ <td align="left" valign="top"><p>
111
+ How does memory management work in GTK+? Should I free data returned
112
+ from functions?
113
+ </p></td>
114
+ </tr>
115
+ <tr class="answer">
116
+ <td align="left" valign="top"></td>
117
+ <td align="left" valign="top">
118
+ <p>
119
+ See the documentation for <span class="type">GObject</span> and <span class="type">GInitiallyUnowned</span>. For <span class="type">GObject</span> note
120
+ specifically <code class="function">g_object_ref()</code> and <code class="function">g_object_unref()</code>. <span class="type">GInitiallyUnowned</span> is a
121
+ subclass of <span class="type">GObject</span> so the same points apply, except that it has a "floating"
122
+ state (explained in its documentation).
123
+ </p>
124
+ <p>
125
+ For strings returned from functions, they will be declared "const"
126
+ if they should not be freed. Non-const strings should be
127
+ freed with <code class="function">g_free()</code>. Arrays follow the same rule. If you find an
128
+ undocumented exception to the rules, please report a bug to <a class="ulink" href="http://bugzilla.gnome.org" target="_top">http://bugzilla.gnome.org</a>.
129
+ </p>
130
+ </td>
131
+ </tr>
132
+ <tr class="question">
133
+ <td align="left" valign="top">
134
+ <a name="idm140520416380080"></a><a name="idm140520416379792"></a><p><b>1.5.</b></p>
135
+ </td>
136
+ <td align="left" valign="top"><p>
137
+ Why does my program leak memory, if I destroy a widget immediately
138
+ after creating it ?
139
+ </p></td>
140
+ </tr>
141
+ <tr class="answer">
142
+ <td align="left" valign="top"></td>
143
+ <td align="left" valign="top">
144
+ <p>
145
+ If <span class="structname">GtkFoo</span> isn't a toplevel window, then
146
+ </p>
147
+ <div class="informalexample">
148
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
149
+ <tbody>
150
+ <tr>
151
+ <td class="listing_lines" align="right"><pre>1
152
+ 2</pre></td>
153
+ <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>
154
+ <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>
155
+ </tr>
156
+ </tbody>
157
+ </table>
158
+ </div>
159
+
160
+ <p>
161
+ is a memory leak, because no one assumed the initial floating
162
+ reference. If you are using a widget and you aren't immediately
163
+ packing it into a container, then you probably want standard
164
+ reference counting, not floating reference counting.
165
+ </p>
166
+ <p>
167
+ To to get this, you must acquire a reference to the widget and drop the
168
+ floating reference (<span class="quote">“<span class="quote">ref and sink</span>”</span> in GTK+ parlance) after
169
+ creating it:
170
+ </p>
171
+ <div class="informalexample">
172
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
173
+ <tbody>
174
+ <tr>
175
+ <td class="listing_lines" align="right"><pre>1
176
+ 2</pre></td>
177
+ <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>
178
+ <span class="function">g_object_ref_sink</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
179
+ </tr>
180
+ </tbody>
181
+ </table>
182
+ </div>
183
+
184
+ <p>
185
+ 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>
186
+ to break any external connections to the widget before dropping your
187
+ reference:
188
+ </p>
189
+ <div class="informalexample">
190
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
191
+ <tbody>
192
+ <tr>
193
+ <td class="listing_lines" align="right"><pre>1
194
+ 2</pre></td>
195
+ <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>
196
+ <span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">foo</span><span class="symbol">);</span></pre></td>
197
+ </tr>
198
+ </tbody>
199
+ </table>
200
+ </div>
201
+
202
+ <p>
203
+ When you immediately add a widget to a container, it takes care of
204
+ assuming the initial floating reference and you don't have to worry
205
+ 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>
206
+ to get rid of the widget.
207
+ </p>
208
+ </td>
209
+ </tr>
210
+ <tr class="question">
211
+ <td align="left" valign="top">
212
+ <a name="idm140520420256400"></a><a name="idm140520420256112"></a><p><b>1.6.</b></p>
213
+ </td>
214
+ <td align="left" valign="top"><p>
215
+ How do I use GTK+ with threads?
216
+ </p></td>
217
+ </tr>
218
+ <tr class="answer">
219
+ <td align="left" valign="top"></td>
220
+ <td align="left" valign="top"><p>
221
+ This is covered in the <GTKDOCLINK HREF="gdk-Threads">GDK threads
222
+ documentation</GTKDOCLINK>. See also the GThread
223
+ documentation for portable threading primitives.
224
+ </p></td>
225
+ </tr>
226
+ <tr class="question">
227
+ <td align="left" valign="top">
228
+ <a name="idm140520420253024"></a><a name="idm140520420252736"></a><p><b>1.7.</b></p>
229
+ </td>
230
+ <td align="left" valign="top"><p>
231
+ How do I internationalize a GTK+ program?
232
+ </p></td>
233
+ </tr>
234
+ <tr class="answer">
235
+ <td align="left" valign="top"></td>
236
+ <td align="left" valign="top">
237
+ <p>
238
+ Most people use <a class="ulink" href="http://www.gnu.org/software/gettext/" target="_top">GNU
239
+ gettext</a>, already required in order to install GLib. On a UNIX
240
+ or Linux system with gettext installed, type <code class="literal">info gettext</code>
241
+ to read the documentation.
242
+ </p>
243
+ <p>
244
+ The short checklist on how to use gettext is: call <code class="function">bindtextdomain()</code> so
245
+ gettext can find the files containing your translations, call <code class="function">textdomain()</code>
246
+ to set the default translation domain, call <code class="function">bind_textdomain_codeset()</code> to
247
+ request that all translated strings are returned in UTF-8, then call
248
+ <code class="function">gettext()</code> to look up each string to be translated in the default domain.
249
+ </p>
250
+ <p>
251
+ <code class="filename">gi18n.h</code> provides the following shorthand macros for
252
+ convenience.
253
+ Conventionally, people define macros as follows for convenience:
254
+ </p>
255
+ <div class="informalexample">
256
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
257
+ <tbody>
258
+ <tr>
259
+ <td class="listing_lines" align="right"><pre>1
260
+ 2
261
+ 3</pre></td>
262
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function">_</span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">gettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span>
263
+ <span class="preproc">#define</span><span class="normal"> </span><span class="function">N_</span><span class="symbol">(</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> x</span>
264
+ <span class="preproc">#define</span><span class="normal"> </span><span class="function">C_</span><span class="symbol">(</span><span class="normal">ctx</span><span class="symbol">,</span><span class="normal">x</span><span class="symbol">)</span><span class="normal"> </span><span class="function">pgettext</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">ctx</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
265
+ </tr>
266
+ </tbody>
267
+ </table>
268
+ </div>
269
+
270
+ <p>
271
+ You use <code class="function">N_()</code> (N stands for no-op) to mark a string for translation in
272
+ a location where a function call to <code class="function">gettext()</code> is not allowed, such as
273
+ in an array initializer.
274
+ You eventually have to call <code class="function">gettext()</code> on the string to actually fetch
275
+ the translation. <code class="function">_()</code> both marks the string for translation and actually
276
+ translates it.
277
+ The <code class="function">C_()</code> macro (C stands for context) adds an additional context to
278
+ the string that is marked for translation, which can help to disambiguate
279
+ short strings that might need different translations in different
280
+ parts of your program.
281
+ </p>
282
+ <p>
283
+ Code using these macros ends up looking like this:
284
+ </p>
285
+ <div class="informalexample">
286
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
287
+ <tbody>
288
+ <tr>
289
+ <td class="listing_lines" align="right"><pre>1
290
+ 2
291
+ 3
292
+ 4
293
+ 5
294
+ 6
295
+ 7
296
+ 8
297
+ 9
298
+ 10
299
+ 11
300
+ 12
301
+ 13</pre></td>
302
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;gi18n.h&gt;</span>
303
+
304
+ <span class="keyword">static</span><span class="normal"> </span><span class="keyword">const</span><span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">global_variable </span><span class="symbol">=</span><span class="normal"> </span><span class="function">N_</span><span class="symbol">(</span><span class="string">"Translate this string"</span><span class="symbol">);</span>
305
+
306
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
307
+ <span class="function">make_widgets</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
308
+ <span class="cbracket">{</span>
309
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label1</span><span class="symbol">;</span>
310
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">label2</span><span class="symbol">;</span>
311
+
312
+ <span class="normal"> label1 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">_</span><span class="symbol">(</span><span class="string">"Another string to translate"</span><span class="symbol">));</span>
313
+ <span class="normal"> label2 </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkLabel.html#gtk-label-new">gtk_label_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">_</span><span class="symbol">(</span><span class="normal">global_variable</span><span class="symbol">));</span>
314
+ <span class="symbol">...</span></pre></td>
315
+ </tr>
316
+ </tbody>
317
+ </table>
318
+ </div>
319
+
320
+ <p>
321
+ </p>
322
+ <p>
323
+ Libraries using gettext should use <code class="function">dgettext()</code> instead of <code class="function">gettext()</code>, which
324
+ allows them to specify the translation domain each time they ask for a
325
+ translation. Libraries should also avoid calling <code class="function">textdomain()</code>, since
326
+ they will be specifying the domain instead of using the default.
327
+ </p>
328
+ <p>
329
+ With the convention that the macro <code class="literal">GETTEXT_PACKAGE</code> is
330
+ defined to hold your libraries translation domain,
331
+ <code class="filename">gi18n-lib.h</code> can be included to provide
332
+ the following convenience:
333
+ </p>
334
+ <div class="informalexample">
335
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
336
+ <tbody>
337
+ <tr>
338
+ <td class="listing_lines" align="right"><pre>1</pre></td>
339
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#define</span><span class="normal"> </span><span class="function">_</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="normal">GETTEXT_PACKAGE</span><span class="symbol">,</span><span class="normal"> x</span><span class="symbol">)</span></pre></td>
340
+ </tr>
341
+ </tbody>
342
+ </table>
343
+ </div>
344
+
345
+ <p>
346
+ </p>
347
+ </td>
348
+ </tr>
349
+ <tr class="question">
350
+ <td align="left" valign="top">
351
+ <a name="idm140520415745744"></a><a name="idm140520415745456"></a><p><b>1.8.</b></p>
352
+ </td>
353
+ <td align="left" valign="top"><p>
354
+ How do I use non-ASCII characters in GTK+ programs ?
355
+ </p></td>
356
+ </tr>
357
+ <tr class="answer">
358
+ <td align="left" valign="top"></td>
359
+ <td align="left" valign="top">
360
+ <p>
361
+ GTK+ uses <a class="ulink" href="http://www.unicode.org" target="_top">Unicode</a> (more exactly
362
+ UTF-8) for all text. UTF-8 encodes each Unicode codepoint as a sequence of
363
+ one to six bytes and has a number of nice properties which make it a good
364
+ choice for working with Unicode text in C programs:
365
+ </p>
366
+ <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
367
+ <li class="listitem"><p>
368
+ ASCII characters are encoded by their familiar ASCII codepoints.
369
+ </p></li>
370
+ <li class="listitem"><p>
371
+ ASCII characters never appear as part of any other character.
372
+ </p></li>
373
+ <li class="listitem"><p>
374
+ The zero byte doesn't occur as part of a character, so that UTF-8 strings
375
+ can be manipulated with the usual C library functions for handling
376
+ zero-terminated strings.
377
+ </p></li>
378
+ </ul></div>
379
+ <p>
380
+ More information about Unicode and UTF-8 can be found in the
381
+ <a class="ulink" href="http://www.cl.cam.ac.uk/~mgk25/unicode.html" target="_top">UTF-8 and Unicode
382
+ FAQ for Unix/Linux</a>.
383
+ GLib provides functions for converting strings between UTF-8 and other
384
+ encodings, see <code class="function">g_locale_to_utf8()</code> and <code class="function">g_convert()</code>.
385
+ </p>
386
+ <p>
387
+ Text coming from external sources (e.g. files or user input), has to be
388
+ converted to UTF-8 before being handed over to GTK+. The following example
389
+ writes the content of a IS0-8859-1 encoded text file to
390
+ <code class="literal">stdout</code>:
391
+ </p>
392
+ <div class="informalexample">
393
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
394
+ <tbody>
395
+ <tr>
396
+ <td class="listing_lines" align="right"><pre>1
397
+ 2
398
+ 3
399
+ 4
400
+ 5
401
+ 6
402
+ 7
403
+ 8
404
+ 9
405
+ 10
406
+ 11
407
+ 12
408
+ 13
409
+ 14
410
+ 15
411
+ 16
412
+ 17
413
+ 18</pre></td>
414
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">utf8_text</span><span class="symbol">;</span>
415
+ <span class="usertype">gsize</span><span class="normal"> length</span><span class="symbol">;</span>
416
+ <span class="usertype">GError</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">error </span><span class="symbol">=</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">;</span>
417
+
418
+ <span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">g_file_get_contents</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">text</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">length</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">))</span>
419
+ <span class="normal"> </span><span class="cbracket">{</span>
420
+ <span class="normal"> utf8_text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_convert</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>
421
+ <span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">error</span><span class="symbol">);</span>
422
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error </span><span class="symbol">!=</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">)</span>
423
+ <span class="normal"> </span><span class="cbracket">{</span>
424
+ <span class="normal"> </span><span class="function">fprintf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Couldn't convert file %s to UTF-8</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span>
425
+ <span class="normal"> </span><span class="function">g_error_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">error</span><span class="symbol">);</span>
426
+ <span class="normal"> </span><span class="cbracket">}</span>
427
+ <span class="normal"> </span><span class="keyword">else</span>
428
+ <span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">utf8_text</span><span class="symbol">);</span>
429
+ <span class="normal"> </span><span class="cbracket">}</span>
430
+ <span class="keyword">else</span>
431
+ <span class="normal"> </span><span class="function">fprintf</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">stderr</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Unable to read file %s</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">,</span><span class="normal"> filename</span><span class="symbol">);</span></pre></td>
432
+ </tr>
433
+ </tbody>
434
+ </table>
435
+ </div>
436
+
437
+ <p>
438
+ </p>
439
+ <p>
440
+ For string literals in the source code, there are several alternatives for
441
+ handling non-ASCII content:
442
+ </p>
443
+ <div class="variablelist"><table border="0" class="variablelist">
444
+ <colgroup>
445
+ <col align="left" valign="top">
446
+ <col>
447
+ </colgroup>
448
+ <tbody>
449
+ <tr>
450
+ <td><p><span class="term">direct UTF-8</span></p></td>
451
+ <td><p>
452
+ If your editor and compiler are capable of handling UTF-8 encoded sources,
453
+ it is very convenient to simply use UTF-8 for string literals, since it
454
+ allows you to edit the strings in "wysiwyg". Note that choosing this option
455
+ may reduce the portability of your code.
456
+ </p></td>
457
+ </tr>
458
+ <tr>
459
+ <td><p><span class="term">escaped UTF-8</span></p></td>
460
+ <td><p>
461
+ Even if your toolchain can't handle UTF-8 directly, you can still encode
462
+ string literals in UTF-8 by using octal or hexadecimal escapes like
463
+ <code class="literal">\212</code> or <code class="literal">\xa8</code> to encode each byte.
464
+ This is portable, but modifying the escaped strings is not very convenient.
465
+ Be careful when mixing hexadecimal escapes with ordinary text;
466
+ <code class="literal">"\xa8abcd"</code> is a string of length 1 !
467
+ </p></td>
468
+ </tr>
469
+ <tr>
470
+ <td><p><span class="term">runtime conversion</span></p></td>
471
+ <td><p>
472
+ If the string literals can be represented in an encoding which your
473
+ toolchain can handle (e.g. IS0-8859-1), you can write your source files
474
+ in that encoding and use <code class="function">g_convert()</code> to convert the strings to UTF-8 at
475
+ runtime. Note that this has some runtime overhead, so you may want to move
476
+ the conversion out of inner loops.
477
+ </p></td>
478
+ </tr>
479
+ </tbody>
480
+ </table></div>
481
+ <p>
482
+ Here is an example showing the three approaches using the copyright sign
483
+ © which has Unicode and ISO-8859-1 codepoint 169 and is represented
484
+ in UTF-8 by the two bytes 194, 169, or <code class="literal">"\302\251"</code> as
485
+ a string literal:
486
+ </p>
487
+ <div class="informalexample">
488
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
489
+ <tbody>
490
+ <tr>
491
+ <td class="listing_lines" align="right"><pre>1
492
+ 2
493
+ 3
494
+ 4
495
+ 5</pre></td>
496
+ <td class="listing_code"><pre class="programlisting"><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"direct UTF-8: ©"</span><span class="symbol">);</span>
497
+ <span class="function">g_print</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>
498
+ <span class="normal">text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_convert</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"runtime conversion: ©"</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"ISO-8859-1"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"UTF-8"</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
499
+ <span class="function">g_print</span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
500
+ <span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
501
+ </tr>
502
+ </tbody>
503
+ </table>
504
+ </div>
505
+
506
+ <p>
507
+ </p>
508
+ <p>
509
+ If you are using <code class="function">gettext()</code> to localize your application, you need to
510
+ call <code class="function">bind_textdomain_codeset()</code> to ensure that translated strings are
511
+ returned in UTF-8 encoding.
512
+ </p>
513
+ </td>
514
+ </tr>
515
+ <tr class="question">
516
+ <td align="left" valign="top">
517
+ <a name="idm140520415721120"></a><a name="idm140520415720832"></a><p><b>1.9.</b></p>
518
+ </td>
519
+ <td align="left" valign="top"><p>
520
+ How do I use GTK+ with C++?
521
+ </p></td>
522
+ </tr>
523
+ <tr class="answer">
524
+ <td align="left" valign="top"></td>
525
+ <td align="left" valign="top">
526
+ <p>
527
+ There are two ways to approach this. The GTK+ header files use the subset
528
+ of C that's also valid C++, so you can simply use the normal GTK+ API
529
+ in a C++ program. Alternatively, you can use a "C++ binding"
530
+ such as <a class="ulink" href="http://gtkmm.sourceforge.net/" target="_top">gtkmm</a>
531
+ which provides a native C++ API.
532
+ </p>
533
+ <p>
534
+ When using GTK+ directly, keep in mind that only functions can be
535
+ connected to signals, not methods. So you will need to use global
536
+ functions or "static" class functions for signal connections.
537
+ </p>
538
+ <p>
539
+ Another common issue when using GTK+ directly is that
540
+ C++ will not implicitly convert an integer to an enumeration.
541
+ This comes up when using bitfields; in C you can write the following
542
+ code:
543
+ </p>
544
+ <div class="informalexample">
545
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
546
+ <tbody>
547
+ <tr>
548
+ <td class="listing_lines" align="right"><pre>1
549
+ 2</pre></td>
550
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="../gdk3/gdk3-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>
551
+ <span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-PRESS-MASK:CAPS">GDK_BUTTON_PRESS_MASK</a> </span><span class="symbol">|</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-RELEASE-MASK:CAPS">GDK_BUTTON_RELEASE_MASK</a></span><span class="symbol">);</span></pre></td>
552
+ </tr>
553
+ </tbody>
554
+ </table>
555
+ </div>
556
+
557
+ <p>
558
+ while in C++ you must write:
559
+ </p>
560
+ <div class="informalexample">
561
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
562
+ <tbody>
563
+ <tr>
564
+ <td class="listing_lines" align="right"><pre>1
565
+ 2</pre></td>
566
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="../gdk3/gdk3-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>
567
+ <span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="../gdk3/gdk3-Events.html#GdkEventMask">GdkEventMask</a></span><span class="symbol">)</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-PRESS-MASK:CAPS">GDK_BUTTON_PRESS_MASK</a> </span><span class="symbol">|</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-RELEASE-MASK:CAPS">GDK_BUTTON_RELEASE_MASK</a></span><span class="symbol">);</span></pre></td>
568
+ </tr>
569
+ </tbody>
570
+ </table>
571
+ </div>
572
+
573
+ <p>
574
+ There are very few functions that require this cast, however.
575
+ </p>
576
+ </td>
577
+ </tr>
578
+ <tr class="question">
579
+ <td align="left" valign="top">
580
+ <a name="idm140520415714464"></a><a name="idm140520415714176"></a><p><b>1.10.</b></p>
581
+ </td>
582
+ <td align="left" valign="top"><p>
583
+ How do I use GTK+ with other non-C languages?
584
+ </p></td>
585
+ </tr>
586
+ <tr class="answer">
587
+ <td align="left" valign="top"></td>
588
+ <td align="left" valign="top"><p>
589
+ See the <a class="ulink" href="http://www.gtk.org/bindings.html" target="_top">list of language
590
+ bindings</a> on <a class="ulink" href="http://www.gtk.org" target="_top">http://www.gtk.org</a>.
591
+ </p></td>
592
+ </tr>
593
+ <tr class="question">
594
+ <td align="left" valign="top">
595
+ <a name="idm140520415711104"></a><a name="idm140520415710816"></a><p><b>1.11.</b></p>
596
+ </td>
597
+ <td align="left" valign="top"><p>
598
+ How do I load an image or animation from a file?
599
+ </p></td>
600
+ </tr>
601
+ <tr class="answer">
602
+ <td align="left" valign="top"></td>
603
+ <td align="left" valign="top">
604
+ <p>
605
+ To load an image file straight into a display widget, use
606
+ <a class="link" href="GtkImage.html#gtk-image-new-from-file" title="gtk_image_new_from_file ()"><code class="function">gtk_image_new_from_file()</code></a> <a href="#ftn.idm140520415708592" class="footnote" name="idm140520415708592"><sup class="footnote">[1]</sup></a>.
607
+ 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
608
+ 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>.
609
+ <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
610
+ 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
611
+ file of unknown type.
612
+ </p>
613
+ <p>
614
+ To load an image or animation file asynchronously (without blocking), use
615
+ <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/GdkPixbufLoader.html"><span class="type">GdkPixbufLoader</span></a>.
616
+ </p>
617
+ </td>
618
+ </tr>
619
+ <tr class="question">
620
+ <td align="left" valign="top">
621
+ <a name="idm140520415698272"></a><a name="idm140520415697984"></a><p><b>1.12.</b></p>
622
+ </td>
623
+ <td align="left" valign="top"><p>
624
+ How do I draw text ?
625
+ </p></td>
626
+ </tr>
627
+ <tr class="answer">
628
+ <td align="left" valign="top"></td>
629
+ <td align="left" valign="top">
630
+ <p>
631
+ To draw a piece of text, use a Pango layout and <code class="function">pango_cairo_show_layout()</code>.
632
+ </p>
633
+ <div class="informalexample">
634
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
635
+ <tbody>
636
+ <tr>
637
+ <td class="listing_lines" align="right"><pre>1
638
+ 2
639
+ 3
640
+ 4
641
+ 5
642
+ 6</pre></td>
643
+ <td class="listing_code"><pre class="programlisting"><span class="normal">layout </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-create-pango-layout">gtk_widget_create_pango_layout</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">);</span>
644
+ <span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function">pango_font_description_from_string</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Luxi Mono 12"</span><span class="symbol">);</span>
645
+ <span class="function">pango_layout_set_font_description</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>
646
+ <span class="function">pango_cairo_show_layout</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> layout</span><span class="symbol">);</span>
647
+ <span class="function">pango_font_description_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
648
+ <span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
649
+ </tr>
650
+ </tbody>
651
+ </table>
652
+ </div>
653
+
654
+ <p>
655
+ </p>
656
+ <p>
657
+ See also the
658
+ <a class="ulink" href="http://developer.gnome.org/pango/stable/pango-Cairo-Rendering.html" target="_top">Cairo Rendering</a>
659
+ section of <a class="ulink" href="http://developer.gnome.org/pango/stable/" target="_top">Pango manual</a>.
660
+ </p>
661
+ </td>
662
+ </tr>
663
+ <tr class="question">
664
+ <td align="left" valign="top">
665
+ <a name="idm140520415691984"></a><a name="idm140520415691696"></a><p><b>1.13.</b></p>
666
+ </td>
667
+ <td align="left" valign="top"><p>
668
+ How do I measure the size of a piece of text ?
669
+ </p></td>
670
+ </tr>
671
+ <tr class="answer">
672
+ <td align="left" valign="top"></td>
673
+ <td align="left" valign="top">
674
+ <p>
675
+ To obtain the size of a piece of text, use a Pango layout and
676
+ <code class="function">pango_layout_get_pixel_size()</code>, using code like the following:
677
+ </p>
678
+ <div class="informalexample">
679
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
680
+ <tbody>
681
+ <tr>
682
+ <td class="listing_lines" align="right"><pre>1
683
+ 2
684
+ 3
685
+ 4
686
+ 5
687
+ 6</pre></td>
688
+ <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>
689
+ <span class="normal">fontdesc </span><span class="symbol">=</span><span class="normal"> </span><span class="function">pango_font_description_from_string</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Luxi Mono 12"</span><span class="symbol">);</span>
690
+ <span class="function">pango_layout_set_font_description</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>
691
+ <span class="function">pango_layout_get_pixel_size</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>
692
+ <span class="function">pango_font_description_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">fontdesc</span><span class="symbol">);</span>
693
+ <span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">layout</span><span class="symbol">);</span></pre></td>
694
+ </tr>
695
+ </tbody>
696
+ </table>
697
+ </div>
698
+
699
+ <p>
700
+ </p>
701
+ <p>
702
+ See also the
703
+ <a class="ulink" href="http://developer.gnome.org/pango/stable/pango-Layout-Objects.html" target="_top">Layout Objects</a>
704
+ section of <a class="ulink" href="http://developer.gnome.org/pango/stable/" target="_top">Pango manual</a>.
705
+ </p>
706
+ </td>
707
+ </tr>
708
+ <tr class="question">
709
+ <td align="left" valign="top">
710
+ <a name="idm140520415685360"></a><a name="idm140520415685072"></a><p><b>1.14.</b></p>
711
+ </td>
712
+ <td align="left" valign="top"><p>
713
+ Why are types not registered if I use their <code class="literal">GTK_TYPE_BLAH</code>
714
+ macro ?
715
+ </p></td>
716
+ </tr>
717
+ <tr class="answer">
718
+ <td align="left" valign="top"></td>
719
+ <td align="left" valign="top">
720
+ <p>
721
+ The <code class="literal">GTK_TYPE_BLAH</code> macros are defined as calls to
722
+ <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
723
+ functions are declared as <code class="literal">G_GNUC_CONST</code> which allows the compiler to optimize
724
+ the call away if it appears that the value is not being used.
725
+ </p>
726
+ <p>
727
+ A common workaround for this problem is to store the result in a volatile
728
+ variable, which keeps the compiler from optimizing the call away.
729
+ </p>
730
+ <div class="informalexample">
731
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
732
+ <tbody>
733
+ <tr>
734
+ <td class="listing_lines" align="right"><pre>1</pre></td>
735
+ <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>
736
+ </tr>
737
+ </tbody>
738
+ </table>
739
+ </div>
740
+
741
+ <p>
742
+ </p>
743
+ </td>
744
+ </tr>
745
+ <tr class="question">
746
+ <td align="left" valign="top">
747
+ <a name="idm140520415676000"></a><a name="idm140520415675712"></a><p><b>1.15.</b></p>
748
+ </td>
749
+ <td align="left" valign="top"><p>
750
+ How do I create a transparent toplevel window ?
751
+ </p></td>
752
+ </tr>
753
+ <tr class="answer">
754
+ <td align="left" valign="top"></td>
755
+ <td align="left" valign="top">
756
+ <p>
757
+ To make a window transparent, it needs to use a visual which supports that.
758
+ This is done by getting the RGBA visual of the screen with
759
+ <a href="../gdk3/GdkScreen.html#gdk-screen-get-rgba-visual"><code class="function">gdk_screen_get_rgba_visual()</code></a> and setting it on the window. Note that
760
+ <a href="../gdk3/GdkScreen.html#gdk-screen-get-rgba-visual"><code class="function">gdk_screen_get_rgba_visual()</code></a> will return <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if transparent windows
761
+ are not supported on the screen, you should fall back to
762
+ <a href="../gdk3/GdkScreen.html#gdk-screen-get-system-visual"><code class="function">gdk_screen_get_system_visual()</code></a> in that case. Additionally, note that this
763
+ will change from screen to screen, so it needs to be repeated whenever the
764
+ window is moved to a different screen.
765
+ </p>
766
+ <div class="informalexample">
767
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
768
+ <tbody>
769
+ <tr>
770
+ <td class="listing_lines" align="right"><pre>1
771
+ 2
772
+ 3
773
+ 4
774
+ 5
775
+ 6
776
+ 7</pre></td>
777
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">GdkVisual</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">visual</span><span class="symbol">;</span>
778
+
779
+ <span class="normal">visual </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../gdk3/GdkScreen.html#gdk-screen-get-rgba-visual">gdk_screen_get_rgba_visual</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">screen</span><span class="symbol">);</span>
780
+ <span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">visual </span><span class="symbol">==</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">)</span>
781
+ <span class="normal"> visual </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../gdk3/GdkScreen.html#gdk-screen-get-system-visual">gdk_screen_get_system_visual</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">screen</span><span class="symbol">);</span>
782
+
783
+ <span class="function"><a href="GtkWidget.html#gtk-widget-set-visual">gtk_widget_set_visual</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> visual</span><span class="symbol">);</span></pre></td>
784
+ </tr>
785
+ </tbody>
786
+ </table>
787
+ </div>
788
+
789
+ <p>
790
+ To fill the alpha channel on the window simply use cairos
791
+ RGBA drawing capabilities.
792
+ </p>
793
+ <p>
794
+ Note that the presence of an RGBA visual is no guarantee that the
795
+ window will actually appear transparent on screen. On X11, this
796
+ requires a compositing manager to be running. See
797
+ <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
798
+ channel will be respected.
799
+ </p>
800
+ </td>
801
+ </tr>
802
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
803
+ <a name="idm140520415666128"></a>2. Which widget should I use...</h5></td></tr>
804
+ <tr class="question">
805
+ <td align="left" valign="top">
806
+ <a name="idm140520415665536"></a><a name="idm140520415665248"></a><p><b>2.1.</b></p>
807
+ </td>
808
+ <td align="left" valign="top"><p>
809
+ ...for lists and trees?
810
+ </p></td>
811
+ </tr>
812
+ <tr class="answer">
813
+ <td align="left" valign="top"></td>
814
+ <td align="left" valign="top"><p>
815
+ See <a class="link" href="TreeWidget.html" title="Tree and List Widget Overview">tree widget overview</a> — you
816
+ 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,
817
+ so the tree widget is used for lists as well).
818
+ </p></td>
819
+ </tr>
820
+ <tr class="question">
821
+ <td align="left" valign="top">
822
+ <a name="idm140520415661936"></a><a name="idm140520415661648"></a><p><b>2.2.</b></p>
823
+ </td>
824
+ <td align="left" valign="top"><p>
825
+ ...for multi-line text display or editing?
826
+ </p></td>
827
+ </tr>
828
+ <tr class="answer">
829
+ <td align="left" valign="top"></td>
830
+ <td align="left" valign="top">
831
+ <p>
832
+ See <a class="link" href="TextWidget.html" title="Text Widget Overview">text widget overview</a> — you
833
+ should use the <a class="link" href="GtkTextView.html" title="GtkTextView"><span class="type">GtkTextView</span></a> widget.
834
+ </p>
835
+ <p>
836
+ 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
837
+ 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
838
+ single-line text entry, see <a class="link" href="GtkEntry.html" title="GtkEntry"><span class="type">GtkEntry</span></a>.
839
+ </p>
840
+ </td>
841
+ </tr>
842
+ <tr class="question">
843
+ <td align="left" valign="top">
844
+ <a name="idm140520415655216"></a><a name="idm140520415654928"></a><p><b>2.3.</b></p>
845
+ </td>
846
+ <td align="left" valign="top"><p>
847
+ ...to display an image or animation?
848
+ </p></td>
849
+ </tr>
850
+ <tr class="answer">
851
+ <td align="left" valign="top"></td>
852
+ <td align="left" valign="top"><p>
853
+ <a class="link" href="GtkImage.html" title="GtkImage"><span class="type">GtkImage</span></a> can display images in just about any format GTK+ understands.
854
+ 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,
855
+ such as draw text or graphics over the top of the image.
856
+ </p></td>
857
+ </tr>
858
+ <tr class="question">
859
+ <td align="left" valign="top">
860
+ <a name="idm140520415651536"></a><a name="idm140520415651248"></a><p><b>2.4.</b></p>
861
+ </td>
862
+ <td align="left" valign="top"><p>
863
+ ...for presenting a set of mutually-exclusive choices, where Windows
864
+ would use a combo box?
865
+ </p></td>
866
+ </tr>
867
+ <tr class="answer">
868
+ <td align="left" valign="top"></td>
869
+ <td align="left" valign="top"><p>
870
+ 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.
871
+ This widget looks like either a combo box or the current option menu, depending
872
+ on the current theme. If you need an editable text entry, use the
873
+ <a class="link" href="GtkComboBox.html#GtkComboBox--has-entry" title='The "has-entry" property'><span class="type">"has-entry"</span></a> property.
874
+ </p></td>
875
+ </tr>
876
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
877
+ <a name="idm140520415647504"></a>3. GtkWidget</h5></td></tr>
878
+ <tr class="question">
879
+ <td align="left" valign="top">
880
+ <a name="idm140520415646928"></a><a name="idm140520415646640"></a><p><b>3.1.</b></p>
881
+ </td>
882
+ <td align="left" valign="top"><p>
883
+ How do I change the color of a widget?
884
+ </p></td>
885
+ </tr>
886
+ <tr class="answer">
887
+ <td align="left" valign="top"></td>
888
+ <td align="left" valign="top">
889
+ <p>
890
+ See <a class="link" href="GtkWidget.html#gtk-widget-override-color" title="gtk_widget_override_color ()"><code class="function">gtk_widget_override_color()</code></a> and <a class="link" href="GtkWidget.html#gtk-widget-override-background-color" title="gtk_widget_override_background_color ()"><code class="function">gtk_widget_override_background_color()</code></a>.
891
+ You can also change the appearance of a widget by installing a
892
+ custom style provider, see <a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider" title="gtk_style_context_add_provider ()"><code class="function">gtk_style_context_add_provider()</code></a>.
893
+ </p>
894
+ <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
895
+ have no background, place them in a <a class="link" href="GtkEventBox.html" title="GtkEventBox"><span class="type">GtkEventBox</span></a> and set the background
896
+ of the event box.
897
+ </p>
898
+ </td>
899
+ </tr>
900
+ <tr class="question">
901
+ <td align="left" valign="top">
902
+ <a name="idm140520415639776"></a><a name="idm140520415639488"></a><p><b>3.2.</b></p>
903
+ </td>
904
+ <td align="left" valign="top"><p>
905
+ How do I change the font of a widget?
906
+ </p></td>
907
+ </tr>
908
+ <tr class="answer">
909
+ <td align="left" valign="top"></td>
910
+ <td align="left" valign="top">
911
+ <p>
912
+ This has several possible answers, depending on what exactly you want to
913
+ achieve. One option is <a class="link" href="GtkWidget.html#gtk-widget-override-font" title="gtk_widget_override_font ()"><code class="function">gtk_widget_override_font()</code></a>.
914
+ </p>
915
+ <div class="informalexample">
916
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
917
+ <tbody>
918
+ <tr>
919
+ <td class="listing_lines" align="right"><pre>1
920
+ 2
921
+ 3
922
+ 4</pre></td>
923
+ <td class="listing_code"><pre class="programlisting"><span class="usertype">PangoFontDesc</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">font_desc </span><span class="symbol">=</span><span class="normal"> </span><span class="function">pango_font_description_new</span><span class="normal"> </span><span class="symbol">();</span>
924
+ <span class="function">pango_font_description_set_size</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">font_desc</span><span class="symbol">,</span><span class="normal"> </span><span class="number">40</span><span class="symbol">);</span>
925
+ <span class="function"><a href="GtkWidget.html#gtk-widget-override-font">gtk_widget_override_font</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> font</span><span class="symbol">);</span>
926
+ <span class="function">pango_font_description_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">font_desc</span><span class="symbol">);</span></pre></td>
927
+ </tr>
928
+ </tbody>
929
+ </table>
930
+ </div>
931
+
932
+ <p>
933
+ </p>
934
+ <p>
935
+ If you want to make the text of a label larger, you can use
936
+ <a class="link" href="GtkLabel.html#gtk-label-set-markup" title="gtk_label_set_markup ()"><code class="function">gtk_label_set_markup()</code></a>:
937
+ </p>
938
+ <div class="informalexample">
939
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
940
+ <tbody>
941
+ <tr>
942
+ <td class="listing_lines" align="right"><pre>1</pre></td>
943
+ <td class="listing_code"><pre class="programlisting"><span class="function"><a href="GtkLabel.html#gtk-label-set-markup">gtk_label_set_markup</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">label</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"&lt;big&gt;big text&lt;/big&gt;"</span><span class="symbol">);</span></pre></td>
944
+ </tr>
945
+ </tbody>
946
+ </table>
947
+ </div>
948
+
949
+ <p>
950
+ This is preferred for many apps because it's a relative size to the
951
+ user's chosen font size. See <code class="function">g_markup_escape_text()</code> if you are
952
+ constructing such strings on the fly.
953
+ </p>
954
+ <p>
955
+ You can also change the font of a widget by putting
956
+ </p>
957
+ <pre class="programlisting">
958
+ .my-widget-class {
959
+ font: Sans 30;
960
+ }
961
+ </pre>
962
+ <p>
963
+ in a CSS file, loading it with <a class="link" href="GtkCssProvider.html#gtk-css-provider-load-from-file" title="gtk_css_provider_load_from_file ()"><code class="function">gtk_css_provider_load_from_file()</code></a>, and
964
+ adding the provider with <a class="link" href="GtkStyleContext.html#gtk-style-context-add-provider-for-screen" title="gtk_style_context_add_provider_for_screen ()"><code class="function">gtk_style_context_add_provider_for_screen()</code></a>.
965
+ To associate this style information with your widget, set a style class
966
+ on its <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> using <a class="link" href="GtkStyleContext.html#gtk-style-context-add-class" title="gtk_style_context_add_class ()"><code class="function">gtk_style_context_add_class()</code></a>.
967
+ The advantage of this approach is that users can then override the font
968
+ you have chosen. See the <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> documentation for more discussion.
969
+ </p>
970
+ </td>
971
+ </tr>
972
+ <tr class="question">
973
+ <td align="left" valign="top">
974
+ <a name="idm140520415625728"></a><a name="idm140520415625440"></a><p><b>3.3.</b></p>
975
+ </td>
976
+ <td align="left" valign="top"><p>
977
+ How do I disable/ghost/desensitize a widget?
978
+ </p></td>
979
+ </tr>
980
+ <tr class="answer">
981
+ <td align="left" valign="top"></td>
982
+ <td align="left" valign="top"><p>
983
+ In GTK+ a disabled widget is termed "insensitive."
984
+ See <a class="link" href="GtkWidget.html#gtk-widget-set-sensitive" title="gtk_widget_set_sensitive ()"><code class="function">gtk_widget_set_sensitive()</code></a>.
985
+ </p></td>
986
+ </tr>
987
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
988
+ <a name="idm140520415622880"></a>4. GtkTextView</h5></td></tr>
989
+ <tr class="question">
990
+ <td align="left" valign="top">
991
+ <a name="idm140520415622304"></a><a name="idm140520415622016"></a><p><b>4.1.</b></p>
992
+ </td>
993
+ <td align="left" valign="top"><p>
994
+ How do I get the contents of the entire text widget as a string?
995
+ </p></td>
996
+ </tr>
997
+ <tr class="answer">
998
+ <td align="left" valign="top"></td>
999
+ <td align="left" valign="top">
1000
+ <p>
1001
+ 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>
1002
+ 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>.
1003
+ </p>
1004
+ <p>
1005
+ </p>
1006
+ <div class="informalexample">
1007
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1008
+ <tbody>
1009
+ <tr>
1010
+ <td class="listing_lines" align="right"><pre>1
1011
+ 2
1012
+ 3
1013
+ 4
1014
+ 5
1015
+ 6
1016
+ 7
1017
+ 8
1018
+ 9</pre></td>
1019
+ <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>
1020
+ <span class="usertype">GtkTextBuffer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">buffer</span><span class="symbol">;</span>
1021
+ <span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
1022
+
1023
+ <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>
1024
+ <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>
1025
+ <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>
1026
+ <span class="comment">/* use text */</span>
1027
+ <span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span></pre></td>
1028
+ </tr>
1029
+ </tbody>
1030
+ </table>
1031
+ </div>
1032
+
1033
+ <p>
1034
+ </p>
1035
+ </td>
1036
+ </tr>
1037
+ <tr class="question">
1038
+ <td align="left" valign="top">
1039
+ <a name="idm140520415615744"></a><a name="idm140520415615456"></a><p><b>4.2.</b></p>
1040
+ </td>
1041
+ <td align="left" valign="top"><p>
1042
+ How do I make a text widget display its complete contents in a specific font?
1043
+ </p></td>
1044
+ </tr>
1045
+ <tr class="answer">
1046
+ <td align="left" valign="top"></td>
1047
+ <td align="left" valign="top">
1048
+ <p>
1049
+ 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
1050
+ select the font, the inserted text will have the desired appearance, but
1051
+ text typed in by the user before or after the tagged block will appear in
1052
+ the default style.
1053
+ </p>
1054
+ <p>
1055
+ To ensure that all text has the desired appearance, use
1056
+ <a class="link" href="GtkWidget.html#gtk-widget-override-font" title="gtk_widget_override_font ()"><code class="function">gtk_widget_override_font()</code></a> to change the default font for the widget.
1057
+ </p>
1058
+ </td>
1059
+ </tr>
1060
+ <tr class="question">
1061
+ <td align="left" valign="top">
1062
+ <a name="idm140520415611216"></a><a name="idm140520415610928"></a><p><b>4.3.</b></p>
1063
+ </td>
1064
+ <td align="left" valign="top"><p>
1065
+ How do I make a text view scroll to the end of the buffer automatically ?
1066
+ </p></td>
1067
+ </tr>
1068
+ <tr class="answer">
1069
+ <td align="left" valign="top"></td>
1070
+ <td align="left" valign="top">
1071
+ <p>
1072
+ A good way to keep a text buffer scrolled to the end is to place a
1073
+ <a class="link" href="GtkTextMark.html" title="GtkTextMark">mark</a> at the end of the buffer, and
1074
+ give it right gravity. The gravity has the effect that text inserted
1075
+ at the mark gets inserted <span class="emphasis"><em>before</em></span>, keeping the mark
1076
+ at the end.
1077
+ </p>
1078
+ <p>
1079
+ To ensure that the end of the buffer remains visible, use
1080
+ <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
1081
+ inserting new text.
1082
+ </p>
1083
+ <p>
1084
+ The gtk-demo application contains an example of this technique.
1085
+ </p>
1086
+ </td>
1087
+ </tr>
1088
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
1089
+ <a name="idm140520415605536"></a>5. <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>
1090
+ </h5></td></tr>
1091
+ <tr class="question">
1092
+ <td align="left" valign="top">
1093
+ <a name="idm140520415604432"></a><a name="idm140520415604144"></a><p><b>5.1.</b></p>
1094
+ </td>
1095
+ <td align="left" valign="top"><p>
1096
+ How do I associate some data with a row in the tree?
1097
+ </p></td>
1098
+ </tr>
1099
+ <tr class="answer">
1100
+ <td align="left" valign="top"></td>
1101
+ <td align="left" valign="top"><p>
1102
+ Remember that the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a> columns don't necessarily have to be
1103
+ displayed. So you can put non-user-visible data in your model just
1104
+ like any other data, 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>.
1105
+ See the <a class="link" href="TreeWidget.html" title="Tree and List Widget Overview">tree widget overview</a>.
1106
+ </p></td>
1107
+ </tr>
1108
+ <tr class="question">
1109
+ <td align="left" valign="top">
1110
+ <a name="idm140520415599728"></a><a name="idm140520415599440"></a><p><b>5.2.</b></p>
1111
+ </td>
1112
+ <td align="left" valign="top"><p>
1113
+ How do I put an image and some text in the same column?
1114
+ </p></td>
1115
+ </tr>
1116
+ <tr class="answer">
1117
+ <td align="left" valign="top"></td>
1118
+ <td align="left" valign="top"><p>
1119
+ You can pack more than one <a class="link" href="GtkCellRenderer.html" title="GtkCellRenderer"><span class="type">GtkCellRenderer</span></a> into a single <a class="link" href="GtkTreeViewColumn.html" title="GtkTreeViewColumn"><span class="type">GtkTreeViewColumn</span></a>
1120
+ using <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start" title="gtk_tree_view_column_pack_start ()"><code class="function">gtk_tree_view_column_pack_start()</code></a> or <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-end" title="gtk_tree_view_column_pack_end ()"><code class="function">gtk_tree_view_column_pack_end()</code></a>.
1121
+ So pack both a <a class="link" href="GtkCellRendererPixbuf.html" title="GtkCellRendererPixbuf"><span class="type">GtkCellRendererPixbuf</span></a> and a <a class="link" href="GtkCellRendererText.html" title="GtkCellRendererText"><span class="type">GtkCellRendererText</span></a> into the
1122
+ column.
1123
+ </p></td>
1124
+ </tr>
1125
+ <tr class="question">
1126
+ <td align="left" valign="top">
1127
+ <a name="idm140520415592128"></a><a name="idm140520415591840"></a><p><b>5.3.</b></p>
1128
+ </td>
1129
+ <td align="left" valign="top"><p>
1130
+ I can set data easily on my <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a>/<a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> models using
1131
+ <a class="link" href="GtkListStore.html#gtk-list-store-set" title="gtk_list_store_set ()"><code class="function">gtk_list_store_set()</code></a> and <a class="link" href="GtkTreeStore.html#gtk-tree-store-set" title="gtk_tree_store_set ()"><code class="function">gtk_tree_store_set()</code></a>, but can't read it back?
1132
+ </p></td>
1133
+ </tr>
1134
+ <tr class="answer">
1135
+ <td align="left" valign="top"></td>
1136
+ <td align="left" valign="top"><p>
1137
+ Both the <a class="link" href="GtkTreeStore.html" title="GtkTreeStore"><span class="type">GtkTreeStore</span></a> and the <a class="link" href="GtkListStore.html" title="GtkListStore"><span class="type">GtkListStore</span></a> implement the <a class="link" href="GtkTreeModel.html" title="GtkTreeModel"><span class="type">GtkTreeModel</span></a>
1138
+ interface. Consequentially, you can use any function this interface
1139
+ implements. The easiest way to read a set of data back is to use
1140
+ <a class="link" href="GtkTreeModel.html#gtk-tree-model-get" title="gtk_tree_model_get ()"><code class="function">gtk_tree_model_get()</code></a>.
1141
+ </p></td>
1142
+ </tr>
1143
+ <tr class="question">
1144
+ <td align="left" valign="top">
1145
+ <a name="idm140520415582464"></a><a name="idm140520415582176"></a><p><b>5.4.</b></p>
1146
+ </td>
1147
+ <td align="left" valign="top"><p>
1148
+ How do I change the way that numbers are formatted by <a class="link" href="GtkTreeView.html" title="GtkTreeView"><span class="type">GtkTreeView</span></a>?
1149
+ </p></td>
1150
+ </tr>
1151
+ <tr class="answer">
1152
+ <td align="left" valign="top"></td>
1153
+ <td align="left" valign="top">
1154
+ <p>
1155
+ Use <a class="link" href="GtkTreeView.html#gtk-tree-view-insert-column-with-data-func" title="gtk_tree_view_insert_column_with_data_func ()"><code class="function">gtk_tree_view_insert_column_with_data_func()</code></a>
1156
+ or <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func" title="gtk_tree_view_column_set_cell_data_func ()"><code class="function">gtk_tree_view_column_set_cell_data_func()</code></a> and do the conversion
1157
+ from number to string yourself (with, say, <code class="function">g_strdup_printf()</code>).
1158
+ </p>
1159
+ <p>
1160
+ The following example demonstrates this:
1161
+ </p>
1162
+ <div class="informalexample">
1163
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1164
+ <tbody>
1165
+ <tr>
1166
+ <td class="listing_lines" align="right"><pre>1
1167
+ 2
1168
+ 3
1169
+ 4
1170
+ 5
1171
+ 6
1172
+ 7
1173
+ 8
1174
+ 9
1175
+ 10
1176
+ 11
1177
+ 12
1178
+ 13
1179
+ 14
1180
+ 15
1181
+ 16
1182
+ 17
1183
+ 18
1184
+ 19
1185
+ 20
1186
+ 21
1187
+ 22
1188
+ 23
1189
+ 24
1190
+ 25
1191
+ 26
1192
+ 27
1193
+ 28
1194
+ 29
1195
+ 30
1196
+ 31
1197
+ 32
1198
+ 33
1199
+ 34
1200
+ 35
1201
+ 36
1202
+ 37
1203
+ 38
1204
+ 39
1205
+ 40
1206
+ 41
1207
+ 42
1208
+ 43
1209
+ 44
1210
+ 45
1211
+ 46
1212
+ 47
1213
+ 48
1214
+ 49
1215
+ 50
1216
+ 51
1217
+ 52
1218
+ 53
1219
+ 54
1220
+ 55
1221
+ 56
1222
+ 57
1223
+ 58
1224
+ 59
1225
+ 60
1226
+ 61
1227
+ 62
1228
+ 63
1229
+ 64</pre></td>
1230
+ <td class="listing_code"><pre class="programlisting"><span class="keyword">enum</span>
1231
+ <span class="cbracket">{</span>
1232
+ <span class="normal"> DOUBLE_COLUMN</span><span class="symbol">,</span>
1233
+ <span class="normal"> N_COLUMNS</span>
1234
+ <span class="cbracket">}</span><span class="symbol">;</span>
1235
+
1236
+ <span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">mycolumns</span><span class="symbol">;</span>
1237
+ <span class="usertype">GtkTreeView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">treeview</span><span class="symbol">;</span>
1238
+
1239
+ <span class="type">void</span>
1240
+ <span class="function">my_cell_double_to_text</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkTreeViewColumn</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tree_column</span><span class="symbol">,</span>
1241
+ <span class="normal"> </span><span class="usertype">GtkCellRenderer</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cell</span><span class="symbol">,</span>
1242
+ <span class="normal"> </span><span class="usertype">GtkTreeModel</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">tree_model</span><span class="symbol">,</span>
1243
+ <span class="normal"> </span><span class="usertype">GtkTreeIter</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">iter</span><span class="symbol">,</span>
1244
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
1245
+ <span class="cbracket">{</span>
1246
+ <span class="normal"> </span><span class="usertype">GtkCellRendererText</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cell_text </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkCellRendererText.html">GtkCellRendererText</a> </span><span class="symbol">*)</span><span class="normal">cell</span><span class="symbol">;</span>
1247
+ <span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> d</span><span class="symbol">;</span>
1248
+ <span class="normal"> </span><span class="usertype">gchar</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">text</span><span class="symbol">;</span>
1249
+
1250
+ <span class="normal"> </span><span class="comment">/* Get the double value from the model. */</span>
1251
+ <span class="normal"> </span><span class="function"><a href="GtkTreeModel.html#gtk-tree-model-get">gtk_tree_model_get</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">tree_model</span><span class="symbol">,</span><span class="normal"> iter</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">gint</span><span class="symbol">)</span><span class="normal">data</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">&amp;</span><span class="normal">d</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">-</span><span class="number">1</span><span class="symbol">);</span>
1252
+ <span class="normal"> </span><span class="comment">/* Now we can format the value ourselves. */</span>
1253
+ <span class="normal"> text </span><span class="symbol">=</span><span class="normal"> </span><span class="function">g_strdup_printf</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"%.2f"</span><span class="symbol">,</span><span class="normal"> d</span><span class="symbol">);</span>
1254
+ <span class="normal"> </span><span class="function">g_object_set</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cell</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"text"</span><span class="symbol">,</span><span class="normal"> text</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
1255
+ <span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">text</span><span class="symbol">);</span>
1256
+ <span class="cbracket">}</span>
1257
+
1258
+ <span class="type">void</span>
1259
+ <span class="function">set_up_new_columns</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkTreeView</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">myview</span><span class="symbol">)</span>
1260
+ <span class="cbracket">{</span>
1261
+ <span class="normal"> </span><span class="usertype">GtkCellRendererText</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">renderer</span><span class="symbol">;</span>
1262
+ <span class="normal"> </span><span class="usertype">GtkTreeViewColumn</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">column</span><span class="symbol">;</span>
1263
+ <span class="normal"> </span><span class="usertype">GtkListStore</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">mycolumns</span><span class="symbol">;</span>
1264
+
1265
+ <span class="normal"> </span><span class="comment">/* Create the data model and associate it with the given TreeView */</span>
1266
+ <span class="normal"> mycolumns </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkListStore.html#gtk-list-store-new">gtk_list_store_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">N_COLUMNS</span><span class="symbol">,</span><span class="normal"> G_TYPE_DOUBLE</span><span class="symbol">);</span>
1267
+ <span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-set-model">gtk_tree_view_set_model</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">,</span><span class="normal"> </span><span class="function">GTK_TREE_MODEL</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mycolumns</span><span class="symbol">));</span>
1268
+
1269
+ <span class="normal"> </span><span class="comment">/* Create a GtkCellRendererText */</span>
1270
+ <span class="normal"> renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
1271
+
1272
+ <span class="normal"> </span><span class="comment">/* Create a new column that has a title ("Example column"),</span>
1273
+ <span class="comment"> * uses the above created renderer that will render the double</span>
1274
+ <span class="comment"> * value into text from the associated model's rows.</span>
1275
+ <span class="comment"> */</span>
1276
+ <span class="normal"> column </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-new">gtk_tree_view_column_new</a></span><span class="normal"> </span><span class="symbol">();</span>
1277
+ <span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-title">gtk_tree_view_column_set_title</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Example column"</span><span class="symbol">);</span>
1278
+ <span class="normal"> renderer </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCellRendererText.html#gtk-cell-renderer-text-new">gtk_cell_renderer_text_new</a></span><span class="normal"> </span><span class="symbol">();</span>
1279
+ <span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-pack-start">gtk_tree_view_column_pack_start</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">);</span>
1280
+
1281
+ <span class="normal"> </span><span class="comment">/* Append the new column after the GtkTreeView's previous columns. */</span>
1282
+ <span class="normal"> </span><span class="function"><a href="GtkTreeView.html#gtk-tree-view-append-column">gtk_tree_view_append_column</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TREE_VIEW</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">myview</span><span class="symbol">),</span><span class="normal"> column</span><span class="symbol">);</span>
1283
+ <span class="normal"> </span><span class="comment">/* Since we created the column by hand, we can set it up for our</span>
1284
+ <span class="comment"> * needs, e.g. set its minimum and maximum width, etc.</span>
1285
+ <span class="comment"> */</span>
1286
+ <span class="normal"> </span><span class="comment">/* Set up a custom function that will be called when the column content</span>
1287
+ <span class="comment"> * is rendered. We use the func_data pointer as an index into our</span>
1288
+ <span class="comment"> * model. This is convenient when using multi column lists.</span>
1289
+ <span class="comment"> */</span>
1290
+ <span class="normal"> </span><span class="function"><a href="GtkTreeViewColumn.html#gtk-tree-view-column-set-cell-data-func">gtk_tree_view_column_set_cell_data_func</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">column</span><span class="symbol">,</span><span class="normal"> renderer</span><span class="symbol">,</span>
1291
+ <span class="normal"> my_cell_double_to_text</span><span class="symbol">,</span>
1292
+ <span class="normal"> </span><span class="symbol">(</span><span class="normal">gpointer</span><span class="symbol">)</span><span class="normal">DOUBLE_COLUMN</span><span class="symbol">,</span><span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
1293
+ <span class="cbracket">}</span></pre></td>
1294
+ </tr>
1295
+ </tbody>
1296
+ </table>
1297
+ </div>
1298
+
1299
+ <p>
1300
+ </p>
1301
+ </td>
1302
+ </tr>
1303
+ <tr class="question">
1304
+ <td align="left" valign="top">
1305
+ <a name="idm140520415572464"></a><a name="idm140520415572176"></a><p><b>5.5.</b></p>
1306
+ </td>
1307
+ <td align="left" valign="top"><p>
1308
+ How do I hide the expander arrows in my tree view ?
1309
+ </p></td>
1310
+ </tr>
1311
+ <tr class="answer">
1312
+ <td align="left" valign="top"></td>
1313
+ <td align="left" valign="top"><p>
1314
+ Set the expander-column property of the tree view to a hidden column.
1315
+ See <a class="link" href="GtkTreeView.html#gtk-tree-view-set-expander-column" title="gtk_tree_view_set_expander_column ()"><code class="function">gtk_tree_view_set_expander_column()</code></a> and <a class="link" href="GtkTreeViewColumn.html#gtk-tree-view-column-set-visible" title="gtk_tree_view_column_set_visible ()"><code class="function">gtk_tree_view_column_set_visible()</code></a>.
1316
+ </p></td>
1317
+ </tr>
1318
+ <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title">
1319
+ <a name="idm140520415568368"></a>6. Using cairo with GTK+</h5></td></tr>
1320
+ <tr class="question">
1321
+ <td align="left" valign="top">
1322
+ <a name="idm140520415567792"></a><a name="idm140520415567504"></a><p><b>6.1.</b></p>
1323
+ </td>
1324
+ <td align="left" valign="top"><p>
1325
+ How do I use cairo to draw in GTK+ applications ?
1326
+ </p></td>
1327
+ </tr>
1328
+ <tr class="answer">
1329
+ <td align="left" valign="top"></td>
1330
+ <td align="left" valign="top">
1331
+ <p>
1332
+ The <a class="link" href="GtkWidget.html#GtkWidget-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal gets a ready-to-use cairo context
1333
+ as parameter that you should use.
1334
+ </p>
1335
+ <p>
1336
+ All drawing in GTK+ is normally done in a draw handler, and GTK+
1337
+ creates a temporary pixmap for double-buffering the drawing.
1338
+ It is possible to turn off double-buffering, with
1339
+ <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>, but this is not ideal,
1340
+ since it can cause some flickering.
1341
+ </p>
1342
+ </td>
1343
+ </tr>
1344
+ <tr class="question">
1345
+ <td align="left" valign="top">
1346
+ <a name="idm140520415563424"></a><a name="idm140520415563136"></a><p><b>6.2.</b></p>
1347
+ </td>
1348
+ <td align="left" valign="top"><p>
1349
+ Can I improve the performance of my application by using the
1350
+ Glitz or GL backend of cairo ?
1351
+ </p></td>
1352
+ </tr>
1353
+ <tr class="answer">
1354
+ <td align="left" valign="top"></td>
1355
+ <td align="left" valign="top"><p>
1356
+ No. The GDK X11 backend uses the cairo X backend (and the other
1357
+ GDK backends use their respective native cairo backends). The
1358
+ GTK+ developers believe that the best way to improving the GDK
1359
+ drawing performance is to optimize the cairo X backend and the
1360
+ relevant code paths in the X server that is uses (mostly the
1361
+ Render extension).
1362
+ </p></td>
1363
+ </tr>
1364
+ <tr class="question">
1365
+ <td align="left" valign="top">
1366
+ <a name="idm140520415561424"></a><a name="idm140520415561136"></a><p><b>6.3.</b></p>
1367
+ </td>
1368
+ <td align="left" valign="top"><p>
1369
+ 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> ?
1370
+ </p></td>
1371
+ </tr>
1372
+ <tr class="answer">
1373
+ <td align="left" valign="top"></td>
1374
+ <td align="left" valign="top"><p>
1375
+ No, at least not yet. The cairo image surface does not support the
1376
+ pixel format used by GdkPixbuf.
1377
+ </p></td>
1378
+ </tr>
1379
+ </tbody>
1380
+ </table>
1381
+ </div>
1382
+ </div>
1383
+ <div class="footnotes">
1384
+ <br><hr style="width:100; text-align:left;margin-left: 0">
1385
+ <div id="ftn.idm140520415708592" class="footnote"><p><a href="#idm140520415708592" class="para"><sup class="para">[1] </sup></a> If the file load fails,
1386
+ <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
1387
+ 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
1388
+ <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>
1389
+ </div>
1390
+ </div>
1391
+ <div class="footer">
1392
+ <hr>
1393
+ Generated by GTK-Doc V1.18.1</div>
1394
+ </body>
1395
+ </html>