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,3186 +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>GtkFileChooser</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="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
9
- <link rel="prev" href="GtkHSV.html" title="GtkHSV">
10
- <link rel="next" href="GtkFileChooserButton.html" title="GtkFileChooserButton">
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">
16
- <tr valign="middle">
17
- <td><a accesskey="p" href="GtkHSV.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
- <td><a accesskey="u" href="SelectorWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
- <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
- <th width="100%" align="center">GTK+ 2 Reference Manual</th>
21
- <td><a accesskey="n" href="GtkFileChooserButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
22
- </tr>
23
- <tr><td colspan="5" class="shortcuts">
24
- <a href="#GtkFileChooser.synopsis" class="shortcut">Top</a>
25
-  | 
26
- <a href="#GtkFileChooser.description" class="shortcut">Description</a>
27
-  | 
28
- <a href="#GtkFileChooser.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
-  | 
30
- <a href="#GtkFileChooser.prerequisites" class="shortcut">Prerequisites</a>
31
-  | 
32
- <a href="#GtkFileChooser.implementations" class="shortcut">Known Implementations</a>
33
-  | 
34
- <a href="#GtkFileChooser.properties" class="shortcut">Properties</a>
35
-  | 
36
- <a href="#GtkFileChooser.signals" class="shortcut">Signals</a>
37
- </td></tr>
38
- </table>
39
- <div class="refentry">
40
- <a name="GtkFileChooser"></a><div class="titlepage"></div>
41
- <div class="refnamediv"><table width="100%"><tr>
42
- <td valign="top">
43
- <h2><span class="refentrytitle"><a name="GtkFileChooser.top_of_page"></a>GtkFileChooser</span></h2>
44
- <p>GtkFileChooser — File chooser interface used by GtkFileChooserWidget and GtkFileChooserDialog</p>
45
- </td>
46
- <td valign="top" align="right"></td>
47
- </tr></table></div>
48
- <div class="refsynopsisdiv">
49
- <a name="GtkFileChooser.synopsis"></a><h2>Synopsis</h2>
50
- <pre class="synopsis">
51
- #include &lt;gtk/gtk.h&gt;
52
-
53
- <a class="link" href="GtkFileChooser.html#GtkFileChooser-struct" title="GtkFileChooser">GtkFileChooser</a>;
54
- enum <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction">GtkFileChooserAction</a>;
55
- enum <a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation">GtkFileChooserConfirmation</a>;
56
- #define <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ERROR:CAPS" title="GTK_FILE_CHOOSER_ERROR">GTK_FILE_CHOOSER_ERROR</a>
57
- enum <a class="link" href="GtkFileChooser.html#GtkFileChooserError" title="enum GtkFileChooserError">GtkFileChooserError</a>;
58
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-action" title="gtk_file_chooser_set_action ()">gtk_file_chooser_set_action</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
59
- <em class="parameter"><code><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> action</code></em>);
60
- <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="returnvalue">GtkFileChooserAction</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-action" title="gtk_file_chooser_get_action ()">gtk_file_chooser_get_action</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
61
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-local-only" title="gtk_file_chooser_set_local_only ()">gtk_file_chooser_set_local_only</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
62
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local_only</code></em>);
63
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-local-only" title="gtk_file_chooser_get_local_only ()">gtk_file_chooser_get_local_only</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
64
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-select-multiple" title="gtk_file_chooser_set_select_multiple ()">gtk_file_chooser_set_select_multiple</a>
65
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
66
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> select_multiple</code></em>);
67
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-select-multiple" title="gtk_file_chooser_get_select_multiple ()">gtk_file_chooser_get_select_multiple</a>
68
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
69
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-show-hidden" title="gtk_file_chooser_set_show_hidden ()">gtk_file_chooser_set_show_hidden</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
70
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_hidden</code></em>);
71
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-show-hidden" title="gtk_file_chooser_get_show_hidden ()">gtk_file_chooser_get_show_hidden</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
72
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-do-overwrite-confirmation" title="gtk_file_chooser_set_do_overwrite_confirmation ()">gtk_file_chooser_set_do_overwrite_confirmation</a>
73
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
74
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> do_overwrite_confirmation</code></em>);
75
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-do-overwrite-confirmation" title="gtk_file_chooser_get_do_overwrite_confirmation ()">gtk_file_chooser_get_do_overwrite_confirmation</a>
76
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
77
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-create-folders" title="gtk_file_chooser_set_create_folders ()">gtk_file_chooser_set_create_folders</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
78
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> create_folders</code></em>);
79
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-create-folders" title="gtk_file_chooser_get_create_folders ()">gtk_file_chooser_get_create_folders</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
80
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-name" title="gtk_file_chooser_set_current_name ()">gtk_file_chooser_set_current_name</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
81
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
82
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename">gtk_file_chooser_get_filename</a>
83
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filename" title="gtk_file_chooser_set_filename">gtk_file_chooser_set_filename</a>
84
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename">gtk_file_chooser_select_filename</a>
85
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-filename" title="gtk_file_chooser_unselect_filename">gtk_file_chooser_unselect_filename</a>
86
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-all" title="gtk_file_chooser_select_all ()">gtk_file_chooser_select_all</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
87
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()">gtk_file_chooser_unselect_all</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
88
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames">gtk_file_chooser_get_filenames</a>
89
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder">gtk_file_chooser_set_current_folder</a>
90
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder" title="gtk_file_chooser_get_current_folder">gtk_file_chooser_get_current_folder</a>
91
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()">gtk_file_chooser_get_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
92
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-uri" title="gtk_file_chooser_set_uri ()">gtk_file_chooser_set_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
93
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
94
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()">gtk_file_chooser_select_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
95
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
96
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-uri" title="gtk_file_chooser_unselect_uri ()">gtk_file_chooser_unselect_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
97
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
98
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()">gtk_file_chooser_get_uris</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
99
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()">gtk_file_chooser_set_current_folder_uri</a>
100
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
101
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
102
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder-uri" title="gtk_file_chooser_get_current_folder_uri ()">gtk_file_chooser_get_current_folder_uri</a>
103
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
104
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()">gtk_file_chooser_set_preview_widget</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
105
- <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);
106
- <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-widget" title="gtk_file_chooser_get_preview_widget ()">gtk_file_chooser_get_preview_widget</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
107
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()">gtk_file_chooser_set_preview_widget_active</a>
108
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
109
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);
110
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-widget-active" title="gtk_file_chooser_get_preview_widget_active ()">gtk_file_chooser_get_preview_widget_active</a>
111
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
112
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-use-preview-label" title="gtk_file_chooser_set_use_preview_label ()">gtk_file_chooser_set_use_preview_label</a>
113
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
114
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_label</code></em>);
115
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-use-preview-label" title="gtk_file_chooser_get_use_preview_label ()">gtk_file_chooser_get_use_preview_label</a>
116
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
117
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename">gtk_file_chooser_get_preview_filename</a>
118
- <span class="returnvalue">char</span> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()">gtk_file_chooser_get_preview_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
119
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-extra-widget" title="gtk_file_chooser_set_extra_widget ()">gtk_file_chooser_set_extra_widget</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
120
- <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);
121
- <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-extra-widget" title="gtk_file_chooser_get_extra_widget ()">gtk_file_chooser_get_extra_widget</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
122
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-filter" title="gtk_file_chooser_add_filter ()">gtk_file_chooser_add_filter</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
123
- <em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
124
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-filter" title="gtk_file_chooser_remove_filter ()">gtk_file_chooser_remove_filter</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
125
- <em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
126
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-list-filters" title="gtk_file_chooser_list_filters ()">gtk_file_chooser_list_filters</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
127
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filter" title="gtk_file_chooser_set_filter ()">gtk_file_chooser_set_filter</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
128
- <em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
129
- <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="returnvalue">GtkFileFilter</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filter" title="gtk_file_chooser_get_filter ()">gtk_file_chooser_get_filter</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
130
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder" title="gtk_file_chooser_add_shortcut_folder">gtk_file_chooser_add_shortcut_folder</a>
131
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-shortcut-folder" title="gtk_file_chooser_remove_shortcut_folder">gtk_file_chooser_remove_shortcut_folder</a>
132
- #define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-list-shortcut-folders" title="gtk_file_chooser_list_shortcut_folders">gtk_file_chooser_list_shortcut_folders</a>
133
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder-uri" title="gtk_file_chooser_add_shortcut_folder_uri ()">gtk_file_chooser_add_shortcut_folder_uri</a>
134
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
135
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
136
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
137
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-shortcut-folder-uri" title="gtk_file_chooser_remove_shortcut_folder_uri ()">gtk_file_chooser_remove_shortcut_folder_uri</a>
138
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
139
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
140
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
141
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-list-shortcut-folder-uris" title="gtk_file_chooser_list_shortcut_folder_uris ()">gtk_file_chooser_list_shortcut_folder_uris</a>
142
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
143
- <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder-file" title="gtk_file_chooser_get_current_folder_file ()">gtk_file_chooser_get_current_folder_file</a>
144
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
145
- <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-file" title="gtk_file_chooser_get_file ()">gtk_file_chooser_get_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
146
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-files" title="gtk_file_chooser_get_files ()">gtk_file_chooser_get_files</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
147
- <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-file" title="gtk_file_chooser_get_preview_file ()">gtk_file_chooser_get_preview_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
148
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-file" title="gtk_file_chooser_select_file ()">gtk_file_chooser_select_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
149
- <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
150
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
151
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-file" title="gtk_file_chooser_set_current_folder_file ()">gtk_file_chooser_set_current_folder_file</a>
152
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
153
- <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
154
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
155
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-file" title="gtk_file_chooser_set_file ()">gtk_file_chooser_set_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
156
- <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
157
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
158
- <span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-file" title="gtk_file_chooser_unselect_file ()">gtk_file_chooser_unselect_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
159
- <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>);
160
- </pre>
161
- </div>
162
- <div class="refsect1">
163
- <a name="GtkFileChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
164
- <pre class="synopsis">
165
- GInterface
166
- +----GtkFileChooser
167
- </pre>
168
- </div>
169
- <div class="refsect1">
170
- <a name="GtkFileChooser.prerequisites"></a><h2>Prerequisites</h2>
171
- <p>
172
- GtkFileChooser requires
173
- <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
174
- </div>
175
- <div class="refsect1">
176
- <a name="GtkFileChooser.implementations"></a><h2>Known Implementations</h2>
177
- <p>
178
- GtkFileChooser is implemented by
179
- <a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton">GtkFileChooserButton</a>, <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog">GtkFileChooserDialog</a> and <a class="link" href="GtkFileChooserWidget.html" title="GtkFileChooserWidget">GtkFileChooserWidget</a>.</p>
180
- </div>
181
- <div class="refsect1">
182
- <a name="GtkFileChooser.properties"></a><h2>Properties</h2>
183
- <pre class="synopsis">
184
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--action" title='The "action" property'>action</a>" <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> : Read / Write
185
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--create-folders" title='The "create-folders" property'>create-folders</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
186
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--do-overwrite-confirmation" title='The "do-overwrite-confirmation" property'>do-overwrite-confirmation</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
187
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--extra-widget" title='The "extra-widget" property'>extra-widget</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write
188
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--file-system-backend" title='The "file-system-backend" property'>file-system-backend</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write / Construct Only
189
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--filter" title='The "filter" property'>filter</a>" <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>* : Read / Write
190
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--local-only" title='The "local-only" property'>local-only</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
191
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--preview-widget" title='The "preview-widget" property'>preview-widget</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write
192
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--preview-widget-active" title='The "preview-widget-active" property'>preview-widget-active</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
193
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--select-multiple" title='The "select-multiple" property'>select-multiple</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
194
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--show-hidden" title='The "show-hidden" property'>show-hidden</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
195
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser--use-preview-label" title='The "use-preview-label" property'>use-preview-label</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
196
- </pre>
197
- </div>
198
- <div class="refsect1">
199
- <a name="GtkFileChooser.signals"></a><h2>Signals</h2>
200
- <pre class="synopsis">
201
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'>confirm-overwrite</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
202
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser-current-folder-changed" title='The "current-folder-changed" signal'>current-folder-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
203
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser-file-activated" title='The "file-activated" signal'>file-activated</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
204
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser-selection-changed" title='The "selection-changed" signal'>selection-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
205
- "<a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title='The "update-preview" signal'>update-preview</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
206
- </pre>
207
- </div>
208
- <div class="refsect1">
209
- <a name="GtkFileChooser.description"></a><h2>Description</h2>
210
- <p>
211
- <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is an interface that can be implemented by file
212
- selection widgets. In GTK+, the main objects that implement this
213
- interface are <a class="link" href="GtkFileChooserWidget.html" title="GtkFileChooserWidget"><span class="type">GtkFileChooserWidget</span></a>, <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a>, and
214
- <a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a>. You do not need to write an object that
215
- implements the <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> interface unless you are trying to
216
- adapt an existing file selector to expose a standard programming
217
- interface.
218
- </p>
219
- <p>
220
- <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> allows for shortcuts to various places in the filesystem.
221
- In the default implementation these are displayed in the left pane. It
222
- may be a bit confusing at first that these shortcuts come from various
223
- sources and in various flavours, so lets explain the terminology here:
224
- </p>
225
- <div class="variablelist"><table border="0">
226
- <col align="left" valign="top">
227
- <tbody>
228
- <tr>
229
- <td><p><span class="term">Bookmarks</span></p></td>
230
- <td>
231
- are created by the user, by dragging folders from the
232
- right pane to the left pane, or by using the "Add". Bookmarks
233
- can be renamed and deleted by the user.
234
- </td>
235
- </tr>
236
- <tr>
237
- <td><p><span class="term">Shortcuts</span></p></td>
238
- <td>
239
- can be provided by the application or by the underlying filesystem
240
- abstraction (e.g. both the gnome-vfs and the Windows filesystems
241
- provide "Desktop" shortcuts). Shortcuts cannot be modified by the
242
- user.
243
- </td>
244
- </tr>
245
- <tr>
246
- <td><p><span class="term">Volumes</span></p></td>
247
- <td>
248
- are provided by the underlying filesystem abstraction. They are
249
- the "roots" of the filesystem.
250
- </td>
251
- </tr>
252
- </tbody>
253
- </table></div>
254
- <p>
255
- </p>
256
- <p>
257
- </p>
258
- <div class="refsect2">
259
- <a name="gtkfilechooser-encodings"></a><h3>File Names and Encodings</h3>
260
- When the user is finished selecting files in a
261
- <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>, your program can get the selected names
262
- either as filenames or as URIs. For URIs, the normal escaping
263
- rules are applied if the URI contains non-ASCII characters.
264
- However, filenames are <span class="emphasis"><em>always</em></span> returned in
265
- the character set specified by the
266
- <code class="envar">G_FILENAME_ENCODING</code> environment variable.
267
- Please see the Glib documentation for more details about this
268
- variable.
269
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
270
- <h3 class="title">Note</h3>
271
- This means that while you can pass the result of
272
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename"><code class="function">gtk_file_chooser_get_filename()</code></a> to
273
- <code class="function">open(2)</code> or
274
- <code class="function">fopen(3)</code>, you may not be able to
275
- directly set it as the text of a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> widget unless you
276
- convert it first to UTF-8, which all GTK+ widgets expect.
277
- You should use <a href="http://library.gnome.org/devel/glib/unstable/glib-Character-Set-Conversion.html#g-filename-to-utf8"><code class="function">g_filename_to_utf8()</code></a> to convert filenames
278
- into strings that can be passed to GTK+ widgets.
279
- </div>
280
- </div>
281
- <p>
282
- </p>
283
- <hr>
284
- <div class="refsect2">
285
- <a name="gtkfilechooser-preview"></a><h3>Adding a Preview Widget</h3>
286
- <p>
287
- You can add a custom preview widget to a file chooser and then
288
- get notification about when the preview needs to be updated.
289
- To install a preview widget, use
290
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>. Then, connect to the
291
- <a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title='The "update-preview" signal'><span class="type">"update-preview"</span></a> signal to get notified when
292
- you need to update the contents of the preview.
293
- </p>
294
- <p>
295
- Your callback should use
296
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename"><code class="function">gtk_file_chooser_get_preview_filename()</code></a> to see what needs
297
- previewing. Once you have generated the preview for the
298
- corresponding file, you must call
299
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a> with a boolean
300
- flag that indicates whether your callback could successfully
301
- generate a preview.
302
- </p>
303
- <div class="example">
304
- <a name="example-gtkfilechooser-preview"></a><p class="title"><b>Example 40. Sample Usage</b></p>
305
- <div class="example-contents">
306
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
307
- <tbody>
308
- <tr>
309
- <td class="listing_lines" align="right"><pre>1
310
- 2
311
- 3
312
- 4
313
- 5
314
- 6
315
- 7
316
- 8
317
- 9
318
- 10
319
- 11
320
- 12
321
- 13
322
- 14
323
- 15
324
- 16
325
- 17
326
- 18
327
- 19
328
- 20
329
- 21
330
- 22
331
- 23
332
- 24
333
- 25
334
- 26
335
- 27
336
- 28
337
- 29
338
- 30
339
- 31
340
- 32
341
- 33</pre></td>
342
- <td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
343
- <span class="normal"> </span><span class="usertype">GtkImage</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">preview</span><span class="symbol">;</span>
344
-
345
- <span class="normal"> </span><span class="symbol">...</span>
346
-
347
- <span class="normal"> preview </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkImage.html#gtk-image-new">gtk_image_new</a></span><span class="normal"> </span><span class="symbol">();</span>
348
-
349
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget">gtk_file_chooser_set_preview_widget</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_file_chooser</span><span class="symbol">,</span><span class="normal"> preview</span><span class="symbol">);</span>
350
- <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_file_chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"update-preview"</span><span class="symbol">,</span>
351
- <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">update_preview_cb</span><span class="symbol">),</span><span class="normal"> preview</span><span class="symbol">);</span>
352
- <span class="cbracket">}</span>
353
-
354
- <span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
355
- <span class="function">update_preview_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkFileChooser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">file_chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
356
- <span class="cbracket">{</span>
357
- <span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">preview</span><span class="symbol">;</span>
358
- <span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">filename</span><span class="symbol">;</span>
359
- <span class="normal"> </span><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixbuf</span><span class="symbol">;</span>
360
- <span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> have_preview</span><span class="symbol">;</span>
361
-
362
- <span class="normal"> preview </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">);</span>
363
- <span class="normal"> filename </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename">gtk_file_chooser_get_preview_filename</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">file_chooser</span><span class="symbol">);</span>
364
-
365
- <span class="normal"> pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file-at-size">gdk_pixbuf_new_from_file_at_size</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="number">128</span><span class="symbol">,</span><span class="normal"> </span><span class="number">128</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>
366
- <span class="normal"> have_preview </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf </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>
367
- <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">filename</span><span class="symbol">);</span>
368
-
369
- <span class="normal"> </span><span class="function"><a href="GtkImage.html#gtk-image-set-from-pixbuf">gtk_image_set_from_pixbuf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_IMAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">preview</span><span class="symbol">),</span><span class="normal"> pixbuf</span><span class="symbol">);</span>
370
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span>
371
- <span class="normal"> </span><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">pixbuf</span><span class="symbol">);</span>
372
-
373
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active">gtk_file_chooser_set_preview_widget_active</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">file_chooser</span><span class="symbol">,</span><span class="normal"> have_preview</span><span class="symbol">);</span>
374
- <span class="cbracket">}</span></pre></td>
375
- </tr>
376
- </tbody>
377
- </table>
378
- </div>
379
-
380
- </div>
381
- <br class="example-break">
382
- </div>
383
- <p>
384
- </p>
385
- <hr>
386
- <div class="refsect2">
387
- <a name="gtkfilechooser-extra"></a><h3>Adding Extra Widgets</h3>
388
- <p>
389
- You can add extra widgets to a file chooser to provide options
390
- that are not present in the default design. For example, you
391
- can add a toggle button to give the user the option to open a
392
- file in read-only mode. You can use
393
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-extra-widget" title="gtk_file_chooser_set_extra_widget ()"><code class="function">gtk_file_chooser_set_extra_widget()</code></a> to insert additional
394
- widgets in a file chooser.
395
- </p>
396
- <div class="example">
397
- <a name="example-gtkfilechooser-extra"></a><p class="title"><b>Example 41. Sample Usage</b></p>
398
- <div class="example-contents">
399
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
400
- <tbody>
401
- <tr>
402
- <td class="listing_lines" align="right"><pre>1
403
- 2
404
- 3
405
- 4
406
- 5
407
- 6
408
- 7
409
- 8</pre></td>
410
- <td class="listing_code"><pre class="programlisting"><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">toggle</span><span class="symbol">;</span>
411
-
412
- <span class="symbol">...</span>
413
-
414
- <span class="normal">toggle </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCheckButton.html#gtk-check-button-new-with-label">gtk_check_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Open file read-only"</span><span class="symbol">);</span>
415
- <span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">toggle</span><span class="symbol">);</span>
416
- <span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-extra-widget">gtk_file_chooser_set_extra_widget</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_file_chooser</span><span class="symbol">,</span><span class="normal"> toggle</span><span class="symbol">);</span>
417
- <span class="cbracket">}</span></pre></td>
418
- </tr>
419
- </tbody>
420
- </table>
421
- </div>
422
-
423
- </div>
424
- <br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
425
- <h3 class="title">Note</h3>
426
- If you want to set more than one extra widget in the file
427
- chooser, you can a container such as a <a class="link" href="GtkVBox.html" title="GtkVBox"><span class="type">GtkVBox</span></a> or a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>
428
- and include your widgets in it. Then, set the container as
429
- the whole extra widget.
430
- </div>
431
- </div>
432
- <p>
433
- </p>
434
- <hr>
435
- <div class="refsect2">
436
- <a name="gtkfilechooser-key-bindings"></a><h3>Key Bindings</h3>
437
- <p>
438
- Internally, GTK+ implements a file chooser's graphical user
439
- interface with the private
440
- <code class="classname">GtkFileChooserDefaultClass</code>. This
441
- widget has several <a class="link" href="gtk-Bindings.html" title="Bindings">key
442
- bindings</a> and their associated signals. This section
443
- describes the available key binding signals.
444
- </p>
445
- <div class="example">
446
- <a name="gtkfilechooser-key-binding-example"></a><p class="title"><b>Example 42. GtkFileChooser key binding example</b></p>
447
- <div class="example-contents">
448
- <p>
449
- The default keys that activate the key-binding signals in
450
- <code class="classname">GtkFileChooserDefaultClass</code> are as
451
- follows:
452
- </p>
453
- <div class="informaltable"><table border="1">
454
- <colgroup>
455
- <col>
456
- <col>
457
- </colgroup>
458
- <tbody>
459
- <tr>
460
- <td>Signal name</td>
461
- <td>Default key combinations</td>
462
- </tr>
463
- <tr>
464
- <td>location-popup</td>
465
- <td>
466
- <span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span> (empty path);
467
- <span class="keycap"><strong>/</strong></span> (path of "/")
468
- <sup>[<a name="id1084259" href="#ftn.id1084259" class="footnote">a</a>]</sup>;
469
- <span class="keycap"><strong>~</strong></span> (path of "~")
470
- </td>
471
- </tr>
472
- <tr>
473
- <td>up-folder</td>
474
- <td>
475
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span>;
476
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Up</strong></span>
477
- <sup>[<a name="id1084325" href="#ftn.id1084325" class="footnote">b</a>]</sup>;
478
- <span class="keycap"><strong>Backspace</strong></span>
479
- </td>
480
- </tr>
481
- <tr>
482
- <td>down-folder</td>
483
- <td>
484
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span>;
485
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Down</strong></span>
486
- <sup>[<a name="id1084384" href="#ftn.id1084384" class="footnote">c</a>]</sup>
487
- </td>
488
- </tr>
489
- <tr>
490
- <td>home-folder</td>
491
- <td>
492
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Home</strong></span>
493
- </td>
494
- </tr>
495
- <tr>
496
- <td>desktop-folder</td>
497
- <td>
498
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>D</strong></span>
499
- </td>
500
- </tr>
501
- <tr>
502
- <td>quick-bookmark</td>
503
- <td>
504
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span> through <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span>
505
- </td>
506
- </tr>
507
- </tbody>
508
- <tbody class="footnotes"><tr><td colspan="2">
509
- <div class="footnote"><span class="keycap"><strong><sup>[<a name="ftn.id1084259" href="#id1084259" class="keycap">a</a>] </sup>/</strong></span></div>
510
- <div class="footnote"></div>
511
- <div class="footnote"></div>
512
- </td></tr></tbody>
513
- </table></div>
514
- <p>
515
- You can change these defaults to something else. For
516
- example, to add a <span class="keycap"><strong>Shift</strong></span> modifier to a few
517
- of the default bindings, you can include the following
518
- fragment in your <code class="filename">.gtkrc-3.0</code> file:
519
- </p>
520
- <pre class="programlisting">
521
- binding "my-own-gtkfilechooser-bindings" {
522
- bind "&lt;Alt&gt;&lt;Shift&gt;Up" {
523
- "up-folder" ()
524
- }
525
- bind "&lt;Alt&gt;&lt;Shift&gt;Down" {
526
- "down-folder" ()
527
- }
528
- bind "&lt;Alt&gt;&lt;Shift&gt;Home" {
529
- "home-folder" ()
530
- }
531
- }
532
-
533
- class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
534
- </pre>
535
- </div>
536
- </div>
537
- <br class="example-break"><div class="refsect3">
538
- <a name="GtkFileChooserDefault-location-popup"></a><h4>The "GtkFileChooserDefault::location-popup" signal</h4>
539
- <pre class="programlisting">
540
- void user_function (GtkFileChooserDefault *chooser,
541
- const char *path,
542
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
543
- </pre>
544
- <p>
545
- This is used to make the file chooser show a "Location"
546
- dialog which the user can use to manually type the name of
547
- the file he wishes to select. The
548
- <em class="parameter"><code>path</code></em> argument is a string that gets
549
- put in the text entry for the file name. By default this is bound to
550
- <span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span>
551
- with a <em class="parameter"><code>path</code></em> string of "" (the empty
552
- string). It is also bound to <span class="keycap"><strong>/</strong></span> with a
553
- <em class="parameter"><code>path</code></em> string of "<code class="literal">/</code>"
554
- (a slash): this lets you type <span class="keycap"><strong>/</strong></span> and
555
- immediately type a path name. On Unix systems, this is bound to
556
- <span class="keycap"><strong>~</strong></span> (tilde) with a <em class="parameter"><code>path</code></em> string
557
- of "~" itself for access to home directories.
558
- </p>
559
- <div class="variablelist"><table border="0">
560
- <col align="left" valign="top">
561
- <tbody>
562
- <tr>
563
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
564
- <td>
565
- the object which received the signal.
566
- </td>
567
- </tr>
568
- <tr>
569
- <td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
570
- <td>
571
- default contents for the text entry for the file name
572
- </td>
573
- </tr>
574
- <tr>
575
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
576
- <td>
577
- user data set when the signal handler was connected.
578
- </td>
579
- </tr>
580
- </tbody>
581
- </table></div>
582
- <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
583
- <h3 class="title">Note</h3>
584
- You can create your own bindings for the
585
- <a class="link" href="GtkFileChooser.html#GtkFileChooserDefault-location-popup" title='The "GtkFileChooserDefault::location-popup" signal'><span class="type">"location-popup"</span></a> signal with custom
586
- <em class="parameter"><code>path</code></em> strings, and have a crude form
587
- of easily-to-type bookmarks. For example, say you access
588
- the path <code class="filename">/home/username/misc</code> very
589
- frequently. You could then create an <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>M</strong></span>
590
- shortcut by including the following in your
591
- <code class="filename">.gtkrc-3.0</code>:
592
- <pre class="programlisting">
593
- binding "misc-shortcut" {
594
- bind "&lt;Alt&gt;M" {
595
- "location-popup" ("/home/username/misc")
596
- }
597
- }
598
-
599
- class "GtkFileChooserDefault" binding "misc-shortcut"
600
- </pre>
601
- </div>
602
- </div>
603
- <div class="refsect3">
604
- <a name="GtkFileChooserDefault-up-folder"></a><h4>The "GtkFileChooserDefault::up-folder" signal</h4>
605
- <pre class="programlisting">
606
- void user_function (GtkFileChooserDefault *chooser,
607
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
608
- </pre>
609
- <p>
610
- This is used to make the file chooser go to the parent of
611
- the current folder in the file hierarchy. By default this
612
- is bound to <span class="keycap"><strong>Backspace</strong></span> and
613
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span>
614
- (the Up key in the numeric keypad also works).
615
- </p>
616
- <div class="variablelist"><table border="0">
617
- <col align="left" valign="top">
618
- <tbody>
619
- <tr>
620
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
621
- <td>
622
- the object which received the signal.
623
- </td>
624
- </tr>
625
- <tr>
626
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
627
- <td>
628
- user data set when the signal handler was connected.
629
- </td>
630
- </tr>
631
- </tbody>
632
- </table></div>
633
- </div>
634
- <div class="refsect3">
635
- <a name="GtkFileChooserDefault-down-folder"></a><h4>The "GtkFileChooserDefault::down-folder" signal</h4>
636
- <pre class="programlisting">
637
- void user_function (GtkFileChooserDefault *chooser,
638
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
639
- </pre>
640
- <p>
641
- This is used to make the file chooser go to a child of the
642
- current folder in the file hierarchy. The subfolder that
643
- will be used is displayed in the path bar widget of the file
644
- chooser. For example, if the path bar is showing
645
- "/foo/<span class="emphasis"><em>bar/</em></span>baz", then this will cause
646
- the file chooser to switch to the "baz" subfolder. By
647
- default this is bound to
648
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span>
649
- (the Down key in the numeric keypad also works).
650
- </p>
651
- <div class="variablelist"><table border="0">
652
- <col align="left" valign="top">
653
- <tbody>
654
- <tr>
655
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
656
- <td>
657
- the object which received the signal.
658
- </td>
659
- </tr>
660
- <tr>
661
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
662
- <td>
663
- user data set when the signal handler was connected.
664
- </td>
665
- </tr>
666
- </tbody>
667
- </table></div>
668
- </div>
669
- <div class="refsect3">
670
- <a name="GtkFileChooserDefault-home-folder"></a><h4>The "GtkFileChooserDefault::home-folder" signal</h4>
671
- <pre class="programlisting">
672
- void user_function (GtkFileChooserDefault *chooser,
673
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
674
- </pre>
675
- <p>
676
- This is used to make the file chooser show the user's home
677
- folder in the file list. By default this is bound to
678
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Home</strong></span>
679
- (the Home key in the numeric keypad also works).
680
- </p>
681
- <div class="variablelist"><table border="0">
682
- <col align="left" valign="top">
683
- <tbody>
684
- <tr>
685
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
686
- <td>
687
- the object which received the signal.
688
- </td>
689
- </tr>
690
- <tr>
691
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
692
- <td>
693
- user data set when the signal handler was connected.
694
- </td>
695
- </tr>
696
- </tbody>
697
- </table></div>
698
- </div>
699
- <div class="refsect3">
700
- <a name="GtkFileChooserDefault-desktop-folder"></a><h4>The "GtkFileChooserDefault::desktop-folder" signal</h4>
701
- <pre class="programlisting">
702
- void user_function (GtkFileChooserDefault *chooser,
703
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
704
- </pre>
705
- <p>
706
- This is used to make the file chooser show the user's Desktop
707
- folder in the file list. By default this is bound to
708
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>D</strong></span>.
709
- </p>
710
- <div class="variablelist"><table border="0">
711
- <col align="left" valign="top">
712
- <tbody>
713
- <tr>
714
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
715
- <td>
716
- the object which received the signal.
717
- </td>
718
- </tr>
719
- <tr>
720
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
721
- <td>
722
- user data set when the signal handler was connected.
723
- </td>
724
- </tr>
725
- </tbody>
726
- </table></div>
727
- </div>
728
- <div class="refsect3">
729
- <a name="GtkFileChooserDefault-quick-bookmark"></a><h4>The "GtkFileChooserDefault::quick-bookmark" signal</h4>
730
- <pre class="programlisting">
731
- void user_function (GtkFileChooserDefault *chooser,
732
- gint bookmark_index,
733
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
734
- </pre>
735
- <p>
736
- This is used to make the file chooser switch to the bookmark
737
- specified in the <em class="parameter"><code>bookmark_index</code></em> parameter.
738
- For example, if you have three bookmarks, you can pass 0, 1, 2 to
739
- this signal to switch to each of them, respectively. By default this is bound to
740
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span>,
741
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>2</strong></span>,
742
- etc. until
743
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span>. Note
744
- that in the default binding,
745
- that <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span> is
746
- actually defined to switch to the bookmark at index 0, and so on
747
- successively;
748
- <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span> is
749
- defined to switch to the bookmark at index 10.
750
- </p>
751
- <div class="variablelist"><table border="0">
752
- <col align="left" valign="top">
753
- <tbody>
754
- <tr>
755
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
756
- <td>
757
- the object which received the signal.
758
- </td>
759
- </tr>
760
- <tr>
761
- <td><p><span class="term"><em class="parameter"><code>bookmark_indes</code></em> :</span></p></td>
762
- <td>
763
- index of the bookmark to switch to; the indices start at 0.
764
- </td>
765
- </tr>
766
- <tr>
767
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
768
- <td>
769
- user data set when the signal handler was connected.
770
- </td>
771
- </tr>
772
- </tbody>
773
- </table></div>
774
- </div>
775
- </div>
776
- <p>
777
- </p>
778
- </div>
779
- <div class="refsect1">
780
- <a name="GtkFileChooser.details"></a><h2>Details</h2>
781
- <div class="refsect2">
782
- <a name="GtkFileChooser-struct"></a><h3>GtkFileChooser</h3>
783
- <pre class="programlisting">typedef struct _GtkFileChooser GtkFileChooser;</pre>
784
- <p>
785
- </p>
786
- </div>
787
- <hr>
788
- <div class="refsect2">
789
- <a name="GtkFileChooserAction"></a><h3>enum GtkFileChooserAction</h3>
790
- <pre class="programlisting">typedef enum {
791
- GTK_FILE_CHOOSER_ACTION_OPEN,
792
- GTK_FILE_CHOOSER_ACTION_SAVE,
793
- GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
794
- GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
795
- } GtkFileChooserAction;
796
- </pre>
797
- <p>
798
- Describes whether a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is being used to open existing files
799
- or to save to a possibly new file.
800
- </p>
801
- <div class="variablelist"><table border="0">
802
- <col align="left" valign="top">
803
- <tbody>
804
- <tr>
805
- <td><p><a name="GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></span></p></td>
806
- <td>Indicates open mode. The file chooser
807
- will only let the user pick an existing file.
808
- </td>
809
- </tr>
810
- <tr>
811
- <td><p><a name="GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></span></p></td>
812
- <td>Indicates save mode. The file chooser
813
- will let the user pick an existing file, or type in a new
814
- filename.
815
- </td>
816
- </tr>
817
- <tr>
818
- <td><p><a name="GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></span></p></td>
819
- <td>Indicates an Open mode for
820
- selecting folders. The file chooser will let the user pick an
821
- existing folder.
822
- </td>
823
- </tr>
824
- <tr>
825
- <td><p><a name="GTK-FILE-CHOOSER-ACTION-CREATE-FOLDER:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER</code></span></p></td>
826
- <td>Indicates a mode for creating a
827
- new folder. The file chooser will let the user name an existing or
828
- new folder.
829
- </td>
830
- </tr>
831
- </tbody>
832
- </table></div>
833
- </div>
834
- <hr>
835
- <div class="refsect2">
836
- <a name="GtkFileChooserConfirmation"></a><h3>enum GtkFileChooserConfirmation</h3>
837
- <pre class="programlisting">typedef enum {
838
- GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM,
839
- GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME,
840
- GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
841
- } GtkFileChooserConfirmation;
842
- </pre>
843
- <p>
844
- Used as a return value of handlers for the
845
- <a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a> signal of a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>. This
846
- value determines whether the file chooser will present the stock
847
- confirmation dialog, accept the user's choice of a filename, or
848
- let the user choose another filename.
849
- </p>
850
- <div class="variablelist"><table border="0">
851
- <col align="left" valign="top">
852
- <tbody>
853
- <tr>
854
- <td><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-CONFIRM:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM</code></span></p></td>
855
- <td>The file chooser will present
856
- its stock dialog to confirm about overwriting an existing file.
857
- </td>
858
- </tr>
859
- <tr>
860
- <td><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-ACCEPT-FILENAME:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</code></span></p></td>
861
- <td>The file chooser will
862
- terminate and accept the user's choice of a file name.
863
- </td>
864
- </tr>
865
- <tr>
866
- <td><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-SELECT-AGAIN:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</code></span></p></td>
867
- <td>The file chooser will
868
- continue running, so as to let the user select another file name.
869
- </td>
870
- </tr>
871
- </tbody>
872
- </table></div>
873
- <p class="since">Since 2.8</p>
874
- </div>
875
- <hr>
876
- <div class="refsect2">
877
- <a name="GTK-FILE-CHOOSER-ERROR:CAPS"></a><h3>GTK_FILE_CHOOSER_ERROR</h3>
878
- <pre class="programlisting">#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
879
- </pre>
880
- <p>
881
- Used to get the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> quark for <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> errors.
882
- </p>
883
- </div>
884
- <hr>
885
- <div class="refsect2">
886
- <a name="GtkFileChooserError"></a><h3>enum GtkFileChooserError</h3>
887
- <pre class="programlisting">typedef enum {
888
- GTK_FILE_CHOOSER_ERROR_NONEXISTENT,
889
- GTK_FILE_CHOOSER_ERROR_BAD_FILENAME,
890
- GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS,
891
- GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
892
- } GtkFileChooserError;
893
- </pre>
894
- <p>
895
- These identify the various errors that can occur while calling
896
- <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> functions.
897
- </p>
898
- <div class="variablelist"><table border="0">
899
- <col align="left" valign="top">
900
- <tbody>
901
- <tr>
902
- <td><p><a name="GTK-FILE-CHOOSER-ERROR-NONEXISTENT:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ERROR_NONEXISTENT</code></span></p></td>
903
- <td>Indicates that a file does not exist.
904
- </td>
905
- </tr>
906
- <tr>
907
- <td><p><a name="GTK-FILE-CHOOSER-ERROR-BAD-FILENAME:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ERROR_BAD_FILENAME</code></span></p></td>
908
- <td>Indicates a malformed filename.
909
- </td>
910
- </tr>
911
- <tr>
912
- <td><p><a name="GTK-FILE-CHOOSER-ERROR-ALREADY-EXISTS:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS</code></span></p></td>
913
- <td>Indicates a duplicate path (e.g. when
914
- adding a bookmark).
915
- </td>
916
- </tr>
917
- <tr>
918
- <td><p><a name="GTK-FILE-CHOOSER-ERROR-INCOMPLETE-HOSTNAME:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME</code></span></p></td>
919
- <td>Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).
920
- </td>
921
- </tr>
922
- </tbody>
923
- </table></div>
924
- </div>
925
- <hr>
926
- <div class="refsect2">
927
- <a name="gtk-file-chooser-set-action"></a><h3>gtk_file_chooser_set_action ()</h3>
928
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_action (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
929
- <em class="parameter"><code><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> action</code></em>);</pre>
930
- <p>
931
- Sets the type of operation that the chooser is performing; the
932
- user interface is adapted to suit the selected action. For example,
933
- an option to create a new folder might be shown if the action is
934
- <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> but not if the action is
935
- <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a>.
936
- </p>
937
- <div class="variablelist"><table border="0">
938
- <col align="left" valign="top">
939
- <tbody>
940
- <tr>
941
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
942
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
943
- </td>
944
- </tr>
945
- <tr>
946
- <td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
947
- <td>the action that the file selector is performing</td>
948
- </tr>
949
- </tbody>
950
- </table></div>
951
- <p class="since">Since 2.4</p>
952
- </div>
953
- <hr>
954
- <div class="refsect2">
955
- <a name="gtk-file-chooser-get-action"></a><h3>gtk_file_chooser_get_action ()</h3>
956
- <pre class="programlisting"><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="returnvalue">GtkFileChooserAction</span></a> gtk_file_chooser_get_action (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
957
- <p>
958
- Gets the type of operation that the file chooser is performing; see
959
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-action" title="gtk_file_chooser_set_action ()"><code class="function">gtk_file_chooser_set_action()</code></a>.
960
- </p>
961
- <div class="variablelist"><table border="0">
962
- <col align="left" valign="top">
963
- <tbody>
964
- <tr>
965
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
966
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
967
- </td>
968
- </tr>
969
- <tr>
970
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
971
- <td>the action that the file selector is performing</td>
972
- </tr>
973
- </tbody>
974
- </table></div>
975
- <p class="since">Since 2.4</p>
976
- </div>
977
- <hr>
978
- <div class="refsect2">
979
- <a name="gtk-file-chooser-set-local-only"></a><h3>gtk_file_chooser_set_local_only ()</h3>
980
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_local_only (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
981
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local_only</code></em>);</pre>
982
- <p>
983
- Sets whether only local files can be selected in the
984
- file selector. If <em class="parameter"><code>local_only</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default),
985
- then the selected file are files are guaranteed to be
986
- accessible through the operating systems native file
987
- file system and therefore the application only
988
- needs to worry about the filename functions in
989
- <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>, like <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename"><code class="function">gtk_file_chooser_get_filename()</code></a>,
990
- rather than the URI functions like
991
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a>,
992
- </p>
993
- <div class="variablelist"><table border="0">
994
- <col align="left" valign="top">
995
- <tbody>
996
- <tr>
997
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
998
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
999
- </td>
1000
- </tr>
1001
- <tr>
1002
- <td><p><span class="term"><em class="parameter"><code>local_only</code></em> :</span></p></td>
1003
- <td>
1004
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if only local files can be selected</td>
1005
- </tr>
1006
- </tbody>
1007
- </table></div>
1008
- <p class="since">Since 2.4</p>
1009
- </div>
1010
- <hr>
1011
- <div class="refsect2">
1012
- <a name="gtk-file-chooser-get-local-only"></a><h3>gtk_file_chooser_get_local_only ()</h3>
1013
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_local_only (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1014
- <p>
1015
- Gets whether only local files can be selected in the
1016
- file selector. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-local-only" title="gtk_file_chooser_set_local_only ()"><code class="function">gtk_file_chooser_set_local_only()</code></a>
1017
- </p>
1018
- <div class="variablelist"><table border="0">
1019
- <col align="left" valign="top">
1020
- <tbody>
1021
- <tr>
1022
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1023
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1024
- </td>
1025
- </tr>
1026
- <tr>
1027
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1028
- <td>
1029
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if only local files can be selected.</td>
1030
- </tr>
1031
- </tbody>
1032
- </table></div>
1033
- <p class="since">Since 2.4</p>
1034
- </div>
1035
- <hr>
1036
- <div class="refsect2">
1037
- <a name="gtk-file-chooser-set-select-multiple"></a><h3>gtk_file_chooser_set_select_multiple ()</h3>
1038
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_select_multiple
1039
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1040
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> select_multiple</code></em>);</pre>
1041
- <p>
1042
- Sets whether multiple files can be selected in the file selector. This is
1043
- only relevant if the action is set to be <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a> or
1044
- <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></a>.
1045
- </p>
1046
- <div class="variablelist"><table border="0">
1047
- <col align="left" valign="top">
1048
- <tbody>
1049
- <tr>
1050
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1051
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1052
- </td>
1053
- </tr>
1054
- <tr>
1055
- <td><p><span class="term"><em class="parameter"><code>select_multiple</code></em> :</span></p></td>
1056
- <td>
1057
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if multiple files can be selected.</td>
1058
- </tr>
1059
- </tbody>
1060
- </table></div>
1061
- <p class="since">Since 2.4</p>
1062
- </div>
1063
- <hr>
1064
- <div class="refsect2">
1065
- <a name="gtk-file-chooser-get-select-multiple"></a><h3>gtk_file_chooser_get_select_multiple ()</h3>
1066
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_select_multiple
1067
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1068
- <p>
1069
- Gets whether multiple files can be selected in the file
1070
- selector. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-select-multiple" title="gtk_file_chooser_set_select_multiple ()"><code class="function">gtk_file_chooser_set_select_multiple()</code></a>.
1071
- </p>
1072
- <div class="variablelist"><table border="0">
1073
- <col align="left" valign="top">
1074
- <tbody>
1075
- <tr>
1076
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1077
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1078
- </td>
1079
- </tr>
1080
- <tr>
1081
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1082
- <td>
1083
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if multiple files can be selected.</td>
1084
- </tr>
1085
- </tbody>
1086
- </table></div>
1087
- <p class="since">Since 2.4</p>
1088
- </div>
1089
- <hr>
1090
- <div class="refsect2">
1091
- <a name="gtk-file-chooser-set-show-hidden"></a><h3>gtk_file_chooser_set_show_hidden ()</h3>
1092
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_show_hidden (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1093
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_hidden</code></em>);</pre>
1094
- <p>
1095
- Sets whether hidden files and folders are displayed in the file selector.
1096
- </p>
1097
- <div class="variablelist"><table border="0">
1098
- <col align="left" valign="top">
1099
- <tbody>
1100
- <tr>
1101
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1102
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1103
- </td>
1104
- </tr>
1105
- <tr>
1106
- <td><p><span class="term"><em class="parameter"><code>show_hidden</code></em> :</span></p></td>
1107
- <td>
1108
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if hidden files and folders should be displayed.</td>
1109
- </tr>
1110
- </tbody>
1111
- </table></div>
1112
- <p class="since">Since 2.6</p>
1113
- </div>
1114
- <hr>
1115
- <div class="refsect2">
1116
- <a name="gtk-file-chooser-get-show-hidden"></a><h3>gtk_file_chooser_get_show_hidden ()</h3>
1117
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_show_hidden (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1118
- <p>
1119
- Gets whether hidden files and folders are displayed in the file selector.
1120
- See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-show-hidden" title="gtk_file_chooser_set_show_hidden ()"><code class="function">gtk_file_chooser_set_show_hidden()</code></a>.
1121
- </p>
1122
- <div class="variablelist"><table border="0">
1123
- <col align="left" valign="top">
1124
- <tbody>
1125
- <tr>
1126
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1127
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1128
- </td>
1129
- </tr>
1130
- <tr>
1131
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1132
- <td>
1133
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if hidden files and folders are displayed.</td>
1134
- </tr>
1135
- </tbody>
1136
- </table></div>
1137
- <p class="since">Since 2.6</p>
1138
- </div>
1139
- <hr>
1140
- <div class="refsect2">
1141
- <a name="gtk-file-chooser-set-do-overwrite-confirmation"></a><h3>gtk_file_chooser_set_do_overwrite_confirmation ()</h3>
1142
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_do_overwrite_confirmation
1143
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1144
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> do_overwrite_confirmation</code></em>);</pre>
1145
- <p>
1146
- Sets whether a file chooser in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode will present
1147
- a confirmation dialog if the user types a file name that already exists. This
1148
- is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> by default.
1149
- </p>
1150
- <p>
1151
- Regardless of this setting, the <em class="parameter"><code>chooser</code></em> will emit the
1152
- <a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a> signal when appropriate.
1153
- </p>
1154
- <p>
1155
- If all you need is the stock confirmation dialog, set this property to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
1156
- You can override the way confirmation is done by actually handling the
1157
- <a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a> signal; please refer to its documentation
1158
- for the details.
1159
- </p>
1160
- <div class="variablelist"><table border="0">
1161
- <col align="left" valign="top">
1162
- <tbody>
1163
- <tr>
1164
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1165
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1166
- </td>
1167
- </tr>
1168
- <tr>
1169
- <td><p><span class="term"><em class="parameter"><code>do_overwrite_confirmation</code></em> :</span></p></td>
1170
- <td>whether to confirm overwriting in save mode</td>
1171
- </tr>
1172
- </tbody>
1173
- </table></div>
1174
- <p class="since">Since 2.8</p>
1175
- </div>
1176
- <hr>
1177
- <div class="refsect2">
1178
- <a name="gtk-file-chooser-get-do-overwrite-confirmation"></a><h3>gtk_file_chooser_get_do_overwrite_confirmation ()</h3>
1179
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_do_overwrite_confirmation
1180
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1181
- <p>
1182
- Queries whether a file chooser is set to confirm for overwriting when the user
1183
- types a file name that already exists.
1184
- </p>
1185
- <div class="variablelist"><table border="0">
1186
- <col align="left" valign="top">
1187
- <tbody>
1188
- <tr>
1189
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1190
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1191
- </td>
1192
- </tr>
1193
- <tr>
1194
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1195
- <td>
1196
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file chooser will present a confirmation dialog;
1197
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
1198
- </tr>
1199
- </tbody>
1200
- </table></div>
1201
- <p class="since">Since 2.8</p>
1202
- </div>
1203
- <hr>
1204
- <div class="refsect2">
1205
- <a name="gtk-file-chooser-set-create-folders"></a><h3>gtk_file_chooser_set_create_folders ()</h3>
1206
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_create_folders (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1207
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> create_folders</code></em>);</pre>
1208
- <p>
1209
- Sets whether file choser will offer to create new folders.
1210
- This is only relevant if the action is not set to be
1211
- <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a>.
1212
- </p>
1213
- <div class="variablelist"><table border="0">
1214
- <col align="left" valign="top">
1215
- <tbody>
1216
- <tr>
1217
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1218
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1219
- </td>
1220
- </tr>
1221
- <tr>
1222
- <td><p><span class="term"><em class="parameter"><code>create_folders</code></em> :</span></p></td>
1223
- <td>
1224
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the New Folder button should be displayed</td>
1225
- </tr>
1226
- </tbody>
1227
- </table></div>
1228
- <p class="since">Since 2.18</p>
1229
- </div>
1230
- <hr>
1231
- <div class="refsect2">
1232
- <a name="gtk-file-chooser-get-create-folders"></a><h3>gtk_file_chooser_get_create_folders ()</h3>
1233
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_create_folders (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1234
- <p>
1235
- Gets whether file choser will offer to create new folders.
1236
- See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-create-folders" title="gtk_file_chooser_set_create_folders ()"><code class="function">gtk_file_chooser_set_create_folders()</code></a>.
1237
- </p>
1238
- <div class="variablelist"><table border="0">
1239
- <col align="left" valign="top">
1240
- <tbody>
1241
- <tr>
1242
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1243
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1244
- </td>
1245
- </tr>
1246
- <tr>
1247
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1248
- <td>
1249
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the New Folder button should be displayed.</td>
1250
- </tr>
1251
- </tbody>
1252
- </table></div>
1253
- <p class="since">Since 2.18</p>
1254
- </div>
1255
- <hr>
1256
- <div class="refsect2">
1257
- <a name="gtk-file-chooser-set-current-name"></a><h3>gtk_file_chooser_set_current_name ()</h3>
1258
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_current_name (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1259
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
1260
- <p>
1261
- Sets the current name in the file selector, as if entered
1262
- by the user. Note that the name passed in here is a UTF-8
1263
- string rather than a filename. This function is meant for
1264
- such uses as a suggested name in a "Save As..." dialog.
1265
- </p>
1266
- <p>
1267
- If you want to preselect a particular existing file, you should use
1268
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filename" title="gtk_file_chooser_set_filename"><code class="function">gtk_file_chooser_set_filename()</code></a> or <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-uri" title="gtk_file_chooser_set_uri ()"><code class="function">gtk_file_chooser_set_uri()</code></a> instead.
1269
- Please see the documentation for those functions for an example of using
1270
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-name" title="gtk_file_chooser_set_current_name ()"><code class="function">gtk_file_chooser_set_current_name()</code></a> as well.
1271
- </p>
1272
- <div class="variablelist"><table border="0">
1273
- <col align="left" valign="top">
1274
- <tbody>
1275
- <tr>
1276
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1277
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1278
- </td>
1279
- </tr>
1280
- <tr>
1281
- <td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
1282
- <td>the filename to use, as a UTF-8 string. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
1283
- </td>
1284
- </tr>
1285
- </tbody>
1286
- </table></div>
1287
- <p class="since">Since 2.4</p>
1288
- </div>
1289
- <hr>
1290
- <div class="refsect2">
1291
- <a name="gtk-file-chooser-get-filename"></a><h3>gtk_file_chooser_get_filename</h3>
1292
- <pre class="programlisting">#define gtk_file_chooser_get_filename gtk_file_chooser_get_filename_utf8
1293
- </pre>
1294
- <p>
1295
- Gets the filename for the currently selected file in
1296
- the file selector. If multiple files are selected,
1297
- one of the filenames will be returned at random.
1298
- </p>
1299
- <p>
1300
- If the file chooser is in folder mode, this function returns the selected
1301
- folder.
1302
- </p>
1303
- <div class="variablelist"><table border="0">
1304
- <col align="left" valign="top">
1305
- <tbody>
1306
- <tr>
1307
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1308
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1309
- </td>
1310
- </tr>
1311
- <tr>
1312
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1313
- <td>The currently selected filename, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1314
- if no file is selected, or the selected file can't
1315
- be represented with a local filename. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
1316
- </td>
1317
- </tr>
1318
- </tbody>
1319
- </table></div>
1320
- <p class="since">Since 2.4</p>
1321
- </div>
1322
- <hr>
1323
- <div class="refsect2">
1324
- <a name="gtk-file-chooser-set-filename"></a><h3>gtk_file_chooser_set_filename</h3>
1325
- <pre class="programlisting">#define gtk_file_chooser_set_filename gtk_file_chooser_set_filename_utf8
1326
- </pre>
1327
- <p>
1328
- Sets <em class="parameter"><code>filename</code></em> as the current filename for the file chooser, by changing
1329
- to the file's parent folder and actually selecting the file in list. If
1330
- the <em class="parameter"><code>chooser</code></em> is in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode, the file's base name
1331
- will also appear in the dialog's file name entry.
1332
- </p>
1333
- <p>
1334
- If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current
1335
- folder of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>. This
1336
- is equivalent to a sequence of <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()"><code class="function">gtk_file_chooser_unselect_all()</code></a> followed by
1337
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename"><code class="function">gtk_file_chooser_select_filename()</code></a>.
1338
- </p>
1339
- <p>
1340
- Note that the file must exist, or nothing will be done except
1341
- for the directory change.
1342
- </p>
1343
- <p>
1344
- If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
1345
- you should use this function if you already have a file name to which the
1346
- user may save; for example, when the user opens an existing file and then
1347
- does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
1348
- a file name already — for example, if the user just created a new
1349
- file and is saving it for the first time, do not call this function.
1350
- Instead, use something similar to this:
1351
- </p>
1352
- <div class="informalexample">
1353
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1354
- <tbody>
1355
- <tr>
1356
- <td class="listing_lines" align="right"><pre>1
1357
- 2
1358
- 3
1359
- 4
1360
- 5
1361
- 6
1362
- 7
1363
- 8
1364
- 9
1365
- 10
1366
- 11</pre></td>
1367
- <td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">document_is_new</span><span class="symbol">)</span>
1368
- <span class="normal"> </span><span class="cbracket">{</span>
1369
- <span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
1370
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder">gtk_file_chooser_set_current_folder</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> default_folder_for_saving</span><span class="symbol">);</span>
1371
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-name">gtk_file_chooser_set_current_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Untitled document"</span><span class="symbol">);</span>
1372
- <span class="normal"> </span><span class="cbracket">}</span>
1373
- <span class="keyword">else</span>
1374
- <span class="normal"> </span><span class="cbracket">{</span>
1375
- <span class="normal"> </span><span class="comment">/* the user edited an existing document */</span><span class="normal"> </span>
1376
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-filename">gtk_file_chooser_set_filename</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> existing_filename</span><span class="symbol">);</span>
1377
- <span class="normal"> </span><span class="cbracket">}</span></pre></td>
1378
- </tr>
1379
- </tbody>
1380
- </table>
1381
- </div>
1382
-
1383
- <p>
1384
- </p>
1385
- <div class="variablelist"><table border="0">
1386
- <col align="left" valign="top">
1387
- <tbody>
1388
- <tr>
1389
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1390
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1391
- </td>
1392
- </tr>
1393
- <tr>
1394
- <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1395
- <td>the filename to set as current. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
1396
- </td>
1397
- </tr>
1398
- <tr>
1399
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1400
- <td>
1401
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
1402
- selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
1403
- </tr>
1404
- </tbody>
1405
- </table></div>
1406
- <p class="since">Since 2.4</p>
1407
- </div>
1408
- <hr>
1409
- <div class="refsect2">
1410
- <a name="gtk-file-chooser-select-filename"></a><h3>gtk_file_chooser_select_filename</h3>
1411
- <pre class="programlisting">#define gtk_file_chooser_select_filename gtk_file_chooser_select_filename_utf8
1412
- </pre>
1413
- <p>
1414
- Selects a filename. If the file name isn't in the current
1415
- folder of <em class="parameter"><code>chooser</code></em>, then the current folder of <em class="parameter"><code>chooser</code></em> will
1416
- be changed to the folder containing <em class="parameter"><code>filename</code></em>.
1417
- </p>
1418
- <div class="variablelist"><table border="0">
1419
- <col align="left" valign="top">
1420
- <tbody>
1421
- <tr>
1422
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1423
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1424
- </td>
1425
- </tr>
1426
- <tr>
1427
- <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1428
- <td>the filename to select. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
1429
- </td>
1430
- </tr>
1431
- <tr>
1432
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1433
- <td>
1434
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
1435
- selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
1436
- </tr>
1437
- </tbody>
1438
- </table></div>
1439
- <p class="since">Since 2.4</p>
1440
- </div>
1441
- <hr>
1442
- <div class="refsect2">
1443
- <a name="gtk-file-chooser-unselect-filename"></a><h3>gtk_file_chooser_unselect_filename</h3>
1444
- <pre class="programlisting">#define gtk_file_chooser_unselect_filename gtk_file_chooser_unselect_filename_utf8
1445
- </pre>
1446
- <p>
1447
- Unselects a currently selected filename. If the filename
1448
- is not in the current directory, does not exist, or
1449
- is otherwise not currently selected, does nothing.
1450
- </p>
1451
- <div class="variablelist"><table border="0">
1452
- <col align="left" valign="top">
1453
- <tbody>
1454
- <tr>
1455
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1456
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1457
- </td>
1458
- </tr>
1459
- <tr>
1460
- <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1461
- <td>the filename to unselect. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
1462
- </td>
1463
- </tr>
1464
- </tbody>
1465
- </table></div>
1466
- <p class="since">Since 2.4</p>
1467
- </div>
1468
- <hr>
1469
- <div class="refsect2">
1470
- <a name="gtk-file-chooser-select-all"></a><h3>gtk_file_chooser_select_all ()</h3>
1471
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_select_all (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1472
- <p>
1473
- Selects all the files in the current folder of a file chooser.
1474
- </p>
1475
- <div class="variablelist"><table border="0">
1476
- <col align="left" valign="top">
1477
- <tbody><tr>
1478
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1479
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1480
- </td>
1481
- </tr></tbody>
1482
- </table></div>
1483
- <p class="since">Since 2.4</p>
1484
- </div>
1485
- <hr>
1486
- <div class="refsect2">
1487
- <a name="gtk-file-chooser-unselect-all"></a><h3>gtk_file_chooser_unselect_all ()</h3>
1488
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_unselect_all (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1489
- <p>
1490
- Unselects all the files in the current folder of a file chooser.
1491
- </p>
1492
- <div class="variablelist"><table border="0">
1493
- <col align="left" valign="top">
1494
- <tbody><tr>
1495
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1496
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1497
- </td>
1498
- </tr></tbody>
1499
- </table></div>
1500
- <p class="since">Since 2.4</p>
1501
- </div>
1502
- <hr>
1503
- <div class="refsect2">
1504
- <a name="gtk-file-chooser-get-filenames"></a><h3>gtk_file_chooser_get_filenames</h3>
1505
- <pre class="programlisting">#define gtk_file_chooser_get_filenames gtk_file_chooser_get_filenames_utf8
1506
- </pre>
1507
- <p>
1508
- Lists all the selected files and subfolders in the current folder of
1509
- <em class="parameter"><code>chooser</code></em>. The returned names are full absolute paths. If files in the current
1510
- folder cannot be represented as local filenames they will be ignored. (See
1511
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>)
1512
- </p>
1513
- <div class="variablelist"><table border="0">
1514
- <col align="left" valign="top">
1515
- <tbody>
1516
- <tr>
1517
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1518
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1519
- </td>
1520
- </tr>
1521
- <tr>
1522
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1523
- <td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
1524
- containing the filenames of all selected files and subfolders in
1525
- the current folder. Free the returned list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>,
1526
- and the filenames with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1527
- </td>
1528
- </tr>
1529
- </tbody>
1530
- </table></div>
1531
- <p class="since">Since 2.4</p>
1532
- </div>
1533
- <hr>
1534
- <div class="refsect2">
1535
- <a name="gtk-file-chooser-set-current-folder"></a><h3>gtk_file_chooser_set_current_folder</h3>
1536
- <pre class="programlisting">#define gtk_file_chooser_set_current_folder gtk_file_chooser_set_current_folder_utf8
1537
- </pre>
1538
- <p>
1539
- Sets the current folder for <em class="parameter"><code>chooser</code></em> from a local filename.
1540
- The user will be shown the full contents of the current folder,
1541
- plus user interface elements for navigating to other folders.
1542
- </p>
1543
- <div class="variablelist"><table border="0">
1544
- <col align="left" valign="top">
1545
- <tbody>
1546
- <tr>
1547
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1548
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1549
- </td>
1550
- </tr>
1551
- <tr>
1552
- <td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
1553
- <td>the full path of the new current folder. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
1554
- </td>
1555
- </tr>
1556
- <tr>
1557
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1558
- <td>
1559
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1560
- otherwise.</td>
1561
- </tr>
1562
- </tbody>
1563
- </table></div>
1564
- <p class="since">Since 2.4</p>
1565
- </div>
1566
- <hr>
1567
- <div class="refsect2">
1568
- <a name="gtk-file-chooser-get-current-folder"></a><h3>gtk_file_chooser_get_current_folder</h3>
1569
- <pre class="programlisting">#define gtk_file_chooser_get_current_folder gtk_file_chooser_get_current_folder_utf8
1570
- </pre>
1571
- <p>
1572
- Gets the current folder of <em class="parameter"><code>chooser</code></em> as a local filename.
1573
- See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder"><code class="function">gtk_file_chooser_set_current_folder()</code></a>.
1574
- </p>
1575
- <p>
1576
- Note that this is the folder that the file chooser is currently displaying
1577
- (e.g. "/home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
1578
- as the currently-selected folder if the chooser is in
1579
- <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></a> mode
1580
- (e.g. "/home/username/Documents/selected-folder/". To get the
1581
- currently-selected folder in that mode, use <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a> as the
1582
- usual way to get the selection.
1583
- </p>
1584
- <div class="variablelist"><table border="0">
1585
- <col align="left" valign="top">
1586
- <tbody>
1587
- <tr>
1588
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1589
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1590
- </td>
1591
- </tr>
1592
- <tr>
1593
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1594
- <td>the full path of the current folder,
1595
- or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the current path cannot be represented as a local
1596
- filename. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. This function will also return
1597
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the file chooser was unable to load the last folder that
1598
- was requested from it; for example, as would be for calling
1599
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder"><code class="function">gtk_file_chooser_set_current_folder()</code></a> on a nonexistent folder. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
1600
- </td>
1601
- </tr>
1602
- </tbody>
1603
- </table></div>
1604
- <p class="since">Since 2.4</p>
1605
- </div>
1606
- <hr>
1607
- <div class="refsect2">
1608
- <a name="gtk-file-chooser-get-uri"></a><h3>gtk_file_chooser_get_uri ()</h3>
1609
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_file_chooser_get_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1610
- <p>
1611
- Gets the URI for the currently selected file in
1612
- the file selector. If multiple files are selected,
1613
- one of the filenames will be returned at random.
1614
- </p>
1615
- <p>
1616
- If the file chooser is in folder mode, this function returns the selected
1617
- folder.
1618
- </p>
1619
- <div class="variablelist"><table border="0">
1620
- <col align="left" valign="top">
1621
- <tbody>
1622
- <tr>
1623
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1624
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1625
- </td>
1626
- </tr>
1627
- <tr>
1628
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1629
- <td>The currently selected URI, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1630
- if no file is selected. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
1631
- </td>
1632
- </tr>
1633
- </tbody>
1634
- </table></div>
1635
- <p class="since">Since 2.4</p>
1636
- </div>
1637
- <hr>
1638
- <div class="refsect2">
1639
- <a name="gtk-file-chooser-set-uri"></a><h3>gtk_file_chooser_set_uri ()</h3>
1640
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_set_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1641
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
1642
- <p>
1643
- Sets the file referred to by <em class="parameter"><code>uri</code></em> as the current file for the file chooser,
1644
- by changing to the URI's parent folder and actually selecting the URI in the
1645
- list. If the <em class="parameter"><code>chooser</code></em> is <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode, the URI's base
1646
- name will also appear in the dialog's file name entry.
1647
- </p>
1648
- <p>
1649
- If the URI isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current folder
1650
- of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>uri</code></em>. This is equivalent
1651
- to a sequence of <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()"><code class="function">gtk_file_chooser_unselect_all()</code></a> followed by
1652
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()"><code class="function">gtk_file_chooser_select_uri()</code></a>.
1653
- </p>
1654
- <p>
1655
- Note that the URI must exist, or nothing will be done except for the
1656
- directory change.
1657
- If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
1658
- you should use this function if you already have a file name to which the
1659
- user may save; for example, when the user opens an existing file and then
1660
- does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
1661
- a file name already — for example, if the user just created a new
1662
- file and is saving it for the first time, do not call this function.
1663
- Instead, use something similar to this:
1664
- </p>
1665
- <div class="informalexample">
1666
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1667
- <tbody>
1668
- <tr>
1669
- <td class="listing_lines" align="right"><pre>1
1670
- 2
1671
- 3
1672
- 4
1673
- 5
1674
- 6
1675
- 7
1676
- 8
1677
- 9
1678
- 10
1679
- 11</pre></td>
1680
- <td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">document_is_new</span><span class="symbol">)</span>
1681
- <span class="normal"> </span><span class="cbracket">{</span>
1682
- <span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
1683
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri">gtk_file_chooser_set_current_folder_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> default_folder_for_saving</span><span class="symbol">);</span>
1684
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-name">gtk_file_chooser_set_current_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Untitled document"</span><span class="symbol">);</span>
1685
- <span class="normal"> </span><span class="cbracket">}</span>
1686
- <span class="keyword">else</span>
1687
- <span class="normal"> </span><span class="cbracket">{</span>
1688
- <span class="normal"> </span><span class="comment">/* the user edited an existing document */</span><span class="normal"> </span>
1689
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-uri">gtk_file_chooser_set_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> existing_uri</span><span class="symbol">);</span>
1690
- <span class="normal"> </span><span class="cbracket">}</span></pre></td>
1691
- </tr>
1692
- </tbody>
1693
- </table>
1694
- </div>
1695
-
1696
- <p>
1697
- </p>
1698
- <div class="variablelist"><table border="0">
1699
- <col align="left" valign="top">
1700
- <tbody>
1701
- <tr>
1702
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1703
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1704
- </td>
1705
- </tr>
1706
- <tr>
1707
- <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
1708
- <td>the URI to set as current</td>
1709
- </tr>
1710
- <tr>
1711
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1712
- <td>
1713
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the URI was
1714
- selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
1715
- </tr>
1716
- </tbody>
1717
- </table></div>
1718
- <p class="since">Since 2.4</p>
1719
- </div>
1720
- <hr>
1721
- <div class="refsect2">
1722
- <a name="gtk-file-chooser-select-uri"></a><h3>gtk_file_chooser_select_uri ()</h3>
1723
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_select_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1724
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
1725
- <p>
1726
- Selects the file to by <em class="parameter"><code>uri</code></em>. If the URI doesn't refer to a
1727
- file in the current folder of <em class="parameter"><code>chooser</code></em>, then the current folder of
1728
- <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>.
1729
- </p>
1730
- <div class="variablelist"><table border="0">
1731
- <col align="left" valign="top">
1732
- <tbody>
1733
- <tr>
1734
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1735
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1736
- </td>
1737
- </tr>
1738
- <tr>
1739
- <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
1740
- <td>the URI to select</td>
1741
- </tr>
1742
- <tr>
1743
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1744
- <td>
1745
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the URI was
1746
- selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
1747
- </tr>
1748
- </tbody>
1749
- </table></div>
1750
- <p class="since">Since 2.4</p>
1751
- </div>
1752
- <hr>
1753
- <div class="refsect2">
1754
- <a name="gtk-file-chooser-unselect-uri"></a><h3>gtk_file_chooser_unselect_uri ()</h3>
1755
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_unselect_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1756
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
1757
- <p>
1758
- Unselects the file referred to by <em class="parameter"><code>uri</code></em>. If the file
1759
- is not in the current directory, does not exist, or
1760
- is otherwise not currently selected, does nothing.
1761
- </p>
1762
- <div class="variablelist"><table border="0">
1763
- <col align="left" valign="top">
1764
- <tbody>
1765
- <tr>
1766
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1767
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1768
- </td>
1769
- </tr>
1770
- <tr>
1771
- <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
1772
- <td>the URI to unselect</td>
1773
- </tr>
1774
- </tbody>
1775
- </table></div>
1776
- <p class="since">Since 2.4</p>
1777
- </div>
1778
- <hr>
1779
- <div class="refsect2">
1780
- <a name="gtk-file-chooser-get-uris"></a><h3>gtk_file_chooser_get_uris ()</h3>
1781
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_file_chooser_get_uris (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1782
- <p>
1783
- Lists all the selected files and subfolders in the current folder of
1784
- <em class="parameter"><code>chooser</code></em>. The returned names are full absolute URIs.
1785
- </p>
1786
- <div class="variablelist"><table border="0">
1787
- <col align="left" valign="top">
1788
- <tbody>
1789
- <tr>
1790
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1791
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1792
- </td>
1793
- </tr>
1794
- <tr>
1795
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1796
- <td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing the URIs of all selected
1797
- files and subfolders in the current folder. Free the returned list
1798
- with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the filenames with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
1799
- </td>
1800
- </tr>
1801
- </tbody>
1802
- </table></div>
1803
- <p class="since">Since 2.4</p>
1804
- </div>
1805
- <hr>
1806
- <div class="refsect2">
1807
- <a name="gtk-file-chooser-set-current-folder-uri"></a><h3>gtk_file_chooser_set_current_folder_uri ()</h3>
1808
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_set_current_folder_uri
1809
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1810
- <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
1811
- <p>
1812
- Sets the current folder for <em class="parameter"><code>chooser</code></em> from an URI.
1813
- The user will be shown the full contents of the current folder,
1814
- plus user interface elements for navigating to other folders.
1815
- </p>
1816
- <div class="variablelist"><table border="0">
1817
- <col align="left" valign="top">
1818
- <tbody>
1819
- <tr>
1820
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1821
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1822
- </td>
1823
- </tr>
1824
- <tr>
1825
- <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
1826
- <td>the URI for the new current folder</td>
1827
- </tr>
1828
- <tr>
1829
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1830
- <td>
1831
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
1832
- otherwise.</td>
1833
- </tr>
1834
- </tbody>
1835
- </table></div>
1836
- <p class="since">Since 2.4</p>
1837
- </div>
1838
- <hr>
1839
- <div class="refsect2">
1840
- <a name="gtk-file-chooser-get-current-folder-uri"></a><h3>gtk_file_chooser_get_current_folder_uri ()</h3>
1841
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_file_chooser_get_current_folder_uri
1842
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1843
- <p>
1844
- Gets the current folder of <em class="parameter"><code>chooser</code></em> as an URI.
1845
- See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()"><code class="function">gtk_file_chooser_set_current_folder_uri()</code></a>.
1846
- </p>
1847
- <p>
1848
- Note that this is the folder that the file chooser is currently displaying
1849
- (e.g. "file:///home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
1850
- as the currently-selected folder if the chooser is in
1851
- <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></a> mode
1852
- (e.g. "file:///home/username/Documents/selected-folder/". To get the
1853
- currently-selected folder in that mode, use <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a> as the
1854
- usual way to get the selection.
1855
- </p>
1856
- <div class="variablelist"><table border="0">
1857
- <col align="left" valign="top">
1858
- <tbody>
1859
- <tr>
1860
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1861
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1862
- </td>
1863
- </tr>
1864
- <tr>
1865
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1866
- <td>the URI for the current folder. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. This
1867
- function will also return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the file chooser was unable to load the
1868
- last folder that was requested from it; for example, as would be for calling
1869
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()"><code class="function">gtk_file_chooser_set_current_folder_uri()</code></a> on a nonexistent folder.</td>
1870
- </tr>
1871
- </tbody>
1872
- </table></div>
1873
- <p class="since">Since 2.4</p>
1874
- </div>
1875
- <hr>
1876
- <div class="refsect2">
1877
- <a name="gtk-file-chooser-set-preview-widget"></a><h3>gtk_file_chooser_set_preview_widget ()</h3>
1878
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_preview_widget (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1879
- <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);</pre>
1880
- <p>
1881
- Sets an application-supplied widget to use to display a custom preview
1882
- of the currently selected file. To implement a preview, after setting the
1883
- preview widget, you connect to the <a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title='The "update-preview" signal'><span class="type">"update-preview"</span></a>
1884
- signal, and call <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename"><code class="function">gtk_file_chooser_get_preview_filename()</code></a> or
1885
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()"><code class="function">gtk_file_chooser_get_preview_uri()</code></a> on each change. If you can
1886
- display a preview of the new file, update your widget and
1887
- set the preview active using <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a>.
1888
- Otherwise, set the preview inactive.
1889
- </p>
1890
- <p>
1891
- When there is no application-supplied preview widget, or the
1892
- application-supplied preview widget is not active, the file chooser
1893
- may display an internally generated preview of the current file or
1894
- it may display no preview at all.
1895
- </p>
1896
- <div class="variablelist"><table border="0">
1897
- <col align="left" valign="top">
1898
- <tbody>
1899
- <tr>
1900
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1901
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1902
- </td>
1903
- </tr>
1904
- <tr>
1905
- <td><p><span class="term"><em class="parameter"><code>preview_widget</code></em> :</span></p></td>
1906
- <td>widget for displaying preview.</td>
1907
- </tr>
1908
- </tbody>
1909
- </table></div>
1910
- <p class="since">Since 2.4</p>
1911
- </div>
1912
- <hr>
1913
- <div class="refsect2">
1914
- <a name="gtk-file-chooser-get-preview-widget"></a><h3>gtk_file_chooser_get_preview_widget ()</h3>
1915
- <pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_file_chooser_get_preview_widget (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1916
- <p>
1917
- Gets the current preview widget; see
1918
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>.
1919
- </p>
1920
- <div class="variablelist"><table border="0">
1921
- <col align="left" valign="top">
1922
- <tbody>
1923
- <tr>
1924
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1925
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1926
- </td>
1927
- </tr>
1928
- <tr>
1929
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1930
- <td>the current preview widget, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
1931
- </td>
1932
- </tr>
1933
- </tbody>
1934
- </table></div>
1935
- <p class="since">Since 2.4</p>
1936
- </div>
1937
- <hr>
1938
- <div class="refsect2">
1939
- <a name="gtk-file-chooser-set-preview-widget-active"></a><h3>gtk_file_chooser_set_preview_widget_active ()</h3>
1940
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_preview_widget_active
1941
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1942
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);</pre>
1943
- <p>
1944
- Sets whether the preview widget set by
1945
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a> should be shown for the
1946
- current filename. When <em class="parameter"><code>active</code></em> is set to false, the file chooser
1947
- may display an internally generated preview of the current file
1948
- or it may display no preview at all. See
1949
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a> for more details.
1950
- </p>
1951
- <div class="variablelist"><table border="0">
1952
- <col align="left" valign="top">
1953
- <tbody>
1954
- <tr>
1955
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1956
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1957
- </td>
1958
- </tr>
1959
- <tr>
1960
- <td><p><span class="term"><em class="parameter"><code>active</code></em> :</span></p></td>
1961
- <td>whether to display the user-specified preview widget</td>
1962
- </tr>
1963
- </tbody>
1964
- </table></div>
1965
- <p class="since">Since 2.4</p>
1966
- </div>
1967
- <hr>
1968
- <div class="refsect2">
1969
- <a name="gtk-file-chooser-get-preview-widget-active"></a><h3>gtk_file_chooser_get_preview_widget_active ()</h3>
1970
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_preview_widget_active
1971
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
1972
- <p>
1973
- Gets whether the preview widget set by <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>
1974
- should be shown for the current filename. See
1975
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a>.
1976
- </p>
1977
- <div class="variablelist"><table border="0">
1978
- <col align="left" valign="top">
1979
- <tbody>
1980
- <tr>
1981
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
1982
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
1983
- </td>
1984
- </tr>
1985
- <tr>
1986
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1987
- <td>
1988
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the preview widget is active for the current filename.</td>
1989
- </tr>
1990
- </tbody>
1991
- </table></div>
1992
- <p class="since">Since 2.4</p>
1993
- </div>
1994
- <hr>
1995
- <div class="refsect2">
1996
- <a name="gtk-file-chooser-set-use-preview-label"></a><h3>gtk_file_chooser_set_use_preview_label ()</h3>
1997
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_use_preview_label
1998
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
1999
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_label</code></em>);</pre>
2000
- <p>
2001
- Sets whether the file chooser should display a stock label with the name of
2002
- the file that is being previewed; the default is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. Applications that
2003
- want to draw the whole preview area themselves should set this to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and
2004
- display the name themselves in their preview widget.
2005
- </p>
2006
- <p>
2007
- See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>
2008
- </p>
2009
- <div class="variablelist"><table border="0">
2010
- <col align="left" valign="top">
2011
- <tbody>
2012
- <tr>
2013
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2014
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2015
- </td>
2016
- </tr>
2017
- <tr>
2018
- <td><p><span class="term"><em class="parameter"><code>use_label</code></em> :</span></p></td>
2019
- <td>whether to display a stock label with the name of the previewed file</td>
2020
- </tr>
2021
- </tbody>
2022
- </table></div>
2023
- <p class="since">Since 2.4</p>
2024
- </div>
2025
- <hr>
2026
- <div class="refsect2">
2027
- <a name="gtk-file-chooser-get-use-preview-label"></a><h3>gtk_file_chooser_get_use_preview_label ()</h3>
2028
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_use_preview_label
2029
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2030
- <p>
2031
- Gets whether a stock label should be drawn with the name of the previewed
2032
- file. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-use-preview-label" title="gtk_file_chooser_set_use_preview_label ()"><code class="function">gtk_file_chooser_set_use_preview_label()</code></a>.
2033
- </p>
2034
- <div class="variablelist"><table border="0">
2035
- <col align="left" valign="top">
2036
- <tbody>
2037
- <tr>
2038
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2039
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2040
- </td>
2041
- </tr>
2042
- <tr>
2043
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2044
- <td>
2045
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file chooser is set to display a label with the
2046
- name of the previewed file, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
2047
- </tr>
2048
- </tbody>
2049
- </table></div>
2050
- </div>
2051
- <hr>
2052
- <div class="refsect2">
2053
- <a name="gtk-file-chooser-get-preview-filename"></a><h3>gtk_file_chooser_get_preview_filename</h3>
2054
- <pre class="programlisting">#define gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_filename_utf8
2055
- </pre>
2056
- <p>
2057
- Gets the filename that should be previewed in a custom preview
2058
- widget. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>.
2059
- </p>
2060
- <div class="variablelist"><table border="0">
2061
- <col align="left" valign="top">
2062
- <tbody>
2063
- <tr>
2064
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2065
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2066
- </td>
2067
- </tr>
2068
- <tr>
2069
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2070
- <td>the filename to preview, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
2071
- no file is selected, or if the selected file cannot be represented
2072
- as a local filename. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
2073
- </td>
2074
- </tr>
2075
- </tbody>
2076
- </table></div>
2077
- <p class="since">Since 2.4</p>
2078
- </div>
2079
- <hr>
2080
- <div class="refsect2">
2081
- <a name="gtk-file-chooser-get-preview-uri"></a><h3>gtk_file_chooser_get_preview_uri ()</h3>
2082
- <pre class="programlisting"><span class="returnvalue">char</span> * gtk_file_chooser_get_preview_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2083
- <p>
2084
- Gets the URI that should be previewed in a custom preview
2085
- widget. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>.
2086
- </p>
2087
- <div class="variablelist"><table border="0">
2088
- <col align="left" valign="top">
2089
- <tbody>
2090
- <tr>
2091
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2092
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2093
- </td>
2094
- </tr>
2095
- <tr>
2096
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2097
- <td>the URI for the file to preview, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no file is
2098
- selected. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
2099
- </tr>
2100
- </tbody>
2101
- </table></div>
2102
- <p class="since">Since 2.4</p>
2103
- </div>
2104
- <hr>
2105
- <div class="refsect2">
2106
- <a name="gtk-file-chooser-set-extra-widget"></a><h3>gtk_file_chooser_set_extra_widget ()</h3>
2107
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_extra_widget (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2108
- <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);</pre>
2109
- <p>
2110
- Sets an application-supplied widget to provide extra options to the user.
2111
- </p>
2112
- <div class="variablelist"><table border="0">
2113
- <col align="left" valign="top">
2114
- <tbody>
2115
- <tr>
2116
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2117
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2118
- </td>
2119
- </tr>
2120
- <tr>
2121
- <td><p><span class="term"><em class="parameter"><code>extra_widget</code></em> :</span></p></td>
2122
- <td>widget for extra options</td>
2123
- </tr>
2124
- </tbody>
2125
- </table></div>
2126
- <p class="since">Since 2.4</p>
2127
- </div>
2128
- <hr>
2129
- <div class="refsect2">
2130
- <a name="gtk-file-chooser-get-extra-widget"></a><h3>gtk_file_chooser_get_extra_widget ()</h3>
2131
- <pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_file_chooser_get_extra_widget (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2132
- <p>
2133
- Gets the current preview widget; see
2134
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-extra-widget" title="gtk_file_chooser_set_extra_widget ()"><code class="function">gtk_file_chooser_set_extra_widget()</code></a>.
2135
- </p>
2136
- <div class="variablelist"><table border="0">
2137
- <col align="left" valign="top">
2138
- <tbody>
2139
- <tr>
2140
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2141
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2142
- </td>
2143
- </tr>
2144
- <tr>
2145
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2146
- <td>the current extra widget, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
2147
- </td>
2148
- </tr>
2149
- </tbody>
2150
- </table></div>
2151
- <p class="since">Since 2.4</p>
2152
- </div>
2153
- <hr>
2154
- <div class="refsect2">
2155
- <a name="gtk-file-chooser-add-filter"></a><h3>gtk_file_chooser_add_filter ()</h3>
2156
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_add_filter (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2157
- <em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
2158
- <p>
2159
- Adds <em class="parameter"><code>filter</code></em> to the list of filters that the user can select between.
2160
- When a filter is selected, only files that are passed by that
2161
- filter are displayed.
2162
- </p>
2163
- <p>
2164
- Note that the <em class="parameter"><code>chooser</code></em> takes ownership of the filter, so you have to
2165
- ref and sink it if you want to keep a reference.
2166
- </p>
2167
- <div class="variablelist"><table border="0">
2168
- <col align="left" valign="top">
2169
- <tbody>
2170
- <tr>
2171
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2172
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2173
- </td>
2174
- </tr>
2175
- <tr>
2176
- <td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
2177
- <td>a <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>
2178
- </td>
2179
- </tr>
2180
- </tbody>
2181
- </table></div>
2182
- <p class="since">Since 2.4</p>
2183
- </div>
2184
- <hr>
2185
- <div class="refsect2">
2186
- <a name="gtk-file-chooser-remove-filter"></a><h3>gtk_file_chooser_remove_filter ()</h3>
2187
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_remove_filter (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2188
- <em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
2189
- <p>
2190
- Removes <em class="parameter"><code>filter</code></em> from the list of filters that the user can select between.
2191
- </p>
2192
- <div class="variablelist"><table border="0">
2193
- <col align="left" valign="top">
2194
- <tbody>
2195
- <tr>
2196
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2197
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2198
- </td>
2199
- </tr>
2200
- <tr>
2201
- <td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
2202
- <td>a <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>
2203
- </td>
2204
- </tr>
2205
- </tbody>
2206
- </table></div>
2207
- <p class="since">Since 2.4</p>
2208
- </div>
2209
- <hr>
2210
- <div class="refsect2">
2211
- <a name="gtk-file-chooser-list-filters"></a><h3>gtk_file_chooser_list_filters ()</h3>
2212
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_file_chooser_list_filters (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2213
- <p>
2214
- Lists the current set of user-selectable filters; see
2215
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-filter" title="gtk_file_chooser_add_filter ()"><code class="function">gtk_file_chooser_add_filter()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-filter" title="gtk_file_chooser_remove_filter ()"><code class="function">gtk_file_chooser_remove_filter()</code></a>.
2216
- </p>
2217
- <div class="variablelist"><table border="0">
2218
- <col align="left" valign="top">
2219
- <tbody>
2220
- <tr>
2221
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2222
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2223
- </td>
2224
- </tr>
2225
- <tr>
2226
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2227
- <td>a
2228
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing the current set of user selectable filters. The
2229
- contents of the list are owned by GTK+, but you must free the list
2230
- itself with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> when you are done with it. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkFileFilter][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
2231
- </td>
2232
- </tr>
2233
- </tbody>
2234
- </table></div>
2235
- <p class="since">Since 2.4</p>
2236
- </div>
2237
- <hr>
2238
- <div class="refsect2">
2239
- <a name="gtk-file-chooser-set-filter"></a><h3>gtk_file_chooser_set_filter ()</h3>
2240
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_filter (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2241
- <em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
2242
- <p>
2243
- Sets the current filter; only the files that pass the
2244
- filter will be displayed. If the user-selectable list of filters
2245
- is non-empty, then the filter should be one of the filters
2246
- in that list. Setting the current filter when the list of
2247
- filters is empty is useful if you want to restrict the displayed
2248
- set of files without letting the user change it.
2249
- </p>
2250
- <div class="variablelist"><table border="0">
2251
- <col align="left" valign="top">
2252
- <tbody>
2253
- <tr>
2254
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2255
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2256
- </td>
2257
- </tr>
2258
- <tr>
2259
- <td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
2260
- <td>a <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>
2261
- </td>
2262
- </tr>
2263
- </tbody>
2264
- </table></div>
2265
- <p class="since">Since 2.4</p>
2266
- </div>
2267
- <hr>
2268
- <div class="refsect2">
2269
- <a name="gtk-file-chooser-get-filter"></a><h3>gtk_file_chooser_get_filter ()</h3>
2270
- <pre class="programlisting"><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="returnvalue">GtkFileFilter</span></a> * gtk_file_chooser_get_filter (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2271
- <p>
2272
- Gets the current filter; see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filter" title="gtk_file_chooser_set_filter ()"><code class="function">gtk_file_chooser_set_filter()</code></a>.
2273
- </p>
2274
- <div class="variablelist"><table border="0">
2275
- <col align="left" valign="top">
2276
- <tbody>
2277
- <tr>
2278
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2279
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2280
- </td>
2281
- </tr>
2282
- <tr>
2283
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2284
- <td>the current filter, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
2285
- </td>
2286
- </tr>
2287
- </tbody>
2288
- </table></div>
2289
- <p class="since">Since 2.4</p>
2290
- </div>
2291
- <hr>
2292
- <div class="refsect2">
2293
- <a name="gtk-file-chooser-add-shortcut-folder"></a><h3>gtk_file_chooser_add_shortcut_folder</h3>
2294
- <pre class="programlisting">#define gtk_file_chooser_add_shortcut_folder gtk_file_chooser_add_shortcut_folder_utf8
2295
- </pre>
2296
- <p>
2297
- Adds a folder to be displayed with the shortcut folders in a file chooser.
2298
- Note that shortcut folders do not get saved, as they are provided by the
2299
- application. For example, you can use this to add a
2300
- "/usr/share/mydrawprogram/Clipart" folder to the volume list.
2301
- </p>
2302
- <div class="variablelist"><table border="0">
2303
- <col align="left" valign="top">
2304
- <tbody>
2305
- <tr>
2306
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2307
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2308
- </td>
2309
- </tr>
2310
- <tr>
2311
- <td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
2312
- <td>filename of the folder to add. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
2313
- </td>
2314
- </tr>
2315
- <tr>
2316
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2317
- <td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2318
- </td>
2319
- </tr>
2320
- <tr>
2321
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2322
- <td>
2323
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be added successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
2324
- otherwise. In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.</td>
2325
- </tr>
2326
- </tbody>
2327
- </table></div>
2328
- <p class="since">Since 2.4</p>
2329
- </div>
2330
- <hr>
2331
- <div class="refsect2">
2332
- <a name="gtk-file-chooser-remove-shortcut-folder"></a><h3>gtk_file_chooser_remove_shortcut_folder</h3>
2333
- <pre class="programlisting">#define gtk_file_chooser_remove_shortcut_folder gtk_file_chooser_remove_shortcut_folder_utf8
2334
- </pre>
2335
- <p>
2336
- Removes a folder from a file chooser's list of shortcut folders.
2337
- </p>
2338
- <div class="variablelist"><table border="0">
2339
- <col align="left" valign="top">
2340
- <tbody>
2341
- <tr>
2342
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2343
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2344
- </td>
2345
- </tr>
2346
- <tr>
2347
- <td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
2348
- <td>filename of the folder to remove. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
2349
- </td>
2350
- </tr>
2351
- <tr>
2352
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2353
- <td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2354
- </td>
2355
- </tr>
2356
- <tr>
2357
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2358
- <td>
2359
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeds, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
2360
- In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.
2361
- See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder" title="gtk_file_chooser_add_shortcut_folder"><code class="function">gtk_file_chooser_add_shortcut_folder()</code></a>
2362
- </td>
2363
- </tr>
2364
- </tbody>
2365
- </table></div>
2366
- <p class="since">Since 2.4</p>
2367
- </div>
2368
- <hr>
2369
- <div class="refsect2">
2370
- <a name="gtk-file-chooser-list-shortcut-folders"></a><h3>gtk_file_chooser_list_shortcut_folders</h3>
2371
- <pre class="programlisting">#define gtk_file_chooser_list_shortcut_folders gtk_file_chooser_list_shortcut_folders_utf8
2372
- </pre>
2373
- <p>
2374
- Queries the list of shortcut folders in the file chooser, as set by
2375
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder" title="gtk_file_chooser_add_shortcut_folder"><code class="function">gtk_file_chooser_add_shortcut_folder()</code></a>.
2376
- </p>
2377
- <div class="variablelist"><table border="0">
2378
- <col align="left" valign="top">
2379
- <tbody>
2380
- <tr>
2381
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2382
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2383
- </td>
2384
- </tr>
2385
- <tr>
2386
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2387
- <td>A list of
2388
- folder filenames, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are no shortcut folders. Free
2389
- the returned list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the filenames with
2390
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2391
- </td>
2392
- </tr>
2393
- </tbody>
2394
- </table></div>
2395
- <p class="since">Since 2.4</p>
2396
- </div>
2397
- <hr>
2398
- <div class="refsect2">
2399
- <a name="gtk-file-chooser-add-shortcut-folder-uri"></a><h3>gtk_file_chooser_add_shortcut_folder_uri ()</h3>
2400
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_add_shortcut_folder_uri
2401
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2402
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
2403
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2404
- <p>
2405
- Adds a folder URI to be displayed with the shortcut folders in a file
2406
- chooser. Note that shortcut folders do not get saved, as they are provided
2407
- by the application. For example, you can use this to add a
2408
- "file:///usr/share/mydrawprogram/Clipart" folder to the volume list.
2409
- </p>
2410
- <div class="variablelist"><table border="0">
2411
- <col align="left" valign="top">
2412
- <tbody>
2413
- <tr>
2414
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2415
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2416
- </td>
2417
- </tr>
2418
- <tr>
2419
- <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
2420
- <td>URI of the folder to add</td>
2421
- </tr>
2422
- <tr>
2423
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2424
- <td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2425
- </td>
2426
- </tr>
2427
- <tr>
2428
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2429
- <td>
2430
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be added successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
2431
- otherwise. In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.</td>
2432
- </tr>
2433
- </tbody>
2434
- </table></div>
2435
- <p class="since">Since 2.4</p>
2436
- </div>
2437
- <hr>
2438
- <div class="refsect2">
2439
- <a name="gtk-file-chooser-remove-shortcut-folder-uri"></a><h3>gtk_file_chooser_remove_shortcut_folder_uri ()</h3>
2440
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_remove_shortcut_folder_uri
2441
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2442
- <em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
2443
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2444
- <p>
2445
- Removes a folder URI from a file chooser's list of shortcut folders.
2446
- </p>
2447
- <div class="variablelist"><table border="0">
2448
- <col align="left" valign="top">
2449
- <tbody>
2450
- <tr>
2451
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2452
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2453
- </td>
2454
- </tr>
2455
- <tr>
2456
- <td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
2457
- <td>URI of the folder to remove</td>
2458
- </tr>
2459
- <tr>
2460
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2461
- <td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2462
- </td>
2463
- </tr>
2464
- <tr>
2465
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2466
- <td>
2467
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeds, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
2468
- In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.
2469
- See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder-uri" title="gtk_file_chooser_add_shortcut_folder_uri ()"><code class="function">gtk_file_chooser_add_shortcut_folder_uri()</code></a>
2470
- </td>
2471
- </tr>
2472
- </tbody>
2473
- </table></div>
2474
- <p class="since">Since 2.4</p>
2475
- </div>
2476
- <hr>
2477
- <div class="refsect2">
2478
- <a name="gtk-file-chooser-list-shortcut-folder-uris"></a><h3>gtk_file_chooser_list_shortcut_folder_uris ()</h3>
2479
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_file_chooser_list_shortcut_folder_uris
2480
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2481
- <p>
2482
- Queries the list of shortcut folders in the file chooser, as set by
2483
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder-uri" title="gtk_file_chooser_add_shortcut_folder_uri ()"><code class="function">gtk_file_chooser_add_shortcut_folder_uri()</code></a>.
2484
- </p>
2485
- <div class="variablelist"><table border="0">
2486
- <col align="left" valign="top">
2487
- <tbody>
2488
- <tr>
2489
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2490
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2491
- </td>
2492
- </tr>
2493
- <tr>
2494
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2495
- <td>A list of folder
2496
- URIs, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are no shortcut folders. Free the returned
2497
- list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the URIs with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2498
- </td>
2499
- </tr>
2500
- </tbody>
2501
- </table></div>
2502
- <p class="since">Since 2.4</p>
2503
- </div>
2504
- <hr>
2505
- <div class="refsect2">
2506
- <a name="gtk-file-chooser-get-current-folder-file"></a><h3>gtk_file_chooser_get_current_folder_file ()</h3>
2507
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * gtk_file_chooser_get_current_folder_file
2508
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2509
- <p>
2510
- Gets the current folder of <em class="parameter"><code>chooser</code></em> as <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>.
2511
- See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder-uri" title="gtk_file_chooser_get_current_folder_uri ()"><code class="function">gtk_file_chooser_get_current_folder_uri()</code></a>.
2512
- </p>
2513
- <div class="variablelist"><table border="0">
2514
- <col align="left" valign="top">
2515
- <tbody>
2516
- <tr>
2517
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2518
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2519
- </td>
2520
- </tr>
2521
- <tr>
2522
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2523
- <td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the current folder. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2524
- </td>
2525
- </tr>
2526
- </tbody>
2527
- </table></div>
2528
- <p class="since">Since 2.14</p>
2529
- </div>
2530
- <hr>
2531
- <div class="refsect2">
2532
- <a name="gtk-file-chooser-get-file"></a><h3>gtk_file_chooser_get_file ()</h3>
2533
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * gtk_file_chooser_get_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2534
- <p>
2535
- Gets the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the currently selected file in
2536
- the file selector. If multiple files are selected,
2537
- one of the files will be returned at random.
2538
- </p>
2539
- <p>
2540
- If the file chooser is in folder mode, this function returns the selected
2541
- folder.
2542
- </p>
2543
- <div class="variablelist"><table border="0">
2544
- <col align="left" valign="top">
2545
- <tbody>
2546
- <tr>
2547
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2548
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2549
- </td>
2550
- </tr>
2551
- <tr>
2552
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2553
- <td>a selected <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>. You own the returned file;
2554
- use <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> to release it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2555
- </td>
2556
- </tr>
2557
- </tbody>
2558
- </table></div>
2559
- <p class="since">Since 2.14</p>
2560
- </div>
2561
- <hr>
2562
- <div class="refsect2">
2563
- <a name="gtk-file-chooser-get-files"></a><h3>gtk_file_chooser_get_files ()</h3>
2564
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_file_chooser_get_files (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2565
- <p>
2566
- Lists all the selected files and subfolders in the current folder of <em class="parameter"><code>chooser</code></em>
2567
- as <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>. An internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>.
2568
- </p>
2569
- <div class="variablelist"><table border="0">
2570
- <col align="left" valign="top">
2571
- <tbody>
2572
- <tr>
2573
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2574
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2575
- </td>
2576
- </tr>
2577
- <tr>
2578
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2579
- <td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
2580
- containing a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for each selected file and subfolder in the
2581
- current folder. Free the returned list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and
2582
- the files with <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>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GFile][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2583
- </td>
2584
- </tr>
2585
- </tbody>
2586
- </table></div>
2587
- <p class="since">Since 2.14</p>
2588
- </div>
2589
- <hr>
2590
- <div class="refsect2">
2591
- <a name="gtk-file-chooser-get-preview-file"></a><h3>gtk_file_chooser_get_preview_file ()</h3>
2592
- <pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * gtk_file_chooser_get_preview_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
2593
- <p>
2594
- Gets the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> that should be previewed in a custom preview
2595
- Internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()"><code class="function">gtk_file_chooser_get_preview_uri()</code></a>.
2596
- </p>
2597
- <div class="variablelist"><table border="0">
2598
- <col align="left" valign="top">
2599
- <tbody>
2600
- <tr>
2601
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2602
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2603
- </td>
2604
- </tr>
2605
- <tr>
2606
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2607
- <td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the file to preview,
2608
- or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no file is selected. Free with <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>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
2609
- </td>
2610
- </tr>
2611
- </tbody>
2612
- </table></div>
2613
- <p class="since">Since 2.14</p>
2614
- </div>
2615
- <hr>
2616
- <div class="refsect2">
2617
- <a name="gtk-file-chooser-select-file"></a><h3>gtk_file_chooser_select_file ()</h3>
2618
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_select_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2619
- <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
2620
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2621
- <p>
2622
- Selects the file referred to by <em class="parameter"><code>file</code></em>. An internal function. See
2623
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()"><code class="function">_gtk_file_chooser_select_uri()</code></a>.
2624
- </p>
2625
- <div class="variablelist"><table border="0">
2626
- <col align="left" valign="top">
2627
- <tbody>
2628
- <tr>
2629
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2630
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2631
- </td>
2632
- </tr>
2633
- <tr>
2634
- <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
2635
- <td>the file to select</td>
2636
- </tr>
2637
- <tr>
2638
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2639
- <td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2640
- </td>
2641
- </tr>
2642
- <tr>
2643
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2644
- <td>
2645
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the path was
2646
- selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
2647
- </tr>
2648
- </tbody>
2649
- </table></div>
2650
- <p class="since">Since 2.14</p>
2651
- </div>
2652
- <hr>
2653
- <div class="refsect2">
2654
- <a name="gtk-file-chooser-set-current-folder-file"></a><h3>gtk_file_chooser_set_current_folder_file ()</h3>
2655
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_set_current_folder_file
2656
- (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2657
- <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
2658
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2659
- <p>
2660
- Sets the current folder for <em class="parameter"><code>chooser</code></em> from a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>.
2661
- Internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()"><code class="function">gtk_file_chooser_set_current_folder_uri()</code></a>.
2662
- </p>
2663
- <div class="variablelist"><table border="0">
2664
- <col align="left" valign="top">
2665
- <tbody>
2666
- <tr>
2667
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2668
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2669
- </td>
2670
- </tr>
2671
- <tr>
2672
- <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
2673
- <td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the new folder</td>
2674
- </tr>
2675
- <tr>
2676
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2677
- <td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2678
- </td>
2679
- </tr>
2680
- <tr>
2681
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2682
- <td>
2683
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
2684
- otherwise.</td>
2685
- </tr>
2686
- </tbody>
2687
- </table></div>
2688
- <p class="since">Since 2.14</p>
2689
- </div>
2690
- <hr>
2691
- <div class="refsect2">
2692
- <a name="gtk-file-chooser-set-file"></a><h3>gtk_file_chooser_set_file ()</h3>
2693
- <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_set_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2694
- <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
2695
- <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
2696
- <p>
2697
- Sets <em class="parameter"><code>file</code></em> as the current filename for the file chooser, by changing
2698
- to the file's parent folder and actually selecting the file in list. If
2699
- the <em class="parameter"><code>chooser</code></em> is in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode, the file's base name
2700
- will also appear in the dialog's file name entry.
2701
- </p>
2702
- <p>
2703
- If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current
2704
- folder of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>. This
2705
- is equivalent to a sequence of <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()"><code class="function">gtk_file_chooser_unselect_all()</code></a> followed by
2706
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename"><code class="function">gtk_file_chooser_select_filename()</code></a>.
2707
- </p>
2708
- <p>
2709
- Note that the file must exist, or nothing will be done except
2710
- for the directory change.
2711
- </p>
2712
- <p>
2713
- If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
2714
- you should use this function if you already have a file name to which the
2715
- user may save; for example, when the user opens an existing file and then
2716
- does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
2717
- a file name already — for example, if the user just created a new
2718
- file and is saving it for the first time, do not call this function.
2719
- Instead, use something similar to this:
2720
- </p>
2721
- <div class="informalexample">
2722
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
2723
- <tbody>
2724
- <tr>
2725
- <td class="listing_lines" align="right"><pre>1
2726
- 2
2727
- 3
2728
- 4
2729
- 5
2730
- 6
2731
- 7
2732
- 8
2733
- 9
2734
- 10
2735
- 11</pre></td>
2736
- <td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">document_is_new</span><span class="symbol">)</span>
2737
- <span class="normal"> </span><span class="cbracket">{</span>
2738
- <span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
2739
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-file">gtk_file_chooser_set_current_folder_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> default_file_for_saving</span><span class="symbol">);</span>
2740
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-name">gtk_file_chooser_set_current_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Untitled document"</span><span class="symbol">);</span>
2741
- <span class="normal"> </span><span class="cbracket">}</span>
2742
- <span class="keyword">else</span>
2743
- <span class="normal"> </span><span class="cbracket">{</span>
2744
- <span class="normal"> </span><span class="comment">/* the user edited an existing document */</span>
2745
- <span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-file">gtk_file_chooser_set_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> existing_file</span><span class="symbol">);</span>
2746
- <span class="normal"> </span><span class="cbracket">}</span></pre></td>
2747
- </tr>
2748
- </tbody>
2749
- </table>
2750
- </div>
2751
-
2752
- <p>
2753
- </p>
2754
- <div class="variablelist"><table border="0">
2755
- <col align="left" valign="top">
2756
- <tbody>
2757
- <tr>
2758
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2759
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2760
- </td>
2761
- </tr>
2762
- <tr>
2763
- <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
2764
- <td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> to set as current</td>
2765
- </tr>
2766
- <tr>
2767
- <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
2768
- <td>location to store the error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
2769
- </td>
2770
- </tr>
2771
- <tr>
2772
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
2773
- <td>
2774
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
2775
- selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
2776
- </tr>
2777
- </tbody>
2778
- </table></div>
2779
- <p class="since">Since 2.14</p>
2780
- </div>
2781
- <hr>
2782
- <div class="refsect2">
2783
- <a name="gtk-file-chooser-unselect-file"></a><h3>gtk_file_chooser_unselect_file ()</h3>
2784
- <pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_unselect_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
2785
- <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>);</pre>
2786
- <p>
2787
- Unselects the file referred to by <em class="parameter"><code>file</code></em>. If the file is not in the current
2788
- directory, does not exist, or is otherwise not currently selected, does nothing.
2789
- </p>
2790
- <div class="variablelist"><table border="0">
2791
- <col align="left" valign="top">
2792
- <tbody>
2793
- <tr>
2794
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
2795
- <td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
2796
- </td>
2797
- </tr>
2798
- <tr>
2799
- <td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
2800
- <td>a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>
2801
- </td>
2802
- </tr>
2803
- </tbody>
2804
- </table></div>
2805
- <p class="since">Since 2.14</p>
2806
- </div>
2807
- </div>
2808
- <div class="refsect1">
2809
- <a name="GtkFileChooser.property-details"></a><h2>Property Details</h2>
2810
- <div class="refsect2">
2811
- <a name="GtkFileChooser--action"></a><h3>The <code class="literal">"action"</code> property</h3>
2812
- <pre class="programlisting"> "action" <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> : Read / Write</pre>
2813
- <p>The type of operation that the file selector is performing.</p>
2814
- <p>Default value: GTK_FILE_CHOOSER_ACTION_OPEN</p>
2815
- </div>
2816
- <hr>
2817
- <div class="refsect2">
2818
- <a name="GtkFileChooser--create-folders"></a><h3>The <code class="literal">"create-folders"</code> property</h3>
2819
- <pre class="programlisting"> "create-folders" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
2820
- <p>
2821
- Whether a file chooser not in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a> mode
2822
- will offer the user to create new folders.
2823
- </p>
2824
- <p>Default value: TRUE</p>
2825
- <p class="since">Since 2.18</p>
2826
- </div>
2827
- <hr>
2828
- <div class="refsect2">
2829
- <a name="GtkFileChooser--do-overwrite-confirmation"></a><h3>The <code class="literal">"do-overwrite-confirmation"</code> property</h3>
2830
- <pre class="programlisting"> "do-overwrite-confirmation" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
2831
- <p>
2832
- Whether a file chooser in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode
2833
- will present an overwrite confirmation dialog if the user
2834
- selects a file name that already exists.
2835
- </p>
2836
- <p>Default value: FALSE</p>
2837
- <p class="since">Since 2.8</p>
2838
- </div>
2839
- <hr>
2840
- <div class="refsect2">
2841
- <a name="GtkFileChooser--extra-widget"></a><h3>The <code class="literal">"extra-widget"</code> property</h3>
2842
- <pre class="programlisting"> "extra-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
2843
- <p>Application supplied widget for extra options.</p>
2844
- </div>
2845
- <hr>
2846
- <div class="refsect2">
2847
- <a name="GtkFileChooser--file-system-backend"></a><h3>The <code class="literal">"file-system-backend"</code> property</h3>
2848
- <pre class="programlisting"> "file-system-backend" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write / Construct Only</pre>
2849
- <p>Name of file system backend to use.</p>
2850
- <p>Default value: NULL</p>
2851
- </div>
2852
- <hr>
2853
- <div class="refsect2">
2854
- <a name="GtkFileChooser--filter"></a><h3>The <code class="literal">"filter"</code> property</h3>
2855
- <pre class="programlisting"> "filter" <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>* : Read / Write</pre>
2856
- <p>The current filter for selecting which files are displayed.</p>
2857
- </div>
2858
- <hr>
2859
- <div class="refsect2">
2860
- <a name="GtkFileChooser--local-only"></a><h3>The <code class="literal">"local-only"</code> property</h3>
2861
- <pre class="programlisting"> "local-only" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
2862
- <p>Whether the selected file(s) should be limited to local file: URLs.</p>
2863
- <p>Default value: TRUE</p>
2864
- </div>
2865
- <hr>
2866
- <div class="refsect2">
2867
- <a name="GtkFileChooser--preview-widget"></a><h3>The <code class="literal">"preview-widget"</code> property</h3>
2868
- <pre class="programlisting"> "preview-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
2869
- <p>Application supplied widget for custom previews.</p>
2870
- </div>
2871
- <hr>
2872
- <div class="refsect2">
2873
- <a name="GtkFileChooser--preview-widget-active"></a><h3>The <code class="literal">"preview-widget-active"</code> property</h3>
2874
- <pre class="programlisting"> "preview-widget-active" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
2875
- <p>Whether the application supplied widget for custom previews should be shown.</p>
2876
- <p>Default value: TRUE</p>
2877
- </div>
2878
- <hr>
2879
- <div class="refsect2">
2880
- <a name="GtkFileChooser--select-multiple"></a><h3>The <code class="literal">"select-multiple"</code> property</h3>
2881
- <pre class="programlisting"> "select-multiple" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
2882
- <p>Whether to allow multiple files to be selected.</p>
2883
- <p>Default value: FALSE</p>
2884
- </div>
2885
- <hr>
2886
- <div class="refsect2">
2887
- <a name="GtkFileChooser--show-hidden"></a><h3>The <code class="literal">"show-hidden"</code> property</h3>
2888
- <pre class="programlisting"> "show-hidden" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
2889
- <p>Whether the hidden files and folders should be displayed.</p>
2890
- <p>Default value: FALSE</p>
2891
- </div>
2892
- <hr>
2893
- <div class="refsect2">
2894
- <a name="GtkFileChooser--use-preview-label"></a><h3>The <code class="literal">"use-preview-label"</code> property</h3>
2895
- <pre class="programlisting"> "use-preview-label" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
2896
- <p>Whether to display a stock label with the name of the previewed file.</p>
2897
- <p>Default value: TRUE</p>
2898
- </div>
2899
- </div>
2900
- <div class="refsect1">
2901
- <a name="GtkFileChooser.signal-details"></a><h2>Signal Details</h2>
2902
- <div class="refsect2">
2903
- <a name="GtkFileChooser-confirm-overwrite"></a><h3>The <code class="literal">"confirm-overwrite"</code> signal</h3>
2904
- <pre class="programlisting"><a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="returnvalue">GtkFileChooserConfirmation</span></a>user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
2905
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
2906
- <p>
2907
- This signal gets emitted whenever it is appropriate to present a
2908
- confirmation dialog when the user has selected a file name that
2909
- already exists. The signal only gets emitted when the file
2910
- chooser is in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode.
2911
- </p>
2912
- <p>
2913
- Most applications just need to turn on the
2914
- <a class="link" href="GtkFileChooser.html#GtkFileChooser--do-overwrite-confirmation" title='The "do-overwrite-confirmation" property'><span class="type">"do-overwrite-confirmation"</span></a> property (or call the
2915
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-do-overwrite-confirmation" title="gtk_file_chooser_set_do_overwrite_confirmation ()"><code class="function">gtk_file_chooser_set_do_overwrite_confirmation()</code></a> function), and
2916
- they will automatically get a stock confirmation dialog.
2917
- Applications which need to customize this behavior should do
2918
- that, and also connect to the <a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a>
2919
- signal.
2920
- </p>
2921
- <p>
2922
- A signal handler for this signal must return a
2923
- <a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value, which indicates the action to
2924
- take. If the handler determines that the user wants to select a
2925
- different filename, it should return
2926
- <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-SELECT-AGAIN:CAPS"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</code></a>. If it determines
2927
- that the user is satisfied with his choice of file name, it
2928
- should return <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-ACCEPT-FILENAME:CAPS"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</code></a>.
2929
- On the other hand, if it determines that the stock confirmation
2930
- dialog should be used, it should return
2931
- <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-CONFIRM:CAPS"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM</code></a>. The following example
2932
- illustrates this.
2933
- </p>
2934
- <div class="example">
2935
- <a name="gtkfilechooser-confirmation"></a><p class="title"><b>Example 43. Custom confirmation</b></p>
2936
- <div class="example-contents">
2937
- <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
2938
- <tbody>
2939
- <tr>
2940
- <td class="listing_lines" align="right"><pre>1
2941
- 2
2942
- 3
2943
- 4
2944
- 5
2945
- 6
2946
- 7
2947
- 8
2948
- 9
2949
- 10
2950
- 11
2951
- 12
2952
- 13
2953
- 14
2954
- 15
2955
- 16
2956
- 17
2957
- 18
2958
- 19
2959
- 20
2960
- 21
2961
- 22
2962
- 23
2963
- 24
2964
- 25
2965
- 26
2966
- 27
2967
- 28</pre></td>
2968
- <td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="GtkFileChooser.html#GtkFileChooserConfirmation">GtkFileChooserConfirmation</a></span>
2969
- <span class="function">confirm_overwrite_callback</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkFileChooser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
2970
- <span class="cbracket">{</span>
2971
- <span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">uri</span><span class="symbol">;</span>
2972
- <span class="normal"> uri </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-get-uri">gtk_file_chooser_get_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">);</span>
2973
-
2974
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">is_uri_read_only</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri</span><span class="symbol">))</span>
2975
- <span class="normal"> </span><span class="cbracket">{</span>
2976
- <span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">user_wants_to_replace_read_only_file</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri</span><span class="symbol">))</span>
2977
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-ACCEPT-FILENAME:CAPS">GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</a></span><span class="symbol">;</span>
2978
- <span class="normal"> </span><span class="keyword">else</span>
2979
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-SELECT-AGAIN:CAPS">GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</a></span><span class="symbol">;</span>
2980
- <span class="normal"> </span><span class="cbracket">}</span><span class="normal"> </span><span class="keyword">else</span>
2981
- <span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-CONFIRM:CAPS">GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM</a></span><span class="symbol">;</span><span class="normal"> </span><span class="comment">// fall back to the default dialog</span>
2982
- <span class="cbracket">}</span>
2983
-
2984
- <span class="symbol">...</span>
2985
-
2986
- <span class="normal">chooser </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFileChooserDialog.html#gtk-file-chooser-dialog-new">gtk_file_chooser_dialog_new</a></span><span class="normal"> </span><span class="symbol">(...);</span>
2987
-
2988
- <span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-do-overwrite-confirmation">gtk_file_chooser_set_do_overwrite_confirmation</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_FILE_CHOOSER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dialog</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>
2989
- <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"confirm-overwrite"</span><span class="symbol">,</span>
2990
- <span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">confirm_overwrite_callback</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>
2991
-
2992
- <span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkDialog.html#gtk-dialog-run">gtk_dialog_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> <a href="GtkDialog.html#GTK-RESPONSE-ACCEPT:CAPS">GTK_RESPONSE_ACCEPT</a></span><span class="symbol">)</span>
2993
- <span class="normal"> </span><span class="function">save_to_file</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-get-filename">gtk_file_chooser_get_filename</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_FILE_CHOOSER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">));</span>
2994
-
2995
- <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">chooser</span><span class="symbol">);</span></pre></td>
2996
- </tr>
2997
- </tbody>
2998
- </table>
2999
- </div>
3000
-
3001
- </div>
3002
- <p><br class="example-break">
3003
- </p>
3004
- <div class="variablelist"><table border="0">
3005
- <col align="left" valign="top">
3006
- <tbody>
3007
- <tr>
3008
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
3009
- <td>the object which received the signal.</td>
3010
- </tr>
3011
- <tr>
3012
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
3013
- <td>user data set when the signal handler was connected.</td>
3014
- </tr>
3015
- <tr>
3016
- <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
3017
- <td>a <a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value that indicates which
3018
- action to take after emitting the signal.</td>
3019
- </tr>
3020
- </tbody>
3021
- </table></div>
3022
- <p class="since">Since 2.8</p>
3023
- </div>
3024
- <hr>
3025
- <div class="refsect2">
3026
- <a name="GtkFileChooser-current-folder-changed"></a><h3>The <code class="literal">"current-folder-changed"</code> signal</h3>
3027
- <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
3028
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
3029
- <p>
3030
- This signal is emitted when the current folder in a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
3031
- changes. This can happen due to the user performing some action that
3032
- changes folders, such as selecting a bookmark or visiting a folder on the
3033
- file list. It can also happen as a result of calling a function to
3034
- explicitly change the current folder in a file chooser.
3035
- </p>
3036
- <p>
3037
- Normally you do not need to connect to this signal, unless you need to keep
3038
- track of which folder a file chooser is showing.
3039
- </p>
3040
- <p>
3041
- See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder"><code class="function">gtk_file_chooser_set_current_folder()</code></a>,
3042
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder" title="gtk_file_chooser_get_current_folder"><code class="function">gtk_file_chooser_get_current_folder()</code></a>,
3043
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()"><code class="function">gtk_file_chooser_set_current_folder_uri()</code></a>,
3044
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder-uri" title="gtk_file_chooser_get_current_folder_uri ()"><code class="function">gtk_file_chooser_get_current_folder_uri()</code></a>.
3045
- </p>
3046
- <div class="variablelist"><table border="0">
3047
- <col align="left" valign="top">
3048
- <tbody>
3049
- <tr>
3050
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
3051
- <td>the object which received the signal.</td>
3052
- </tr>
3053
- <tr>
3054
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
3055
- <td>user data set when the signal handler was connected.</td>
3056
- </tr>
3057
- </tbody>
3058
- </table></div>
3059
- </div>
3060
- <hr>
3061
- <div class="refsect2">
3062
- <a name="GtkFileChooser-file-activated"></a><h3>The <code class="literal">"file-activated"</code> signal</h3>
3063
- <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
3064
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
3065
- <p>
3066
- This signal is emitted when the user "activates" a file in the file
3067
- chooser. This can happen by double-clicking on a file in the file list, or
3068
- by pressing <span class="keycap"><strong>Enter</strong></span>.
3069
- </p>
3070
- <p>
3071
- Normally you do not need to connect to this signal. It is used internally
3072
- by <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a> to know when to activate the default button in the
3073
- dialog.
3074
- </p>
3075
- <p>
3076
- See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename"><code class="function">gtk_file_chooser_get_filename()</code></a>,
3077
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames"><code class="function">gtk_file_chooser_get_filenames()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a>,
3078
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>.
3079
- </p>
3080
- <div class="variablelist"><table border="0">
3081
- <col align="left" valign="top">
3082
- <tbody>
3083
- <tr>
3084
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
3085
- <td>the object which received the signal.</td>
3086
- </tr>
3087
- <tr>
3088
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
3089
- <td>user data set when the signal handler was connected.</td>
3090
- </tr>
3091
- </tbody>
3092
- </table></div>
3093
- </div>
3094
- <hr>
3095
- <div class="refsect2">
3096
- <a name="GtkFileChooser-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3>
3097
- <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
3098
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
3099
- <p>
3100
- This signal is emitted when there is a change in the set of selected files
3101
- in a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>. This can happen when the user modifies the selection
3102
- with the mouse or the keyboard, or when explicitly calling functions to
3103
- change the selection.
3104
- </p>
3105
- <p>
3106
- Normally you do not need to connect to this signal, as it is easier to wait
3107
- for the file chooser to finish running, and then to get the list of
3108
- selected files using the functions mentioned below.
3109
- </p>
3110
- <p>
3111
- See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename"><code class="function">gtk_file_chooser_select_filename()</code></a>,
3112
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-filename" title="gtk_file_chooser_unselect_filename"><code class="function">gtk_file_chooser_unselect_filename()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename"><code class="function">gtk_file_chooser_get_filename()</code></a>,
3113
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames"><code class="function">gtk_file_chooser_get_filenames()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()"><code class="function">gtk_file_chooser_select_uri()</code></a>,
3114
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-uri" title="gtk_file_chooser_unselect_uri ()"><code class="function">gtk_file_chooser_unselect_uri()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a>,
3115
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>.
3116
- </p>
3117
- <div class="variablelist"><table border="0">
3118
- <col align="left" valign="top">
3119
- <tbody>
3120
- <tr>
3121
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
3122
- <td>the object which received the signal.</td>
3123
- </tr>
3124
- <tr>
3125
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
3126
- <td>user data set when the signal handler was connected.</td>
3127
- </tr>
3128
- </tbody>
3129
- </table></div>
3130
- </div>
3131
- <hr>
3132
- <div class="refsect2">
3133
- <a name="GtkFileChooser-update-preview"></a><h3>The <code class="literal">"update-preview"</code> signal</h3>
3134
- <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
3135
- <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
3136
- <p>
3137
- This signal is emitted when the preview in a file chooser should be
3138
- regenerated. For example, this can happen when the currently selected file
3139
- changes. You should use this signal if you want your file chooser to have
3140
- a preview widget.
3141
- </p>
3142
- <p>
3143
- Once you have installed a preview widget with
3144
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>, you should update it when this
3145
- signal is emitted. You can use the functions
3146
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename"><code class="function">gtk_file_chooser_get_preview_filename()</code></a> or
3147
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()"><code class="function">gtk_file_chooser_get_preview_uri()</code></a> to get the name of the file to preview.
3148
- Your widget may not be able to preview all kinds of files; your callback
3149
- must call <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a> to inform the file
3150
- chooser about whether the preview was generated successfully or not.
3151
- </p>
3152
- <p>
3153
- Please see the example code in <a class="xref" href="GtkFileChooser.html#gtkfilechooser-preview" title="Adding a Preview Widget">the section called “Adding a Preview Widget”</a>.
3154
- </p>
3155
- <p>
3156
- See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>,
3157
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a>,
3158
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-use-preview-label" title="gtk_file_chooser_set_use_preview_label ()"><code class="function">gtk_file_chooser_set_use_preview_label()</code></a>,
3159
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename"><code class="function">gtk_file_chooser_get_preview_filename()</code></a>,
3160
- <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()"><code class="function">gtk_file_chooser_get_preview_uri()</code></a>.
3161
- </p>
3162
- <div class="variablelist"><table border="0">
3163
- <col align="left" valign="top">
3164
- <tbody>
3165
- <tr>
3166
- <td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
3167
- <td>the object which received the signal.</td>
3168
- </tr>
3169
- <tr>
3170
- <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
3171
- <td>user data set when the signal handler was connected.</td>
3172
- </tr>
3173
- </tbody>
3174
- </table></div>
3175
- </div>
3176
- </div>
3177
- <div class="refsect1">
3178
- <a name="GtkFileChooser.see-also"></a><h2>See Also</h2>
3179
- <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a>, <a class="link" href="GtkFileChooserWidget.html" title="GtkFileChooserWidget"><span class="type">GtkFileChooserWidget</span></a>, <a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a>
3180
- </div>
3181
- </div>
3182
- <div class="footer">
3183
- <hr>
3184
- Generated by GTK-Doc V1.18</div>
3185
- </body>
3186
- </html>