gtk3 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

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