gdk3 1.2.0-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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,161 @@
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>Compiling GTK+ Applications</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-building.html" title="Compiling the GTK+ libraries">
10
+ <link rel="next" href="gtk-running.html" title="Running GTK+ Applications">
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-building.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-running.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-compiling"></a><div class="titlepage"></div>
24
+ <div class="refnamediv"><table width="100%"><tr>
25
+ <td valign="top">
26
+ <h2><span class="refentrytitle">Compiling GTK+ Applications</span></h2>
27
+ <p>Compiling GTK+ Applications —
28
+ How to compile your GTK+ application
29
+ </p>
30
+ </td>
31
+ <td valign="top" align="right"></td>
32
+ </tr></table></div>
33
+ <div class="refsect1">
34
+ <a name="idm140520418150096"></a><h2>Compiling GTK+ Applications on UNIX</h2>
35
+ <p>
36
+ To compile a GTK+ application, you need to tell the compiler where to
37
+ find the GTK+ header files and libraries. This is done with the
38
+ <code class="literal">pkg-config</code> utility.
39
+ </p>
40
+ <p>
41
+ The following interactive shell session demonstrates how
42
+ <code class="literal">pkg-config</code> is used (the actual output on
43
+ your system may be different):
44
+ </p>
45
+ <pre class="programlisting">
46
+ $ pkg-config --cflags gtk+-3.0
47
+ -pthread -I/usr/include/gtk-3.0 -I/usr/lib64/gtk-3.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
48
+ $ pkg-config --libs gtk+-3.0
49
+ -pthread -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
50
+ </pre>
51
+ <p>
52
+ </p>
53
+ <p>
54
+ The simplest way to compile a program is to use the "backticks"
55
+ feature of the shell. If you enclose a command in backticks
56
+ (<span class="emphasis"><em>not single quotes</em></span>), then its output will be
57
+ substituted into the command line before execution. So to compile
58
+ a GTK+ Hello, World, you would type the following:
59
+ </p>
60
+ <pre class="programlisting">
61
+ $ cc `pkg-config --cflags --libs gtk+-3.0` hello.c -o hello
62
+ </pre>
63
+ <p>
64
+ </p>
65
+ <p>
66
+ Deprecated GTK+ functions are annotated to make the compiler
67
+ emit warnings when they are used (e.g. with gcc, you need to use
68
+ the -Wdeprecated-declarations option). If these warnings are
69
+ problematic, they can be turned off by defining the preprocessor
70
+ symbol <code class="literal">GDK_DISABLE_DEPRECATION_WARNINGS</code> by using the commandline
71
+ option <code class="literal">-DGDK_DISABLE_DEPRECATION_WARNINGS</code>
72
+ </p>
73
+ <p>
74
+ GTK+ deprecation annotations are versioned; by defining the
75
+ macros <a href="../gdk3/gdk3-General.html#GDK-VERSION-MIN-REQUIRED:CAPS"><code class="literal">GDK_VERSION_MIN_REQUIRED</code></a> and <a href="../gdk3/gdk3-General.html#GDK-VERSION-MAX-ALLOWED:CAPS"><code class="literal">GDK_VERSION_MAX_ALLOWED</code></a>,
76
+ you can specify the range of GTK+ versions whose API you want
77
+ to use. APIs that were deprecated before or introduced after
78
+ this range will trigger compiler warnings.
79
+ </p>
80
+ <p>
81
+ Here is how you would compile hello.c if you want to allow it
82
+ to use symbols that were not deprecated in 3.2:
83
+ </p>
84
+ <pre class="programlisting">
85
+ $ cc -DGDK_VERSION_MIN_REQIRED=GDK_VERSION_3_2 `pkg-config --cflags --libs gtk+-3.0` hello.c -o hello
86
+ </pre>
87
+ <p>
88
+ </p>
89
+ <p>
90
+ And here is how you would compile hello.c if you don't want
91
+ it to use any symbols that were introduced after 3.4:
92
+ </p>
93
+ <pre class="programlisting">
94
+ $ cc -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_4 `pkg-config --cflags --libs gtk+-3.0` hello.c -o hello
95
+ </pre>
96
+ <p>
97
+ </p>
98
+ <p>
99
+ The older deprecation mechanism of hiding deprecated interfaces
100
+ entirely from the compiler by using the preprocessor symbol
101
+ GTK_DISABLE_DEPRECATED is still used for deprecated macros,
102
+ enumeration values, etc. To detect uses of these in your code,
103
+ use the commandline option <code class="literal">-DGTK_DISABLE_DEPRECATED</code>.
104
+ There are similar symbols GDK_DISABLE_DEPRECATED,
105
+ GDK_PIXBUF_DISABLE_DEPRECATED and G_DISABLE_DEPRECATED for GDK, GdkPixbuf and
106
+ GLib.
107
+ </p>
108
+ <p>
109
+ If you want to make sure that your program doesn't use any functions which
110
+ may be problematic in a multihead setting, you can define the preprocessor
111
+ symbol GDK_MULTIHEAD_SAFE by using the command line option
112
+ <code class="literal">-DGTK_MULTIHEAD_SAFE=1</code>.
113
+ </p>
114
+ <p>
115
+ Similarly, if you want to make sure that your program doesn't use any
116
+ functions which may be problematic in a multidevice setting, you can
117
+ define the preprocessor symbol GDK_MULTIDEVICE_SAFE by using the command
118
+ line option <code class="literal">-DGTK_MULTIDEVICE_SAFE=1</code>.
119
+ </p>
120
+ <div class="refsect2">
121
+ <a name="idm140520418466144"></a><h3>Useful autotools macros</h3>
122
+ <p>
123
+ GTK+ provides various macros for easily checking version and backends
124
+ supported. The macros are
125
+ </p>
126
+ <div class="variablelist"><table border="0" class="variablelist">
127
+ <colgroup>
128
+ <col align="left" valign="top">
129
+ <col>
130
+ </colgroup>
131
+ <tbody>
132
+ <tr>
133
+ <td><p><span class="term">AM_PATH_GTK_3_0([minimum-version], [if-found], [if-not-found], [modules])</span></p></td>
134
+ <td>This macro should be used to check that GTK+ is installed
135
+ and available for compilation. The four arguments are optional, and
136
+ they are: <span class="emphasis"><em>minimum-version</em></span>, the minimum version
137
+ of GTK+ required for compilation; <span class="emphasis"><em>if-found</em></span>, the
138
+ action to perform if a valid version of GTK+ has been found;
139
+ <span class="emphasis"><em>if-not-found</em></span>, the action to perform if a valid
140
+ version of GTK+ has not been found; <span class="emphasis"><em>modules</em></span>, a
141
+ list of modules to be checked along with GTK+.</td>
142
+ </tr>
143
+ <tr>
144
+ <td><p><span class="term">GTK_CHECK_BACKEND([backend-name], [minimum-version], [if-found], [if-not-found])</span></p></td>
145
+ <td>This macro should be used to check if a specific backend
146
+ is supported by GTK+. The <span class="emphasis"><em>minimum-version</em></span>,
147
+ <span class="emphasis"><em>if-found</em></span> and <span class="emphasis"><em>if-not-found</em></span>
148
+ arguments are optional.</td>
149
+ </tr>
150
+ </tbody>
151
+ </table></div>
152
+ <p>
153
+ </p>
154
+ </div>
155
+ </div>
156
+ </div>
157
+ <div class="footer">
158
+ <hr>
159
+ Generated by GTK-Doc V1.18.1</div>
160
+ </body>
161
+ </html>
@@ -0,0 +1,1095 @@
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>Getting Started with GTK+</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.html" title="Part I. GTK+ Overview">
10
+ <link rel="next" href="gtk-building.html" title="Compiling the GTK+ libraries">
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.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-building.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-getting-started"></a>Getting Started with GTK+</h2></div></div></div>
25
+ <p>This chapter is contains some tutorial information to get you
26
+ started with GTK+ programming. It assumes that you have GTK+, its
27
+ dependencies and a C compiler installed and ready to use. If you
28
+ need to build GTK+ itself first, refer to the
29
+ <a class="link" href="gtk-compiling.html" title="Compiling GTK+ Applications">Compiling the GTK+ libraries</a>
30
+ section in this reference.</p>
31
+ <div class="simplesect">
32
+ <div class="titlepage"><div><div><h2 class="title" style="clear: both">
33
+ <a name="idm140520419914928"></a>Basics</h2></div></div></div>
34
+ <p>To begin our introduction to GTK, we'll start with the simplest
35
+ program possible. This program will create an empty 200x200 pixel
36
+ window:</p>
37
+ <p>
38
+ <img src="window-default.png">
39
+ </p>
40
+ <div class="informalexample">
41
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
42
+ <tbody>
43
+ <tr>
44
+ <td class="listing_lines" align="right"><pre>1
45
+ 2
46
+ 3
47
+ 4
48
+ 5
49
+ 6
50
+ 7
51
+ 8
52
+ 9
53
+ 10
54
+ 11
55
+ 12
56
+ 13
57
+ 14
58
+ 15
59
+ 16
60
+ 17
61
+ 18
62
+ 19
63
+ 20</pre></td>
64
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;gtk/gtk.h&gt;</span>
65
+
66
+ <span class="type">int</span>
67
+ <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>
68
+ <span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">argv</span><span class="symbol">[])</span>
69
+ <span class="cbracket">{</span>
70
+ <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>
71
+
72
+ <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>
73
+
74
+ <span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
75
+
76
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</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"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</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>
77
+
78
+ <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>
79
+
80
+ <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>
81
+
82
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
83
+ <span class="cbracket">}</span></pre></td>
84
+ </tr>
85
+ </tbody>
86
+ </table>
87
+ </div>
88
+
89
+ <p>You can compile the program above with GCC using:</p>
90
+ <div class="literallayout"><p><br>
91
+       <code class="literal">gcc `pkg-config --cflags gtk+-3.0` -o window-default window-default.c `pkg-config --libs gtk+-3.0`</code><br>
92
+     </p></div>
93
+ <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
94
+ <h3 class="title">Note</h3>
95
+ <p>For more information on how to compile a GTK+ application, please
96
+ refer to the <a class="link" href="gtk-compiling.html" title="Compiling GTK+ Applications">Compiling GTK+ Applications</a>
97
+ section in this reference.</p>
98
+ </div>
99
+ <p>All GTK+ applications will, of course, include
100
+ <code class="filename">gtk/gtk.h</code>, which declares functions, types and
101
+ macros required by GTK+ applications.</p>
102
+ <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
103
+ <h3 class="title">Warning</h3>
104
+ <p>Even if GTK+ installs multiple header files, only the
105
+ top-level <code class="filename">gtk/gtk.h</code> header can be directly included
106
+ by third party code. The compiler will abort with an error if any other
107
+ header is directly included.</p>
108
+ </div>
109
+ <p>We then proceed into the <code class="function">main</code>() function of the
110
+ application, and we declare a <code class="varname">window</code> variable as a pointer
111
+ of type <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>.</p>
112
+ <p>The following line will call <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a>, which
113
+ is the initialization function for GTK+; this function will set up GTK+,
114
+ the type system, the connection to the windowing environment, etc. The
115
+ <a class="link" href="gtk3-General.html#gtk-init" title="gtk_init ()"><code class="function">gtk_init()</code></a> takes as arguments the pointers to the command line arguments
116
+ counter and string array; this allows GTK+ to parse specific command line
117
+ arguments that control the behavior of GTK+ itself. The parsed arguments
118
+ will be removed from the array, leaving the unrecognized ones for your
119
+ application to parse.</p>
120
+ <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
121
+ <h3 class="title">Note</h3>
122
+ <p>For more information on which command line arguments GTK+
123
+ recognizes, please refer to the <a class="link" href="gtk-running.html" title="Running GTK+ Applications">Running GTK+
124
+ Applications</a> section in this reference.</p>
125
+ </div>
126
+ <p>The call to <a class="link" href="GtkWindow.html#gtk-window-new" title="gtk_window_new ()"><code class="function">gtk_window_new()</code></a> will create a new <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> and store
127
+ it inside the <code class="varname">window</code> variable. The type of the window
128
+ is <a class="link" href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS"><code class="literal">GTK_WINDOW_TOPLEVEL</code></a>, which means that the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> will be managed
129
+ by the windowing system: it will have a frame, a title bar and window
130
+ controls, depending on the platform.</p>
131
+ <p>In order to terminate the application when the <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a> is
132
+ destroyed, we connect the <a class="link" href="GtkWidget.html#GtkWidget-destroy" title='The "destroy" signal'><span class="type">"destroy"</span></a> signal to the <a class="link" href="gtk3-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a>
133
+ function. This function will terminate the GTK+ main loop started by calling
134
+ <a class="link" href="gtk3-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a> later. The <a class="link" href="GtkWidget.html#GtkWidget-destroy" title='The "destroy" signal'><span class="type">"destroy"</span></a> signal is emitted when a widget is
135
+ destroyed, either by explicitly calling <a class="link" href="GtkWidget.html#gtk-widget-destroy" title="gtk_widget_destroy ()"><code class="function">gtk_widget_destroy()</code></a> or when the
136
+ widget is unparented. Top-level <a class="link" href="GtkWindow.html" title="GtkWindow"><span class="type">GtkWindow</span></a>s are also destroyed when
137
+ the Close window control button is clicked.</p>
138
+ <p><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>s are hidden by default. By calling <a class="link" href="GtkWidget.html#gtk-widget-show" title="gtk_widget_show ()"><code class="function">gtk_widget_show()</code></a>
139
+ on a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> we are asking GTK+ to set the visibility attribute so that it
140
+ can be displayed. All this work is done after the main loop has been
141
+ started.</p>
142
+ <p>The last line of interest is the call to <a class="link" href="gtk3-General.html#gtk-main" title="gtk_main ()"><code class="function">gtk_main()</code></a>. This function will
143
+ start the GTK+ main loop and will block the control flow of the
144
+ <code class="function">main()</code> until the <a class="link" href="gtk3-General.html#gtk-main-quit" title="gtk_main_quit ()"><code class="function">gtk_main_quit()</code></a> function is called.</p>
145
+ <p>While the program is running, GTK+ is receiving
146
+ <em class="firstterm">events</em>. These are typically input events caused by
147
+ the user interacting with your program, but also things like messages from
148
+ the window manager or other applications. GTK+ processes these and as a
149
+ result, <em class="firstterm">signals</em> may be emitted on your widgets.
150
+ Connecting handlers for these signals is how you normally make your
151
+ program do something in response to user input.</p>
152
+ <p>The following example is slightly more complex, and tries to
153
+ showcase some of the capabilities of GTK+.</p>
154
+ <p>In the long tradition of programming languages and libraries,
155
+ it is called <span class="emphasis"><em>Hello, World</em></span>.</p>
156
+ <p>
157
+ <img src="hello-world.png">
158
+ </p>
159
+ <div class="example">
160
+ <a name="gtk-getting-started-hello-world"></a><p class="title"><b>Example 1. Hello World in GTK+</b></p>
161
+ <div class="example-contents">
162
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
163
+ <tbody>
164
+ <tr>
165
+ <td class="listing_lines" align="right"><pre>1
166
+ 2
167
+ 3
168
+ 4
169
+ 5
170
+ 6
171
+ 7
172
+ 8
173
+ 9
174
+ 10
175
+ 11
176
+ 12
177
+ 13
178
+ 14
179
+ 15
180
+ 16
181
+ 17
182
+ 18
183
+ 19
184
+ 20
185
+ 21
186
+ 22
187
+ 23
188
+ 24
189
+ 25
190
+ 26
191
+ 27
192
+ 28
193
+ 29
194
+ 30
195
+ 31
196
+ 32
197
+ 33
198
+ 34
199
+ 35
200
+ 36
201
+ 37
202
+ 38
203
+ 39
204
+ 40
205
+ 41
206
+ 42
207
+ 43
208
+ 44
209
+ 45
210
+ 46
211
+ 47
212
+ 48
213
+ 49
214
+ 50
215
+ 51
216
+ 52
217
+ 53
218
+ 54
219
+ 55
220
+ 56
221
+ 57
222
+ 58
223
+ 59
224
+ 60
225
+ 61
226
+ 62
227
+ 63
228
+ 64
229
+ 65
230
+ 66
231
+ 67
232
+ 68
233
+ 69
234
+ 70
235
+ 71
236
+ 72
237
+ 73
238
+ 74
239
+ 75
240
+ 76
241
+ 77
242
+ 78
243
+ 79
244
+ 80
245
+ 81
246
+ 82
247
+ 83
248
+ 84
249
+ 85
250
+ 86
251
+ 87
252
+ 88
253
+ 89
254
+ 90
255
+ 91
256
+ 92
257
+ 93
258
+ 94
259
+ 95
260
+ 96
261
+ 97
262
+ 98
263
+ 99
264
+ 100
265
+ 101
266
+ 102
267
+ 103
268
+ 104</pre></td>
269
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;gtk/gtk.h&gt;</span>
270
+
271
+ <span class="comment">/* This is a callback function. The data arguments are ignored</span>
272
+ <span class="comment"> * in this example. More on callbacks below.</span>
273
+ <span class="comment"> */</span>
274
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
275
+ <span class="function">print_hello</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
276
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
277
+ <span class="cbracket">{</span>
278
+ <span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Hello World</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
279
+ <span class="cbracket">}</span>
280
+
281
+ <span class="keyword">static</span><span class="normal"> gboolean</span>
282
+ <span class="function">on_delete_event</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
283
+ <span class="normal"> </span><span class="usertype">GdkEvent</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
284
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
285
+ <span class="cbracket">{</span>
286
+ <span class="normal"> </span><span class="comment">/* If you return FALSE in the "delete_event" signal handler,</span>
287
+ <span class="comment"> * GTK will emit the "destroy" signal. Returning TRUE means</span>
288
+ <span class="comment"> * you don't want the window to be destroyed.</span>
289
+ <span class="comment"> *</span>
290
+ <span class="comment"> * This is useful for popping up 'are you sure you want to quit?'</span>
291
+ <span class="comment"> * type dialogs.</span>
292
+ <span class="comment"> */</span>
293
+
294
+ <span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"delete event occurred</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
295
+
296
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
297
+ <span class="cbracket">}</span>
298
+
299
+ <span class="type">int</span>
300
+ <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>
301
+ <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>
302
+ <span class="cbracket">{</span>
303
+ <span class="normal"> </span><span class="comment">/* GtkWidget is the storage type for widgets */</span>
304
+ <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>
305
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button</span><span class="symbol">;</span>
306
+
307
+ <span class="normal"> </span><span class="comment">/* This is called in all GTK applications. Arguments are parsed</span>
308
+ <span class="comment"> * from the command line and are returned to the application.</span>
309
+ <span class="comment"> */</span>
310
+ <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>
311
+
312
+ <span class="normal"> </span><span class="comment">/* create a new window, and set its title */</span>
313
+ <span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
314
+ <span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-title">gtk_window_set_title</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"> </span><span class="string">"Hello"</span><span class="symbol">);</span>
315
+
316
+ <span class="normal"> </span><span class="comment">/* When the window emits the "delete-event" signal (which is emitted</span>
317
+ <span class="comment"> * by GTK+ in response to an event coming from the window manager,</span>
318
+ <span class="comment"> * usually as a result of clicking the "close" window control), we</span>
319
+ <span class="comment"> * ask it to call the on_delete_event() function as defined above.</span>
320
+ <span class="comment"> *</span>
321
+ <span class="comment"> * The data passed to the callback function is NULL and is ignored</span>
322
+ <span class="comment"> * in the callback function.</span>
323
+ <span class="comment"> */</span>
324
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"delete-event"</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">on_delete_event</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>
325
+
326
+ <span class="normal"> </span><span class="comment">/* Here we connect the "destroy" event to the gtk_main_quit() function.</span>
327
+ <span class="comment"> *</span>
328
+ <span class="comment"> * This signal is emitted when we call gtk_widget_destroy() on the window,</span>
329
+ <span class="comment"> * or if we return FALSE in the "delete_event" callback.</span>
330
+ <span class="comment"> */</span>
331
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</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"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</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>
332
+
333
+ <span class="normal"> </span><span class="comment">/* Sets the border width of the window. */</span>
334
+ <span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-set-border-width">gtk_container_set_border_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
335
+
336
+ <span class="normal"> </span><span class="comment">/* Creates a new button with the label "Hello World". */</span>
337
+ <span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Hello World"</span><span class="symbol">);</span>
338
+
339
+ <span class="normal"> </span><span class="comment">/* When the button receives the "clicked" signal, it will call the</span>
340
+ <span class="comment"> * function print_hello() passing it NULL as its argument.</span>
341
+ <span class="comment"> *</span>
342
+ <span class="comment"> * The print_hello() function is defined above.</span>
343
+ <span class="comment"> */</span>
344
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</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">print_hello</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>
345
+
346
+ <span class="normal"> </span><span class="comment">/* The g_signal_connect_swapped() function will connect the "clicked" signal</span>
347
+ <span class="comment"> * of the button to the gtk_widget_destroy() function; instead of calling it</span>
348
+ <span class="comment"> * using the button as its argument, it will swap it with the user data</span>
349
+ <span class="comment"> * argument. This will cause the window to be destroyed by calling</span>
350
+ <span class="comment"> * gtk_widget_destroy() on the window.</span>
351
+ <span class="comment"> */</span>
352
+ <span class="normal"> </span><span class="function">g_signal_connect_swapped</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</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"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="symbol">),</span><span class="normal"> window</span><span class="symbol">);</span>
353
+
354
+ <span class="normal"> </span><span class="comment">/* This packs the button into the window. A GtkWindow inherits from GtkBin,</span>
355
+ <span class="comment"> * which is a special container that can only have one child</span>
356
+ <span class="comment"> */</span>
357
+ <span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">);</span>
358
+
359
+ <span class="normal"> </span><span class="comment">/* The final step is to display this newly created widget... */</span>
360
+ <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">button</span><span class="symbol">);</span>
361
+
362
+ <span class="normal"> </span><span class="comment">/* ... and the window */</span>
363
+ <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>
364
+
365
+ <span class="normal"> </span><span class="comment">/* All GTK applications must have a gtk_main(). Control ends here</span>
366
+ <span class="comment"> * and waits for an event to occur (like a key press or a mouse event),</span>
367
+ <span class="comment"> * until gtk_main_quit() is called.</span>
368
+ <span class="comment"> */</span>
369
+ <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>
370
+
371
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
372
+ <span class="cbracket">}</span></pre></td>
373
+ </tr>
374
+ </tbody>
375
+ </table>
376
+ </div>
377
+
378
+ </div>
379
+ <br class="example-break">
380
+ </div>
381
+ <div class="simplesect">
382
+ <div class="titlepage"><div><div><h2 class="title" style="clear: both">
383
+ <a name="idm140520420449072"></a>Packing</h2></div></div></div>
384
+ <p>When creating an application, you'll want to put more than one widget
385
+ inside a window. Our first helloworld example only used one widget so we
386
+ could simply use a <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_container_add ()"><code class="function">gtk_container_add()</code></a> call to "pack" the widget into the
387
+ window. But when you want to put more than one widget into a window, it
388
+ it becomes important to control how each widget is positioned and sized.
389
+ This is where packing comes in.</p>
390
+ <p>GTK+ comes with a large variety of <em class="firstterm">layout containers</em>
391
+ whose purpose it is to control the layout of the child widgets that are
392
+ added to them. See <a class="xref" href="LayoutContainers.html" title="Layout Containers"><i>Layout Containers</i></a> for an overview.</p>
393
+ <p>The following example shows how the GtkGrid container lets you
394
+ arrange several buttons:</p>
395
+ <p>
396
+ <img src="grid-packing.png">
397
+ </p>
398
+ <div class="example">
399
+ <a name="gtk-getting-started-grid-packing"></a><p class="title"><b>Example 2. Packing buttons</b></p>
400
+ <div class="example-contents">
401
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
402
+ <tbody>
403
+ <tr>
404
+ <td class="listing_lines" align="right"><pre>1
405
+ 2
406
+ 3
407
+ 4
408
+ 5
409
+ 6
410
+ 7
411
+ 8
412
+ 9
413
+ 10
414
+ 11
415
+ 12
416
+ 13
417
+ 14
418
+ 15
419
+ 16
420
+ 17
421
+ 18
422
+ 19
423
+ 20
424
+ 21
425
+ 22
426
+ 23
427
+ 24
428
+ 25
429
+ 26
430
+ 27
431
+ 28
432
+ 29
433
+ 30
434
+ 31
435
+ 32
436
+ 33
437
+ 34
438
+ 35
439
+ 36
440
+ 37
441
+ 38
442
+ 39
443
+ 40
444
+ 41
445
+ 42
446
+ 43
447
+ 44
448
+ 45
449
+ 46
450
+ 47
451
+ 48
452
+ 49
453
+ 50
454
+ 51
455
+ 52
456
+ 53
457
+ 54
458
+ 55
459
+ 56
460
+ 57
461
+ 58
462
+ 59
463
+ 60
464
+ 61
465
+ 62
466
+ 63
467
+ 64
468
+ 65
469
+ 66
470
+ 67
471
+ 68
472
+ 69
473
+ 70
474
+ 71
475
+ 72
476
+ 73</pre></td>
477
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;gtk/gtk.h&gt;</span>
478
+
479
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
480
+ <span class="function">print_hello</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
481
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
482
+ <span class="cbracket">{</span>
483
+ <span class="normal"> </span><span class="function">g_print</span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Hello World</span><span class="specialchar">\n</span><span class="string">"</span><span class="symbol">);</span>
484
+ <span class="cbracket">}</span>
485
+
486
+ <span class="type">int</span>
487
+ <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>
488
+ <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>
489
+ <span class="cbracket">{</span>
490
+ <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>
491
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">grid</span><span class="symbol">;</span>
492
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button</span><span class="symbol">;</span>
493
+
494
+ <span class="normal"> </span><span class="comment">/* This is called in all GTK applications. Arguments are parsed</span>
495
+ <span class="comment"> * from the command line and are returned to the application.</span>
496
+ <span class="comment"> */</span>
497
+ <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>
498
+
499
+ <span class="normal"> </span><span class="comment">/* create a new window, and set its title */</span>
500
+ <span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
501
+ <span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-title">gtk_window_set_title</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"> </span><span class="string">"Grid"</span><span class="symbol">);</span>
502
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</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"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</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>
503
+ <span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-set-border-width">gtk_container_set_border_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="number">10</span><span class="symbol">);</span>
504
+
505
+ <span class="normal"> </span><span class="comment">/* Here we construct the container that is going pack our buttons */</span>
506
+ <span class="normal"> grid </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-new">gtk_grid_new</a></span><span class="normal"> </span><span class="symbol">();</span>
507
+
508
+ <span class="normal"> </span><span class="comment">/* Pack the container in the window */</span>
509
+ <span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> grid</span><span class="symbol">);</span>
510
+
511
+ <span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Button 1"</span><span class="symbol">);</span>
512
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</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">print_hello</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>
513
+
514
+ <span class="normal"> </span><span class="comment">/* Place the first button in the grid cell (0, 0), and make it fill</span>
515
+ <span class="comment"> * just 1 cell horizontally and vertically (ie no spanning)</span>
516
+ <span class="comment"> */</span>
517
+ <span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
518
+
519
+ <span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Button 2"</span><span class="symbol">);</span>
520
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</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">print_hello</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>
521
+
522
+ <span class="normal"> </span><span class="comment">/* Place the second button in the grid cell (1, 0), and make it fill</span>
523
+ <span class="comment"> * just 1 cell horizontally and vertically (ie no spanning)</span>
524
+ <span class="comment"> */</span>
525
+ <span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
526
+
527
+ <span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkButton.html#gtk-button-new-with-label">gtk_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Quit"</span><span class="symbol">);</span>
528
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"clicked"</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"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</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>
529
+
530
+ <span class="normal"> </span><span class="comment">/* Place the Quit button in the grid cell (0, 1), and make it</span>
531
+ <span class="comment"> * span 2 columns.</span>
532
+ <span class="comment"> */</span>
533
+ <span class="normal"> </span><span class="function"><a href="GtkGrid.html#gtk-grid-attach">gtk_grid_attach</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_GRID</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">grid</span><span class="symbol">),</span><span class="normal"> button</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">2</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
534
+
535
+ <span class="normal"> </span><span class="comment">/* Now that we are done packing our widgets, we show them all</span>
536
+ <span class="comment"> * in one go, by calling gtk_widget_show_all() on the window.</span>
537
+ <span class="comment"> * This call recursively calls gtk_widget_show() on all widgets</span>
538
+ <span class="comment"> * that are contained in the window, directly or indirectly.</span>
539
+ <span class="comment"> */</span>
540
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show-all">gtk_widget_show_all</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
541
+
542
+ <span class="normal"> </span><span class="comment">/* All GTK applications must have a gtk_main(). Control ends here</span>
543
+ <span class="comment"> * and waits for an event to occur (like a key press or a mouse event),</span>
544
+ <span class="comment"> * until gtk_main_quit() is called.</span>
545
+ <span class="comment"> */</span>
546
+ <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>
547
+
548
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
549
+ <span class="cbracket">}</span></pre></td>
550
+ </tr>
551
+ </tbody>
552
+ </table>
553
+ </div>
554
+
555
+ </div>
556
+ <br class="example-break">
557
+ </div>
558
+ <div class="simplesect">
559
+ <div class="titlepage"><div><div><h2 class="title" style="clear: both">
560
+ <a name="idm140520417717488"></a>Drawing</h2></div></div></div>
561
+ <p>Many widgets, like buttons, do all their drawing themselves. You
562
+ just tell them the label you want to see, and they figure out what font
563
+ to use, draw the button outline and focus rectangle, etc. Sometimes, it
564
+ is necessary to do some custom drawing. In that case, a <a class="link" href="GtkDrawingArea.html" title="GtkDrawingArea"><span class="type">GtkDrawingArea</span></a>
565
+ might be the right widget to use. It offers a canvas on which you can
566
+ draw by connecting to the <a class="link" href="GtkWidget.html#GtkWidget-draw" title='The "draw" signal'><span class="type">"draw"</span></a> signal.
567
+ </p>
568
+ <p>The contents of a widget often need to be partially or fully redrawn,
569
+ e.g. when another window is moved and uncovers part of the widget, or
570
+ when tie window containing it is resized. It is also possible to explicitly
571
+ cause part or all of the widget to be redrawn, by calling
572
+ <a class="link" href="GtkWidget.html#gtk-widget-queue-draw" title="gtk_widget_queue_draw ()"><code class="function">gtk_widget_queue_draw()</code></a> or its variants. GTK+ takes care of most of the
573
+ details by providing a ready-to-use cairo context to the ::draw signal
574
+ handler.</p>
575
+ <p>The following example shows a ::draw signal handler. It is a bit
576
+ more complicated than the previous examples, since it also demonstrates
577
+ input event handling by means of ::button-press and ::motion-notify
578
+ handlers.</p>
579
+ <p>
580
+ <img src="drawing.png">
581
+ </p>
582
+ <div class="example">
583
+ <a name="gtk-getting-started-drawing"></a><p class="title"><b>Example 3. Drawing in response to input</b></p>
584
+ <div class="example-contents">
585
+ <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
586
+ <tbody>
587
+ <tr>
588
+ <td class="listing_lines" align="right"><pre>1
589
+ 2
590
+ 3
591
+ 4
592
+ 5
593
+ 6
594
+ 7
595
+ 8
596
+ 9
597
+ 10
598
+ 11
599
+ 12
600
+ 13
601
+ 14
602
+ 15
603
+ 16
604
+ 17
605
+ 18
606
+ 19
607
+ 20
608
+ 21
609
+ 22
610
+ 23
611
+ 24
612
+ 25
613
+ 26
614
+ 27
615
+ 28
616
+ 29
617
+ 30
618
+ 31
619
+ 32
620
+ 33
621
+ 34
622
+ 35
623
+ 36
624
+ 37
625
+ 38
626
+ 39
627
+ 40
628
+ 41
629
+ 42
630
+ 43
631
+ 44
632
+ 45
633
+ 46
634
+ 47
635
+ 48
636
+ 49
637
+ 50
638
+ 51
639
+ 52
640
+ 53
641
+ 54
642
+ 55
643
+ 56
644
+ 57
645
+ 58
646
+ 59
647
+ 60
648
+ 61
649
+ 62
650
+ 63
651
+ 64
652
+ 65
653
+ 66
654
+ 67
655
+ 68
656
+ 69
657
+ 70
658
+ 71
659
+ 72
660
+ 73
661
+ 74
662
+ 75
663
+ 76
664
+ 77
665
+ 78
666
+ 79
667
+ 80
668
+ 81
669
+ 82
670
+ 83
671
+ 84
672
+ 85
673
+ 86
674
+ 87
675
+ 88
676
+ 89
677
+ 90
678
+ 91
679
+ 92
680
+ 93
681
+ 94
682
+ 95
683
+ 96
684
+ 97
685
+ 98
686
+ 99
687
+ 100
688
+ 101
689
+ 102
690
+ 103
691
+ 104
692
+ 105
693
+ 106
694
+ 107
695
+ 108
696
+ 109
697
+ 110
698
+ 111
699
+ 112
700
+ 113
701
+ 114
702
+ 115
703
+ 116
704
+ 117
705
+ 118
706
+ 119
707
+ 120
708
+ 121
709
+ 122
710
+ 123
711
+ 124
712
+ 125
713
+ 126
714
+ 127
715
+ 128
716
+ 129
717
+ 130
718
+ 131
719
+ 132
720
+ 133
721
+ 134
722
+ 135
723
+ 136
724
+ 137
725
+ 138
726
+ 139
727
+ 140
728
+ 141
729
+ 142
730
+ 143
731
+ 144
732
+ 145
733
+ 146
734
+ 147
735
+ 148
736
+ 149
737
+ 150
738
+ 151
739
+ 152
740
+ 153
741
+ 154
742
+ 155
743
+ 156
744
+ 157
745
+ 158
746
+ 159
747
+ 160
748
+ 161
749
+ 162
750
+ 163
751
+ 164
752
+ 165
753
+ 166
754
+ 167
755
+ 168
756
+ 169
757
+ 170
758
+ 171
759
+ 172
760
+ 173
761
+ 174
762
+ 175
763
+ 176
764
+ 177
765
+ 178
766
+ 179
767
+ 180
768
+ 181
769
+ 182
770
+ 183
771
+ 184</pre></td>
772
+ <td class="listing_code"><pre class="programlisting"><span class="preproc">#include</span><span class="normal"> </span><span class="string">&lt;gtk/gtk.h&gt;</span>
773
+
774
+ <span class="comment">/* Surface to store current scribbles */</span>
775
+ <span class="keyword">static</span><span class="normal"> </span><span class="usertype">cairo_surface_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">surface </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>
776
+
777
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
778
+ <span class="function">clear_surface</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
779
+ <span class="cbracket">{</span>
780
+ <span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">;</span>
781
+
782
+ <span class="normal"> cr </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-create">cairo_create</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
783
+
784
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-rgb">cairo_set_source_rgb</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">,</span><span class="normal"> </span><span class="number">1</span><span class="symbol">);</span>
785
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-paint">cairo_paint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
786
+
787
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-destroy">cairo_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
788
+ <span class="cbracket">}</span>
789
+
790
+ <span class="comment">/* Create a new surface of the appropriate size to store our scribbles */</span>
791
+ <span class="keyword">static</span><span class="normal"> gboolean</span>
792
+ <span class="function">configure_event_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
793
+ <span class="normal"> </span><span class="usertype">GdkEventConfigure</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
794
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
795
+ <span class="cbracket">{</span>
796
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">)</span>
797
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-destroy">cairo_surface_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
798
+
799
+ <span class="normal"> surface </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="../gdk3/gdk3-Cairo-Interaction.html#gdk-window-create-similar-surface">gdk_window_create_similar_surface</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkWidget.html#gtk-widget-get-window">gtk_widget_get_window</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">),</span>
800
+ <span class="normal"> <a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#CAIRO-CONTENT-COLOR:CAPS">CAIRO_CONTENT_COLOR</a></span><span class="symbol">,</span>
801
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-get-allocated-width">gtk_widget_get_allocated_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">),</span>
802
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-get-allocated-height">gtk_widget_get_allocated_height</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">));</span>
803
+
804
+ <span class="normal"> </span><span class="comment">/* Initialize the surface to white */</span>
805
+ <span class="normal"> </span><span class="function">clear_surface</span><span class="normal"> </span><span class="symbol">();</span>
806
+
807
+ <span class="normal"> </span><span class="comment">/* We've handled the configure event, no need for further processing. */</span>
808
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
809
+ <span class="cbracket">}</span>
810
+
811
+ <span class="comment">/* Redraw the screen from the surface. Note that the ::draw</span>
812
+ <span class="comment"> * signal receives a ready-to-be-used cairo_t that is already</span>
813
+ <span class="comment"> * clipped to only draw the exposed areas of the widget</span>
814
+ <span class="comment"> */</span>
815
+ <span class="keyword">static</span><span class="normal"> gboolean</span>
816
+ <span class="function">draw_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
817
+ <span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">,</span>
818
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
819
+ <span class="cbracket">{</span>
820
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-set-source-surface">cairo_set_source_surface</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> surface</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">0</span><span class="symbol">);</span>
821
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-paint">cairo_paint</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
822
+
823
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
824
+ <span class="cbracket">}</span>
825
+
826
+ <span class="comment">/* Draw a rectangle on the surface at the given position */</span>
827
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
828
+ <span class="function">draw_brush</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
829
+ <span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> x</span><span class="symbol">,</span>
830
+ <span class="normal"> </span><span class="usertype">gdouble</span><span class="normal"> y</span><span class="symbol">)</span>
831
+ <span class="cbracket">{</span>
832
+ <span class="normal"> </span><span class="usertype">cairo_t</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">cr</span><span class="symbol">;</span>
833
+
834
+ <span class="normal"> </span><span class="comment">/* Paint to the surface, where we store our state */</span>
835
+ <span class="normal"> cr </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-create">cairo_create</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
836
+
837
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-Paths.html#cairo-rectangle">cairo_rectangle</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">,</span><span class="normal"> x </span><span class="symbol">-</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> y </span><span class="symbol">-</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">);</span>
838
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-fill">cairo_fill</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
839
+
840
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-t.html#cairo-destroy">cairo_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">cr</span><span class="symbol">);</span>
841
+
842
+ <span class="normal"> </span><span class="comment">/* Now invalidate the affected region of the drawing area. */</span>
843
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-queue-draw-area">gtk_widget_queue_draw_area</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> x </span><span class="symbol">-</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> y </span><span class="symbol">-</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">,</span><span class="normal"> </span><span class="number">6</span><span class="symbol">);</span>
844
+ <span class="cbracket">}</span>
845
+
846
+ <span class="comment">/* Handle button press events by either drawing a rectangle</span>
847
+ <span class="comment"> * or clearing the surface, depending on which button was pressed.</span>
848
+ <span class="comment"> * The ::button-press signal handler receives a GdkEventButton</span>
849
+ <span class="comment"> * struct which contains this information.</span>
850
+ <span class="comment"> */</span>
851
+ <span class="keyword">static</span><span class="normal"> gboolean</span>
852
+ <span class="function">button_press_event_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
853
+ <span class="normal"> </span><span class="usertype">GdkEventButton</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
854
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
855
+ <span class="cbracket">{</span>
856
+ <span class="normal"> </span><span class="comment">/* paranoia check, in case we haven't gotten a configure event */</span>
857
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface </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>
858
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
859
+
860
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-&gt;</span><span class="normal">button </span><span class="symbol">==</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-PRIMARY:CAPS">GDK_BUTTON_PRIMARY</a></span><span class="symbol">)</span>
861
+ <span class="normal"> </span><span class="cbracket">{</span>
862
+ <span class="normal"> </span><span class="function">draw_brush</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">y</span><span class="symbol">);</span>
863
+ <span class="normal"> </span><span class="cbracket">}</span>
864
+ <span class="normal"> </span><span class="keyword">else</span><span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-&gt;</span><span class="normal">button </span><span class="symbol">==</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-BUTTON-SECONDARY:CAPS">GDK_BUTTON_SECONDARY</a></span><span class="symbol">)</span>
865
+ <span class="normal"> </span><span class="cbracket">{</span>
866
+ <span class="normal"> </span><span class="function">clear_surface</span><span class="normal"> </span><span class="symbol">();</span>
867
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-queue-draw">gtk_widget_queue_draw</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">);</span>
868
+ <span class="normal"> </span><span class="cbracket">}</span>
869
+
870
+ <span class="normal"> </span><span class="comment">/* We've handled the event, stop processing */</span>
871
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
872
+ <span class="cbracket">}</span>
873
+
874
+ <span class="comment">/* Handle motion events by continuing to draw if button 1 is</span>
875
+ <span class="comment"> * still held down. The ::motion-notify signal handler receives</span>
876
+ <span class="comment"> * a GdkEventMotion struct which contains this information.</span>
877
+ <span class="comment"> */</span>
878
+ <span class="keyword">static</span><span class="normal"> gboolean</span>
879
+ <span class="function">motion_notify_event_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
880
+ <span class="normal"> </span><span class="usertype">GdkEventMotion</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">event</span><span class="symbol">,</span>
881
+ <span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
882
+ <span class="cbracket">{</span>
883
+ <span class="normal"> </span><span class="comment">/* paranoia check, in case we haven't gotten a configure event */</span>
884
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface </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>
885
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> FALSE</span><span class="symbol">;</span>
886
+
887
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">event</span><span class="symbol">-&gt;</span><span class="normal">state </span><span class="symbol">&amp;</span><span class="normal"> <a href="../gdk3/gdk3-Windows.html#GDK-BUTTON1-MASK:CAPS">GDK_BUTTON1_MASK</a></span><span class="symbol">)</span>
888
+ <span class="normal"> </span><span class="function">draw_brush</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">x</span><span class="symbol">,</span><span class="normal"> event</span><span class="symbol">-&gt;</span><span class="normal">y</span><span class="symbol">);</span>
889
+
890
+ <span class="normal"> </span><span class="comment">/* We've handled it, stop processing */</span>
891
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> TRUE</span><span class="symbol">;</span>
892
+ <span class="cbracket">}</span>
893
+
894
+ <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
895
+ <span class="function">close_window</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">)</span>
896
+ <span class="cbracket">{</span>
897
+ <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">)</span>
898
+ <span class="normal"> </span><span class="function"><a href="/home/mclasen/gnome/share/gtk-doc/html/cairo/cairo-cairo-surface-t.html#cairo-surface-destroy">cairo_surface_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">surface</span><span class="symbol">);</span>
899
+
900
+ <span class="normal"> </span><span class="function"><a href="gtk3-General.html#gtk-main-quit">gtk_main_quit</a></span><span class="normal"> </span><span class="symbol">();</span>
901
+ <span class="cbracket">}</span>
902
+
903
+ <span class="type">int</span>
904
+ <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>
905
+ <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>
906
+ <span class="cbracket">{</span>
907
+ <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>
908
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">frame</span><span class="symbol">;</span>
909
+ <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">da</span><span class="symbol">;</span>
910
+
911
+ <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>
912
+
913
+ <span class="normal"> window </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-new">gtk_window_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="gtk3-Standard-Enumerations.html#GTK-WINDOW-TOPLEVEL:CAPS">GTK_WINDOW_TOPLEVEL</a></span><span class="symbol">);</span>
914
+ <span class="normal"> </span><span class="function"><a href="GtkWindow.html#gtk-window-set-title">gtk_window_set_title</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"> </span><span class="string">"Drawing Area"</span><span class="symbol">);</span>
915
+
916
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"destroy"</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">close_window</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>
917
+
918
+ <span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-set-border-width">gtk_container_set_border_width</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> </span><span class="number">8</span><span class="symbol">);</span>
919
+
920
+ <span class="normal"> frame </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFrame.html#gtk-frame-new">gtk_frame_new</a></span><span class="normal"> </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>
921
+ <span class="normal"> </span><span class="function"><a href="GtkFrame.html#gtk-frame-set-shadow-type">gtk_frame_set_shadow_type</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_FRAME</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">frame</span><span class="symbol">),</span><span class="normal"> <a href="gtk3-Standard-Enumerations.html#GTK-SHADOW-IN:CAPS">GTK_SHADOW_IN</a></span><span class="symbol">);</span>
922
+ <span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">),</span><span class="normal"> frame</span><span class="symbol">);</span>
923
+
924
+ <span class="normal"> da </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkDrawingArea.html#gtk-drawing-area-new">gtk_drawing_area_new</a></span><span class="normal"> </span><span class="symbol">();</span>
925
+ <span class="normal"> </span><span class="comment">/* set a minimum size */</span>
926
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-size-request">gtk_widget_set_size_request</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100</span><span class="symbol">);</span>
927
+
928
+ <span class="normal"> </span><span class="function"><a href="GtkContainer.html#gtk-container-add">gtk_container_add</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_CONTAINER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">frame</span><span class="symbol">),</span><span class="normal"> da</span><span class="symbol">);</span>
929
+
930
+ <span class="normal"> </span><span class="comment">/* Signals used to handle the backing surface */</span>
931
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"draw"</span><span class="symbol">,</span>
932
+ <span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">draw_cb</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>
933
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="string">"configure-event"</span><span class="symbol">,</span>
934
+ <span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">configure_event_cb</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>
935
+
936
+ <span class="normal"> </span><span class="comment">/* Event signals */</span>
937
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"motion-notify-event"</span><span class="symbol">,</span>
938
+ <span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">motion_notify_event_cb</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>
939
+ <span class="normal"> </span><span class="function">g_signal_connect</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"button-press-event"</span><span class="symbol">,</span>
940
+ <span class="normal"> </span><span class="function">G_CALLBACK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button_press_event_cb</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>
941
+
942
+ <span class="normal"> </span><span class="comment">/* Ask to receive events the drawing area doesn't normally</span>
943
+ <span class="comment"> * subscribe to. In particular, we need to ask for the</span>
944
+ <span class="comment"> * button press and motion notify events that want to handle.</span>
945
+ <span class="comment"> */</span>
946
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-set-events">gtk_widget_set_events</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">,</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-get-events">gtk_widget_get_events</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">da</span><span class="symbol">)</span>
947
+ <span class="normal"> </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>
948
+ <span class="normal"> </span><span class="symbol">|</span><span class="normal"> <a href="../gdk3/gdk3-Events.html#GDK-POINTER-MOTION-MASK:CAPS">GDK_POINTER_MOTION_MASK</a></span><span class="symbol">);</span>
949
+
950
+ <span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-show-all">gtk_widget_show_all</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">window</span><span class="symbol">);</span>
951
+
952
+ <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>
953
+
954
+ <span class="normal"> </span><span class="keyword">return</span><span class="normal"> </span><span class="number">0</span><span class="symbol">;</span>
955
+ <span class="cbracket">}</span></pre></td>
956
+ </tr>
957
+ </tbody>
958
+ </table>
959
+ </div>
960
+
961
+ </div>
962
+ <br class="example-break">
963
+ </div>
964
+ <div class="simplesect">
965
+ <div class="titlepage"><div><div><h2 class="title" style="clear: both">
966
+ <a name="idm140520419817840"></a>Building interfaces</h2></div></div></div>
967
+ <p>When construcing a more complicated user interface, with dozens
968
+ or hundreds of widgets, doing all the setup work in C code is
969
+ cumbersome, and making changes becomes next to impossible.</p>
970
+ <p>Thankfully, GTK+ supports the separation of user interface
971
+ layout from your business logic, by using UI descriptions in an
972
+ XML format that can be parsed by the <a class="link" href="GtkBuilder.html" title="GtkBuilder"><span class="type">GtkBuilder</span></a> class.</p>
973
+ <div class="example">
974
+ <a name="idm140520418989984"></a><p class="title"><b>Example 4. Packing buttons with GtkBuilder</b></p>
975
+ <div class="example-contents">
976
+ <pre class="programlisting">
977
+ #include &lt;gtk/gtk.h&gt;
978
+
979
+ static void
980
+ print_hello (GtkWidget *widget,
981
+ gpointer data)
982
+ {
983
+ g_print ("Hello World\n");
984
+ }
985
+
986
+ int
987
+ main (int argc,
988
+ char *argv[])
989
+ {
990
+ GtkBuilder *builder;
991
+ GObject *window;
992
+ GObject *button;
993
+
994
+ gtk_init (&amp;argc, &amp;argv);
995
+
996
+ /* Construct a GtkBuilder instance and load our UI description */
997
+ builder = gtk_builder_new ();
998
+ gtk_builder_add_from_file (builder, "builder.ui", NULL);
999
+
1000
+ /* Connect signal handlers to the constructed widgets. */
1001
+ window = gtk_builder_get_object (builder, "window");
1002
+ g_signal_connect (window, "destroy", G_CALLBACK (gtk_main_quit), NULL);
1003
+
1004
+ button = gtk_builder_get_object (builder, "button1");
1005
+ g_signal_connect (button, "clicked", G_CALLBACK (print_hello), NULL);
1006
+
1007
+ button = gtk_builder_get_object (builder, "button2");
1008
+ g_signal_connect (button, "clicked", G_CALLBACK (print_hello), NULL);
1009
+
1010
+ button = gtk_builder_get_object (builder, "quit");
1011
+ g_signal_connect (button, "clicked", G_CALLBACK (gtk_main_quit), NULL);
1012
+
1013
+ gtk_main ();
1014
+
1015
+ return 0;
1016
+ }
1017
+
1018
+ </pre>
1019
+ The builder.ui file looks like this:
1020
+ <pre class="programlisting">
1021
+ &lt;interface&gt;
1022
+ &lt;object id="window" class="GtkWindow"&gt;
1023
+ &lt;property name="visible"&gt;True&lt;/property&gt;
1024
+ &lt;property name="title"&gt;Grid&lt;/property&gt;
1025
+ &lt;property name="border-width"&gt;10&lt;/property&gt;
1026
+ &lt;child&gt;
1027
+ &lt;object id="grid" class="GtkGrid"&gt;
1028
+ &lt;property name="visible"&gt;True&lt;/property&gt;
1029
+ &lt;child&gt;
1030
+ &lt;object id="button1" class="GtkButton"&gt;
1031
+ &lt;property name="visible"&gt;True&lt;/property&gt;
1032
+ &lt;property name="label"&gt;Button 1&lt;/property&gt;
1033
+ &lt;/object&gt;
1034
+ &lt;packing&gt;
1035
+ &lt;property name="left-attach"&gt;0&lt;/property&gt;
1036
+ &lt;property name="top-attach"&gt;0&lt;/property&gt;
1037
+ &lt;/packing&gt;
1038
+ &lt;/child&gt;
1039
+ &lt;child&gt;
1040
+ &lt;object id="button2" class="GtkButton"&gt;
1041
+ &lt;property name="visible"&gt;True&lt;/property&gt;
1042
+ &lt;property name="label"&gt;Button 2&lt;/property&gt;
1043
+ &lt;/object&gt;
1044
+ &lt;packing&gt;
1045
+ &lt;property name="left-attach"&gt;1&lt;/property&gt;
1046
+ &lt;property name="top-attach"&gt;0&lt;/property&gt;
1047
+ &lt;/packing&gt;
1048
+ &lt;/child&gt;
1049
+ &lt;child&gt;
1050
+ &lt;object id="quit" class="GtkButton"&gt;
1051
+ &lt;property name="visible"&gt;True&lt;/property&gt;
1052
+ &lt;property name="label"&gt;Quit&lt;/property&gt;
1053
+ &lt;/object&gt;
1054
+ &lt;packing&gt;
1055
+ &lt;property name="left-attach"&gt;0&lt;/property&gt;
1056
+ &lt;property name="top-attach"&gt;1&lt;/property&gt;
1057
+ &lt;property name="width"&gt;2&lt;/property&gt;
1058
+ &lt;/packing&gt;
1059
+ &lt;/child&gt;
1060
+ &lt;/object&gt;
1061
+ &lt;packing&gt;
1062
+ &lt;/packing&gt;
1063
+ &lt;/child&gt;
1064
+ &lt;/object&gt;
1065
+ &lt;/interface&gt;
1066
+
1067
+ </pre>
1068
+ </div>
1069
+ </div>
1070
+ <br class="example-break"><p>Note that GtkBuilder can also be used to construct objects
1071
+ that are not widgets, such as tree models, adjustments, etc.
1072
+ That is the reason the method we use here is called
1073
+ <a class="link" href="GtkBuilder.html#gtk-builder-get-object" title="gtk_builder_get_object ()"><code class="function">gtk_builder_get_object()</code></a> and returns a GObject* instead of a
1074
+ GtkWidget*.</p>
1075
+ <p>Normally, you would pass a full path to
1076
+ <a class="link" href="GtkBuilder.html#gtk-builder-add-from-file" title="gtk_builder_add_from_file ()"><code class="function">gtk_builder_add_from_file()</code></a> to make the execution of your program
1077
+ independent of the current directory. A common location to install
1078
+ UI descriptions and similar data is
1079
+ <code class="filename">/usr/share/<em class="replaceable"><code>appname</code></em></code>.
1080
+ </p>
1081
+ <p>It is also possible to embed the UI description in the source
1082
+ code as a string and use <a class="link" href="GtkBuilder.html#gtk-builder-add-from-string" title="gtk_builder_add_from_string ()"><code class="function">gtk_builder_add_from_string()</code></a> to load it.
1083
+ But keeping the UI description in a separate file has several
1084
+ advantages: It is then possible to make minor adjustments to the UI
1085
+ without recompiling your program, and, more importantly, graphical
1086
+ UI editors such as <a class="ulink" href="http://glade.gnome.org" target="_top">glade</a>
1087
+ can load the file and allow you to create and modify your UI by
1088
+ point-and-click.</p>
1089
+ </div>
1090
+ </div>
1091
+ <div class="footer">
1092
+ <hr>
1093
+ Generated by GTK-Doc V1.18.1</div>
1094
+ </body>
1095
+ </html>