gdk3 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +53 -0
- data/ext/gdk3/depend +11 -0
- data/ext/gdk3/extconf.rb +127 -0
- data/ext/gdk3/gdk3.def +12 -0
- data/ext/gdk3/init.c +35 -0
- data/ext/gdk3/rbgdk.c +540 -0
- data/ext/gdk3/rbgdk3.h +71 -0
- data/ext/gdk3/rbgdk3conversions.h +118 -0
- data/ext/gdk3/rbgdk3private.h +93 -0
- data/ext/gdk3/rbgdkatom.c +122 -0
- data/ext/gdk3/rbgdkcairo.c +95 -0
- data/ext/gdk3/rbgdkcolor.c +137 -0
- data/ext/gdk3/rbgdkconst.c +33 -0
- data/ext/gdk3/rbgdkcursor.c +99 -0
- data/ext/gdk3/rbgdkdevice.c +197 -0
- data/ext/gdk3/rbgdkdisplay.c +482 -0
- data/ext/gdk3/rbgdkdisplaymanager.c +55 -0
- data/ext/gdk3/rbgdkdragcontext.c +191 -0
- data/ext/gdk3/rbgdkdraw.c +520 -0
- data/ext/gdk3/rbgdkevent.c +926 -0
- data/ext/gdk3/rbgdkgeometry.c +252 -0
- data/ext/gdk3/rbgdkkeymap.c +151 -0
- data/ext/gdk3/rbgdkkeyval.c +108 -0
- data/ext/gdk3/rbgdkpango.c +197 -0
- data/ext/gdk3/rbgdkpangorenderer.c +144 -0
- data/ext/gdk3/rbgdkpixbuf.c +176 -0
- data/ext/gdk3/rbgdkproperty.c +305 -0
- data/ext/gdk3/rbgdkrectangle.c +140 -0
- data/ext/gdk3/rbgdkrgb.c +199 -0
- data/ext/gdk3/rbgdkrgba.c +142 -0
- data/ext/gdk3/rbgdkscreen.c +443 -0
- data/ext/gdk3/rbgdkselection.c +146 -0
- data/ext/gdk3/rbgdkthreads.c +77 -0
- data/ext/gdk3/rbgdktimecoord.c +133 -0
- data/ext/gdk3/rbgdkvisual.c +251 -0
- data/ext/gdk3/rbgdkwindow.c +1044 -0
- data/ext/gdk3/rbgdkwindowattr.c +191 -0
- data/ext/gdk3/rbgdkx11.c +102 -0
- data/ext/gdk3/rbgdkx11x11window.c +66 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gdk3.so +0 -0
- data/lib/1.9/gdk3.so +0 -0
- data/lib/gdk3.rb +3 -0
- data/lib/gdk3/base.rb +50 -0
- data/lib/gdk3/deprecated.rb +152 -0
- data/vendor/local/bin/gtk-launch.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-3.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe.manifest +17 -0
- data/vendor/local/bin/gtk3-demo-application.exe +0 -0
- data/vendor/local/bin/gtk3-demo.exe +0 -0
- data/vendor/local/bin/gtk3-widget-factory.exe +0 -0
- data/vendor/local/bin/libgailutil-3-0.dll +0 -0
- data/vendor/local/bin/libgdk-3-0.dll +0 -0
- data/vendor/local/bin/libgtk-3-0.dll +0 -0
- data/vendor/local/etc/gtk-3.0/im-multipress.conf +22 -0
- data/vendor/local/etc/gtk-3.0/settings.ini +2 -0
- data/vendor/local/include/gail-3.0/libgail-util/gail-util.h +2 -0
- data/vendor/local/include/gail-3.0/libgail-util/gailmisc.h +76 -0
- data/vendor/local/include/gail-3.0/libgail-util/gailtextutil.h +85 -0
- data/vendor/local/include/gtk-3.0/gdk/gdk.h +61 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkapplaunchcontext.h +60 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcairo.h +63 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcolor.h +77 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkconfig.h +22 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkcursor.h +240 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdevice.h +237 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdevicemanager.h +44 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdisplay.h +141 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdisplaymanager.h +55 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkdnd.h +153 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkenumtypes.h +105 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkevents.h +1277 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkkeys.h +142 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkkeysyms-compat.h +2300 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkkeysyms.h +2309 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkmain.h +122 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkpango.h +56 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkpixbuf.h +52 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkprivate.h +40 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkproperty.h +91 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkrectangle.h +51 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkrgba.h +62 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkscreen.h +100 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkselection.h +208 -0
- data/vendor/local/include/gtk-3.0/gdk/gdktestutils.h +58 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkthreads.h +105 -0
- data/vendor/local/include/gtk-3.0/gdk/gdktypes.h +421 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkversionmacros.h +220 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkvisual.h +123 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkwin32.h +105 -0
- data/vendor/local/include/gtk-3.0/gdk/gdkwindow.h +884 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32cursor.h +54 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32display.h +54 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32displaymanager.h +47 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32dnd.h +47 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32keys.h +47 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32screen.h +54 -0
- data/vendor/local/include/gtk-3.0/gdk/win32/gdkwin32window.h +54 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkcolorsel.h +157 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkcolorseldialog.h +80 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkfontsel.h +165 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhandlebox.h +100 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhbbox.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhbox.h +67 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhpaned.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhscale.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhscrollbar.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhseparator.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkhsv.h +106 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkrc.h +322 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkstyle.h +703 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtktable.h +162 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtktearoffmenuitem.h +74 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvbbox.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvbox.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvpaned.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvscale.h +74 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/deprecated/gtkvseparator.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/gtk.h +253 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaboutdialog.h +169 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccelgroup.h +209 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccellabel.h +105 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccelmap.h +93 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaccessible.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaction.h +166 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkactionable.h +77 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkactiongroup.h +238 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkactivatable.h +85 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkadjustment.h +121 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkalignment.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooser.h +49 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserbutton.h +89 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserdialog.h +78 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkappchooserwidget.h +103 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkapplication.h +128 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkapplicationwindow.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkarrow.h +81 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkaspectframe.h +84 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkassistant.h +188 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbbox.h +90 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbin.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbindings.h +189 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkborder.h +66 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbox.h +112 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbuildable.h +173 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbuilder.h +179 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkbutton.h +130 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcalendar.h +169 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellarea.h +482 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellareabox.h +87 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellareacontext.h +135 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcelleditable.h +62 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcelllayout.h +135 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderer.h +280 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendereraccel.h +84 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderercombo.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererpixbuf.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererprogress.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererspin.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrendererspinner.h +67 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderertext.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellrenderertoggle.h +82 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcellview.h +95 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcheckbutton.h +80 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcheckmenuitem.h +98 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkclipboard.h +237 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorbutton.h +108 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooser.h +87 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooserdialog.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorchooserwidget.h +71 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcolorutils.h +48 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcombobox.h +147 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcomboboxtext.h +88 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcontainer.h +227 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcssprovider.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkcsssection.h +97 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdebug.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdialog.h +181 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdnd.h +212 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkdrawingarea.h +74 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkeditable.h +113 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentry.h +304 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentrybuffer.h +133 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkentrycompletion.h +154 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkenums.h +1041 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkeventbox.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkexpander.h +107 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooser.h +247 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserbutton.h +81 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserdialog.h +69 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilechooserwidget.h +65 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfilefilter.h +116 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfixed.h +91 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontbutton.h +99 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontchooser.h +118 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontchooserdialog.h +67 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkfontchooserwidget.h +71 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkframe.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkgradient.h +66 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkgrid.h +110 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkiconfactory.h +183 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkicontheme.h +233 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkiconview.h +266 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimage.h +168 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimagemenuitem.h +90 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimcontext.h +126 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimcontextinfo.h +44 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimcontextsimple.h +74 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimmodule.h +34 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkimmulticontext.h +73 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkinfobar.h +116 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkinvisible.h +77 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklabel.h +176 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklayout.h +108 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklevelbar.h +127 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklinkbutton.h +100 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkliststore.h +133 -0
- data/vendor/local/include/gtk-3.0/gtk/gtklockbutton.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmain.h +172 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenu.h +215 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenubar.h +90 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenubutton.h +94 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenuitem.h +128 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenushell.h +123 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmenutoolbutton.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmessagedialog.h +132 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmisc.h +89 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmodules.h +58 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkmountoperation.h +81 -0
- data/vendor/local/include/gtk-3.0/gtk/gtknotebook.h +250 -0
- data/vendor/local/include/gtk-3.0/gtk/gtknumerableicon.h +87 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkoffscreenwindow.h +64 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkorientable.h +58 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkoverlay.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpagesetup.h +106 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpaned.h +105 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkpapersize.h +140 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkplug.h +97 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintcontext.h +69 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintoperation.h +280 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintoperationpreview.h +79 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprintsettings.h +248 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkprogressbar.h +97 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradioaction.h +89 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiobutton.h +92 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiomenuitem.h +91 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkradiotoolbutton.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrange.h +167 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentaction.h +78 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooser.h +203 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooserdialog.h +78 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchoosermenu.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentchooserwidget.h +68 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentfilter.h +125 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkrecentmanager.h +234 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscale.h +114 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscalebutton.h +99 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrollable.h +60 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrollbar.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkscrolledwindow.h +136 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksearchentry.h +73 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkselection.h +192 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparator.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparatormenuitem.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkseparatortoolitem.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksettings.h +127 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkshow.h +37 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksizegroup.h +95 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksizerequest.h +57 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksocket.h +84 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkspinbutton.h +213 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkspinner.h +71 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstatusbar.h +101 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstatusicon.h +147 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstock.h +1029 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstylecontext.h +1014 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstyleproperties.h +117 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkstyleprovider.h +126 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkswitch.h +93 -0
- data/vendor/local/include/gtk-3.0/gtk/gtksymboliccolor.h +57 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktestutils.h +72 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextattributes.h +180 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextbuffer.h +408 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextbufferrichtext.h +126 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextchild.h +83 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextdisplay.h +101 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextiter.h +306 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextlayout.h +433 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextmark.h +103 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktexttag.h +115 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktexttagtable.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktextview.h +298 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkthemingengine.h +260 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoggleaction.h +92 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktogglebutton.h +93 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoggletoolbutton.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolbar.h +135 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolbutton.h +97 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolitem.h +124 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolitemgroup.h +104 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolpalette.h +140 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktoolshell.h +89 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktooltip.h +75 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreednd.h +123 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodel.h +305 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodelfilter.h +144 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreemodelsort.h +84 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeselection.h +146 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreesortable.h +123 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreestore.h +147 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeview.h +501 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktreeviewcolumn.h +224 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktypebuiltins.h +307 -0
- data/vendor/local/include/gtk-3.0/gtk/gtktypes.h +56 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkuimanager.h +171 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkversion.h +102 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkviewport.h +96 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkvolumebutton.h +70 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkwidget.h +896 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkwidgetpath.h +132 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkwindow.h +351 -0
- data/vendor/local/include/gtk-3.0/gtk/gtkx.h +28 -0
- data/vendor/local/lib/gailutil.def +14 -0
- data/vendor/local/lib/gdk-win32-3.0.def +514 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules.cache +40 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-am-et.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cedilla.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-cyrillic-translit.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ime.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-inuktitut.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ipa.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-multipress.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-thai.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-er.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-ti-et.la +41 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.dll.a +0 -0
- data/vendor/local/lib/gtk-3.0/3.0.0/immodules/im-viqr.la +41 -0
- data/vendor/local/lib/gtk-win32-3.0.def +3790 -0
- data/vendor/local/lib/libgailutil-3.dll.a +0 -0
- data/vendor/local/lib/libgailutil-3.la +41 -0
- data/vendor/local/lib/libgdk-3.dll.a +0 -0
- data/vendor/local/lib/libgdk-3.la +41 -0
- data/vendor/local/lib/libgtk-3.dll.a +0 -0
- data/vendor/local/lib/libgtk-3.la +41 -0
- data/vendor/local/lib/pkgconfig/gail-3.0.pc +11 -0
- data/vendor/local/lib/pkgconfig/gdk-3.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/gdk-win32-3.0.pc +13 -0
- data/vendor/local/lib/pkgconfig/gtk+-3.0.pc +16 -0
- data/vendor/local/lib/pkgconfig/gtk+-win32-3.0.pc +16 -0
- data/vendor/local/share/aclocal/gtk-3.0.m4 +219 -0
- data/vendor/local/share/glib-2.0/schemas/gschemas.compiled +0 -0
- data/vendor/local/share/glib-2.0/schemas/org.gtk.Demo.gschema.xml +17 -0
- data/vendor/local/share/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml +13 -0
- data/vendor/local/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml +66 -0
- data/vendor/local/share/gtk-3.0/demo/alphatest.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/apple-red.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/application.c +485 -0
- data/vendor/local/share/gtk-3.0/demo/application.ui +104 -0
- data/vendor/local/share/gtk-3.0/demo/appwindow.c +570 -0
- data/vendor/local/share/gtk-3.0/demo/assistant.c +201 -0
- data/vendor/local/share/gtk-3.0/demo/background.jpg +0 -0
- data/vendor/local/share/gtk-3.0/demo/builder.c +74 -0
- data/vendor/local/share/gtk-3.0/demo/button_box.c +127 -0
- data/vendor/local/share/gtk-3.0/demo/changedisplay.c +654 -0
- data/vendor/local/share/gtk-3.0/demo/clipboard.c +326 -0
- data/vendor/local/share/gtk-3.0/demo/colorsel.c +133 -0
- data/vendor/local/share/gtk-3.0/demo/combobox.c +473 -0
- data/vendor/local/share/gtk-3.0/demo/css_accordion.c +78 -0
- data/vendor/local/share/gtk-3.0/demo/css_accordion.css +52 -0
- data/vendor/local/share/gtk-3.0/demo/css_basics.c +122 -0
- data/vendor/local/share/gtk-3.0/demo/css_basics.css +22 -0
- data/vendor/local/share/gtk-3.0/demo/css_multiplebgs.c +171 -0
- data/vendor/local/share/gtk-3.0/demo/css_multiplebgs.css +136 -0
- data/vendor/local/share/gtk-3.0/demo/css_pixbufs.c +127 -0
- data/vendor/local/share/gtk-3.0/demo/css_pixbufs.css +76 -0
- data/vendor/local/share/gtk-3.0/demo/css_shadows.c +147 -0
- data/vendor/local/share/gtk-3.0/demo/css_shadows.css +44 -0
- data/vendor/local/share/gtk-3.0/demo/cssview.css +41 -0
- data/vendor/local/share/gtk-3.0/demo/demo.ui +266 -0
- data/vendor/local/share/gtk-3.0/demo/dialog.c +175 -0
- data/vendor/local/share/gtk-3.0/demo/drawingarea.c +296 -0
- data/vendor/local/share/gtk-3.0/demo/editable_cells.c +392 -0
- data/vendor/local/share/gtk-3.0/demo/entry_buffer.c +66 -0
- data/vendor/local/share/gtk-3.0/demo/entry_completion.c +98 -0
- data/vendor/local/share/gtk-3.0/demo/expander.c +59 -0
- data/vendor/local/share/gtk-3.0/demo/fancy.css +65 -0
- data/vendor/local/share/gtk-3.0/demo/floppybuddy.gif +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-applets.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-calendar.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-foot.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-fs-directory.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-fs-regular.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-gimp.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-gmush.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnome-gsame.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gnu-keys.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gtk-logo-24.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gtk-logo-48.png +0 -0
- data/vendor/local/share/gtk-3.0/demo/gtk-logo-rgb.gif +0 -0
- data/vendor/local/share/gtk-3.0/demo/hypertext.c +291 -0
- data/vendor/local/share/gtk-3.0/demo/iconview.c +371 -0
- data/vendor/local/share/gtk-3.0/demo/iconview_edit.c +158 -0
- data/vendor/local/share/gtk-3.0/demo/images.c +472 -0
- data/vendor/local/share/gtk-3.0/demo/infobar.c +109 -0
- data/vendor/local/share/gtk-3.0/demo/links.c +90 -0
- data/vendor/local/share/gtk-3.0/demo/list_store.c +325 -0
- data/vendor/local/share/gtk-3.0/demo/menus.c +171 -0
- data/vendor/local/share/gtk-3.0/demo/menus.ui +107 -0
- data/vendor/local/share/gtk-3.0/demo/offscreen_window.c +615 -0
- data/vendor/local/share/gtk-3.0/demo/offscreen_window2.c +526 -0
- data/vendor/local/share/gtk-3.0/demo/overlay.c +181 -0
- data/vendor/local/share/gtk-3.0/demo/panes.c +205 -0
- data/vendor/local/share/gtk-3.0/demo/pickers.c +89 -0
- data/vendor/local/share/gtk-3.0/demo/pixbufs.c +261 -0
- data/vendor/local/share/gtk-3.0/demo/printing.c +199 -0
- data/vendor/local/share/gtk-3.0/demo/reset.css +68 -0
- data/vendor/local/share/gtk-3.0/demo/rotated_text.c +236 -0
- data/vendor/local/share/gtk-3.0/demo/search_entry.c +322 -0
- data/vendor/local/share/gtk-3.0/demo/sizegroup.c +164 -0
- data/vendor/local/share/gtk-3.0/demo/spinner.c +95 -0
- data/vendor/local/share/gtk-3.0/demo/stock_browser.c +535 -0
- data/vendor/local/share/gtk-3.0/demo/textscroll.c +201 -0
- data/vendor/local/share/gtk-3.0/demo/textview.c +634 -0
- data/vendor/local/share/gtk-3.0/demo/theming.ui +319 -0
- data/vendor/local/share/gtk-3.0/demo/theming_custom_css.c +66 -0
- data/vendor/local/share/gtk-3.0/demo/theming_style_classes.c +58 -0
- data/vendor/local/share/gtk-3.0/demo/toolpalette.c +794 -0
- data/vendor/local/share/gtk-3.0/demo/transparent.c +248 -0
- data/vendor/local/share/gtk-3.0/demo/tree_store.c +450 -0
- data/vendor/local/share/gtk-3.0/demo/ui_manager.c +235 -0
- data/vendor/local/share/gtk-3.0/gtkbuilder.rng +305 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailMisc.html +434 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3-GailTextUtil.html +291 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/gail-libgail-util3.devhelp2 +29 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.html +45 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/index.sgml +26 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/libgail-util-main.html +41 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util3/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDevice.html +1532 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDeviceManager.html +445 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplay.html +1482 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkDisplayManager.html +354 -0
- data/vendor/local/share/gtk-doc/html/gdk3/GdkScreen.html +1213 -0
- data/vendor/local/share/gtk-doc/html/gdk3/X_cursor.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/annotation-glossary.html +98 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-0.html +298 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-2.html +71 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-4.html +130 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-3-6.html +42 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-deprecated.html +158 -0
- data/vendor/local/share/gtk-doc/html/gdk3/api-index-full.html +2711 -0
- data/vendor/local/share/gtk-doc/html/gdk3/arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/based_arrow_down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/based_arrow_up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/boat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bogosity.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bottom_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bottom_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bottom_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/bottom_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/box_spiral.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/center_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/circle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/clock.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/coffee_mug.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/cross_reverse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/crosshair.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/diamond_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/dot.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/dotbox.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/draft_large.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/draft_small.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/draped_box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/exchange.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/fleur.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Application-launching.html +379 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cairo-Interaction.html +453 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Colors.html +296 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Cursors.html +1055 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Drag-and-Drop.html +949 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Event-Structures.html +1873 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Events.html +1839 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-General.html +952 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Keyboard-Handling.html +1180 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pango-Interaction.html +427 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Pixbufs.html +206 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Points-Rectangles-and-Regions.html +199 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Properties-and-Atoms.html +598 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-RGBA-Colors.html +326 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Selections.html +622 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Testing.html +230 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Threads.html +1050 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Visuals.html +777 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-Windows.html +6690 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3-X-Window-System-Interaction.html +2083 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gdk3.devhelp2 +1042 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gobbler.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/gumby.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/hand1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/hand2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/heart.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/icon.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/index.html +120 -0
- data/vendor/local/share/gtk-doc/html/gdk3/index.sgml +1162 -0
- data/vendor/local/share/gtk-doc/html/gdk3/iron_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/left_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/leftbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/ll_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/lr_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/man.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/middlebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/mouse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/pencil.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/pirate.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/plus.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/question_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/reference.html +113 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/right_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/rightbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/rotated-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/rtl_logo.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sailboat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_down_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_h_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_right_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_up_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sb_v_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/shuttle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/sizing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/spider.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/spraycan.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/star.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gdk3/target.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/tcross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/top_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/trek.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/ul_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/umbrella.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/ur_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/watch.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk3/xterm.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/AbstractObjects.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Actions.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Application.html +42 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ApplicationChoosing.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Builder.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ButtonWidgets.html +62 -0
- data/vendor/local/share/gtk-doc/html/gtk3/DisplayWidgets.html +59 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAboutDialog.html +1501 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccelLabel.html +400 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAccessible.html +200 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAction.html +1580 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionGroup.html +1389 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActionable.html +425 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkActivatable.html +876 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAdjustment.html +845 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAlignment.html +411 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooser.html +212 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserButton.html +518 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserDialog.html +297 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAppChooserWidget.html +712 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplication.html +1877 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkApplicationWindow.html +788 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkArrow.html +208 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAspectFrame.html +241 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkAssistant.html +1389 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBin.html +132 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBox.html +683 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuildable.html +677 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkBuilder.html +1354 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButton.html +1292 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkButtonBox.html +432 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCalendar.html +1031 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellArea.html +3227 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaBox.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellAreaContext.html +675 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellEditable.html +286 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellLayout.html +750 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRenderer.html +1596 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererAccel.html +275 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererCombo.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererPixbuf.html +203 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererProgress.html +202 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpin.html +159 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererSpinner.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererText.html +653 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellRendererToggle.html +372 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCellView.html +729 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckButton.html +198 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCheckMenuItem.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorButton.html +607 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooser.html +370 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserDialog.html +144 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorChooserWidget.html +150 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelection.html +889 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkColorSelectionDialog.html +200 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBox.html +1893 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkComboBoxText.html +519 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkContainer.html +1692 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkCssProvider.html +2108 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDialog.html +1288 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkDrawingArea.html +234 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEditable.html +723 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntry.html +3957 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryBuffer.html +627 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEntryCompletion.html +1331 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkEventBox.html +305 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkExpander.html +851 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooser.html +3403 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserButton.html +486 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserDialog.html +396 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileChooserWidget.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFileFilter.html +595 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFixed.html +253 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontButton.html +609 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooser.html +605 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserDialog.html +137 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontChooserWidget.html +125 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelection.html +571 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFontSelectionDialog.html +400 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkFrame.html +464 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkGrid.html +701 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHBox.html +147 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHButtonBox.html +134 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHPaned.html +115 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSV.html +445 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScale.html +172 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHScrollbar.html +128 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHSeparator.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkHandleBox.html +514 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContext.html +1027 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMContextSimple.html +150 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIMMulticontext.html +183 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconTheme.html +1755 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkIconView.html +2896 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImage.html +1349 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkImageMenuItem.html +486 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInfoBar.html +764 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkInvisible.html +205 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLabel.html +2208 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLayout.html +518 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLevelBar.html +782 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLinkButton.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkListStore.html +1159 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkLockButton.html +259 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenu.html +1527 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuBar.html +369 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuButton.html +535 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuItem.html +940 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuShell.html +904 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMenuToolButton.html +387 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMessageDialog.html +814 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkMisc.html +296 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNotebook.html +2219 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkNumerableIcon.html +557 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOffscreenWindow.html +187 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkOverlay.html +229 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetup.html +1031 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPageSetupUnixDialog.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaned.html +783 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPaperSize.html +905 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPlug.html +388 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintContext.html +571 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintJob.html +1133 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintSettings.html +2948 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrintUnixDialog.html +919 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkPrinter.html +1003 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkProgressBar.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioAction.html +451 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioButton.html +586 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioMenuItem.html +436 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRadioToolButton.html +316 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRange.html +1365 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentAction.html +279 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooser.html +1415 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserDialog.html +247 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserMenu.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentChooserWidget.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentFilter.html +685 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkRecentManager.html +1641 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScale.html +726 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScaleButton.html +546 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollable.html +452 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrollbar.html +194 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkScrolledWindow.html +1106 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSearchEntry.html +118 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparator.html +114 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorMenuItem.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSeparatorToolItem.html +199 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSettings.html +1357 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSizeGroup.html +487 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSocket.html +360 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinButton.html +1380 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSpinner.html +173 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusIcon.html +1743 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStatusbar.html +441 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyle.html +2534 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleContext.html +4505 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkStyleProvider.html +324 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkSwitch.html +248 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTable.html +897 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTearoffMenuItem.html +135 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextBuffer.html +3895 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextIter.html +3183 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextMark.html +342 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTag.html +1124 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextTagTable.html +410 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTextView.html +3390 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkThemingEngine.html +1197 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleAction.html +335 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleButton.html +518 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToggleToolButton.html +268 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolButton.html +677 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItem.html +1139 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolItemGroup.html +755 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolPalette.html +1037 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolShell.html +425 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkToolbar.html +946 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTooltip.html +432 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModel.html +2814 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html +742 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeModelSort.html +591 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSelection.html +891 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeSortable.html +481 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeStore.html +1108 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeView.html +4864 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkTreeViewColumn.html +2067 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkUIManager.html +1467 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVBox.html +162 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVButtonBox.html +134 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVPaned.html +115 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScale.html +176 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVScrollbar.html +132 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVSeparator.html +120 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkViewport.html +387 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkVolumeButton.html +135 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWidget.html +12811 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindow.html +4647 -0
- data/vendor/local/share/gtk-doc/html/gtk3/GtkWindowGroup.html +250 -0
- data/vendor/local/share/gtk-doc/html/gtk3/LayoutContainers.html +91 -0
- data/vendor/local/share/gtk-doc/html/gtk3/MenusAndCombos.html +93 -0
- data/vendor/local/share/gtk-doc/html/gtk3/MiscObjects.html +69 -0
- data/vendor/local/share/gtk-doc/html/gtk3/NumericEntry.html +60 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Ornaments.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtk3/PlugSocket.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk3/Printing.html +59 -0
- data/vendor/local/share/gtk-doc/html/gtk3/RecentDocuments.html +51 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ScrollingWidgets.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtk3/SelectorWidgets.html +86 -0
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidget.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk3/TextWidgetObjects.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidget.html +556 -0
- data/vendor/local/share/gtk-doc/html/gtk3/TreeWidgetObjects.html +115 -0
- data/vendor/local/share/gtk-doc/html/gtk3/WindowWidgets.html +56 -0
- data/vendor/local/share/gtk-doc/html/gtk3/aboutdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/accel-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/annotation-glossary.html +110 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-0.html +1901 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-2.html +378 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-4.html +322 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-3-6.html +332 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-deprecated.html +1006 -0
- data/vendor/local/share/gtk-doc/html/gtk3/api-index-full.html +22583 -0
- data/vendor/local/share/gtk-doc/html/gtk3/appchooserbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/appchooserdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/application-exit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/arrows.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/assistant.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/background.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-gnome.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-osx.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/bloatpad-xfce.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/border1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/border2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/border3.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/box-expand.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/box-packing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch02.html +252 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch03.html +178 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch24s02.html +1407 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch26s02.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch28s02.html +117 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ch28s03.html +70 -0
- data/vendor/local/share/gtk-doc/html/gtk3/chap-drawing-model.html +461 -0
- data/vendor/local/share/gtk-doc/html/gtk3/check-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-gdkeventexpose-region.html +82 -0
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-modifiers.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk3/checklist-named-icons.html +40 -0
- data/vendor/local/share/gtk-doc/html/gtk3/checks.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/color-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/colorchooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/colorsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/combo-box-entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/combo-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-information.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-password.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-question.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/dialog-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-new.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-open.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-print-preview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-print.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-properties.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-revert-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-revert-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-save-as.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/document-save.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/down-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/down-end.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/down-start.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/drawing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/drive-harddisk.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ease-in-out.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ease-in.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ease-out.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/ease.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-clear.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-copy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-cut.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-delete.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-find-replace.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-find.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-paste.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-redo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-redo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-select-all.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-undo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/edit-undo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/expanders.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/extensions.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/figure-hierarchical-drawing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/figure-windowed-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/file-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/filechooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/focus.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/folder.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/font-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/fontchooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/fontsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-indent-less-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-indent-less-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-indent-more-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-indent-more-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-justify-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-justify-fill.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-justify-left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-justify-right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-text-bold.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-text-italic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-text-strikethrough.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/format-text-underline.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/frame-gap.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/frame.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/frames.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/glossary.html +312 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-bottom.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-first-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-first-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-jump-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-jump-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-last-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-last-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-next-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-next-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-previous-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-previous-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-top.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/go-up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gradient1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gradient2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gradient3.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gradient4.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/grid-packing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-apply.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-broadway.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-building.html +459 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-cancel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-caps-lock-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-color-picker.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-compiling.html +161 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-connect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-convert.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-disconnect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-dnd-multiple.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-dnd.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-edit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-font.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-getting-started.html +1095 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-index.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-launch.html +72 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-2-to-3.html +688 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkGrid.html +102 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-bonus-points.html +136 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-checklist.html +221 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-css.html +437 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parser-extensions.html +69 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext-parsing.html +82 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-GtkStyleContext.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-checklist.html +164 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-smclient-GtkApplication.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-theme-GtkStyleContext-engines.html +133 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-migrating-unique-GtkApplication.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-no.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-ok.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-reverse-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-orientation-reverse-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-osx.html +54 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-page-setup.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-preferences.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-query-immodules-3.0.html +110 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-question-index.html +1395 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-resources.html +146 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-running.html +427 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-select-color.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-undelete-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-undelete-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-update-icon-cache.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-windows.html +93 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-x11.html +122 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk-yes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk.html +187 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Accelerator-Maps.html +674 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Bindings.html +920 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Clipboards.html +1622 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Drag-and-Drop.html +1483 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Feature-Test-Macros.html +346 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Filesystem-utilities.html +368 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-General.html +1325 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkGradient.html +346 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkStyleProperties.html +590 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkSymbolicColor.html +420 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html +452 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-GtkWidgetPath.html +1361 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-High-level-Printing-API.html +2748 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Keyboard-Accelerators.html +1143 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Orientable.html +173 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Resource-Files.html +2004 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Selections.html +1844 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Standard-Enumerations.html +1753 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Stock-Items.html +1587 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Testing.html +646 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3-Themeable-Stock-Images.html +1730 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtk3.devhelp2 +6619 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtkbase.html +76 -0
- data/vendor/local/share/gtk-doc/html/gtk3/gtkobjects.html +670 -0
- data/vendor/local/share/gtk-doc/html/gtk3/handles.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/hello-world.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/help-about.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/help-contents.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/icon-view.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/image-missing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/image.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/index.html +903 -0
- data/vendor/local/share/gtk-doc/html/gtk3/index.sgml +8183 -0
- data/vendor/local/share/gtk-doc/html/gtk3/label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-btlr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-btrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-lrbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-lrtb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-rlbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-rltb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-tblr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/layout-tbrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left-end.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left-start.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/levelbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/linear.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/link-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/list-add.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/list-and-tree.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/list-remove.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lock-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-locked.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-sorry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lockbutton-unlocked.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/lockbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-floppy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-optical.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-playback-pause.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-playback-start-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-playback-start-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-playback-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-record.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-seek-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-seek-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-seek-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-seek-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-skip-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-skip-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-skip-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/media-skip-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/menu-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/menubar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/messagedialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/migrating.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtk3/multiline-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/network-idle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/notebook.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/numerableicon.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/numerableicon2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/options.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/pagesetupdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/panes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printer-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printer-info.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printer-paused.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/printer-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/process-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/progressbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/pt06.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtk3/radio-group.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/recentchooserdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/right-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/right-end.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/right-start.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/scales.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/scrolledwindow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/search-entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/separator.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/slices.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/sliders.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/spinbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/spinner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/statusbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gtk3/switch.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/system-run.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/text-x-generic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/theming.html +75 -0
- data/vendor/local/share/gtk-doc/html/gtk3/toggle-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/toolbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/toolpalette.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/tools-check-spelling.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/tree-view-coordinates.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up-end.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up-start.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-fullscreen.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-refresh.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-restore.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-sort-ascending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/view-sort-descending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/volumebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/widget-hvalign.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/window-close.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/window-default.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/window.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/zoom-fit-best.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/zoom-in.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/zoom-original.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk3/zoom-out.png +0 -0
- data/vendor/local/share/license/gtk+/AUTHORS +65 -0
- data/vendor/local/share/license/gtk+/COPYING +481 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/en/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ky/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30-properties.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk30.mo +0 -0
- data/vendor/local/share/man/man1/gtk-launch.1 +53 -0
- data/vendor/local/share/man/man1/gtk-query-immodules-3.0.1 +75 -0
- data/vendor/local/share/man/man1/gtk-update-icon-cache.1 +88 -0
- data/vendor/local/share/themes/Default/gtk-3.0/gtk-keys.css +3 -0
- data/vendor/local/share/themes/Emacs/gtk-3.0/gtk-keys.css +121 -0
- metadata +1449 -0
@@ -0,0 +1,3403 @@
|
|
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.78.0">
|
7
|
+
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
|
8
|
+
<link rel="up" href="SelectorWidgets.html" title="Selectors (Color/File/Font)">
|
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.1 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
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+ 3 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 <gtk/gtk.h>
|
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><span class="type">gboolean</span> local_only</code></em>);
|
63
|
+
<span class="returnvalue">gboolean</span> <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><span class="type">gboolean</span> select_multiple</code></em>);
|
67
|
+
<span class="returnvalue">gboolean</span> <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><span class="type">gboolean</span> show_hidden</code></em>);
|
71
|
+
<span class="returnvalue">gboolean</span> <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><span class="type">gboolean</span> do_overwrite_confirmation</code></em>);
|
75
|
+
<span class="returnvalue">gboolean</span> <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><span class="type">gboolean</span> create_folders</code></em>);
|
79
|
+
<span class="returnvalue">gboolean</span> <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 <span class="type">gchar</span> *name</code></em>);
|
82
|
+
<span class="returnvalue">gchar</span> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename ()">gtk_file_chooser_get_filename</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
83
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filename" title="gtk_file_chooser_set_filename ()">gtk_file_chooser_set_filename</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
84
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
|
85
|
+
<span class="returnvalue">gboolean</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename ()">gtk_file_chooser_select_filename</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
86
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
|
87
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-filename" title="gtk_file_chooser_unselect_filename ()">gtk_file_chooser_unselect_filename</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
88
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
|
89
|
+
<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>);
|
90
|
+
<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>);
|
91
|
+
<span class="returnvalue">GSList</span> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames ()">gtk_file_chooser_get_filenames</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
92
|
+
<span class="returnvalue">gboolean</span> <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> (<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">gchar</span> *filename</code></em>);
|
94
|
+
<span class="returnvalue">gchar</span> * <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> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
95
|
+
<span class="returnvalue">gchar</span> * <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>);
|
96
|
+
<span class="returnvalue">gboolean</span> <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>,
|
97
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
|
98
|
+
<span class="returnvalue">gboolean</span> <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>,
|
99
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
|
100
|
+
<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>,
|
101
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
|
102
|
+
<span class="returnvalue">GSList</span> * <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>);
|
103
|
+
<span class="returnvalue">gboolean</span> <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>
|
104
|
+
(<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>const <span class="type">gchar</span> *uri</code></em>);
|
106
|
+
<span class="returnvalue">gchar</span> * <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>
|
107
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
108
|
+
<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>,
|
109
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);
|
110
|
+
<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>);
|
111
|
+
<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>
|
112
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
113
|
+
<em class="parameter"><code><span class="type">gboolean</span> active</code></em>);
|
114
|
+
<span class="returnvalue">gboolean</span> <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>
|
115
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
116
|
+
<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>
|
117
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
118
|
+
<em class="parameter"><code><span class="type">gboolean</span> use_label</code></em>);
|
119
|
+
<span class="returnvalue">gboolean</span> <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>
|
120
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
121
|
+
<span class="returnvalue">char</span> * <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>
|
122
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
123
|
+
<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>);
|
124
|
+
<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>,
|
125
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);
|
126
|
+
<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>);
|
127
|
+
<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>,
|
128
|
+
<em class="parameter"><code><a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
|
129
|
+
<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>,
|
130
|
+
<em class="parameter"><code><a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
|
131
|
+
<span class="returnvalue">GSList</span> * <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>);
|
132
|
+
<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>,
|
133
|
+
<em class="parameter"><code><a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
|
134
|
+
<a class="link" href="GtkFileFilter.html" title="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>);
|
135
|
+
<span class="returnvalue">gboolean</span> <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>
|
136
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
137
|
+
<em class="parameter"><code>const <span class="type">char</span> *folder</code></em>,
|
138
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
139
|
+
<span class="returnvalue">gboolean</span> <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>
|
140
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
141
|
+
<em class="parameter"><code>const <span class="type">char</span> *folder</code></em>,
|
142
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
143
|
+
<span class="returnvalue">GSList</span> * <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>
|
144
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
145
|
+
<span class="returnvalue">gboolean</span> <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>
|
146
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
147
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
148
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
149
|
+
<span class="returnvalue">gboolean</span> <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>
|
150
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
151
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
152
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
153
|
+
<span class="returnvalue">GSList</span> * <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>
|
154
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
155
|
+
<span class="returnvalue">GFile</span> * <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>
|
156
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
157
|
+
<span class="returnvalue">GFile</span> * <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>);
|
158
|
+
<span class="returnvalue">GSList</span> * <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>);
|
159
|
+
<span class="returnvalue">GFile</span> * <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>);
|
160
|
+
<span class="returnvalue">gboolean</span> <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>,
|
161
|
+
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
|
162
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
163
|
+
<span class="returnvalue">gboolean</span> <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>
|
164
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
165
|
+
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
|
166
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
167
|
+
<span class="returnvalue">gboolean</span> <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>,
|
168
|
+
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
|
169
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
|
170
|
+
<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>,
|
171
|
+
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>);
|
172
|
+
</pre>
|
173
|
+
</div>
|
174
|
+
<div class="refsect1">
|
175
|
+
<a name="GtkFileChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
176
|
+
<pre class="synopsis">
|
177
|
+
GInterface
|
178
|
+
+----GtkFileChooser
|
179
|
+
</pre>
|
180
|
+
</div>
|
181
|
+
<div class="refsect1">
|
182
|
+
<a name="GtkFileChooser.prerequisites"></a><h2>Prerequisites</h2>
|
183
|
+
<p>
|
184
|
+
GtkFileChooser requires
|
185
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
|
186
|
+
</div>
|
187
|
+
<div class="refsect1">
|
188
|
+
<a name="GtkFileChooser.implementations"></a><h2>Known Implementations</h2>
|
189
|
+
<p>
|
190
|
+
GtkFileChooser is implemented by
|
191
|
+
<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>
|
192
|
+
</div>
|
193
|
+
<div class="refsect1">
|
194
|
+
<a name="GtkFileChooser.properties"></a><h2>Properties</h2>
|
195
|
+
<pre class="synopsis">
|
196
|
+
"<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
|
197
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--create-folders" title='The "create-folders" property'>create-folders</a>" <span class="type">gboolean</span> : Read / Write
|
198
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--do-overwrite-confirmation" title='The "do-overwrite-confirmation" property'>do-overwrite-confirmation</a>" <span class="type">gboolean</span> : Read / Write
|
199
|
+
"<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
|
200
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--filter" title='The "filter" property'>filter</a>" <a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a>* : Read / Write
|
201
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--local-only" title='The "local-only" property'>local-only</a>" <span class="type">gboolean</span> : Read / Write
|
202
|
+
"<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
|
203
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--preview-widget-active" title='The "preview-widget-active" property'>preview-widget-active</a>" <span class="type">gboolean</span> : Read / Write
|
204
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--select-multiple" title='The "select-multiple" property'>select-multiple</a>" <span class="type">gboolean</span> : Read / Write
|
205
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--show-hidden" title='The "show-hidden" property'>show-hidden</a>" <span class="type">gboolean</span> : Read / Write
|
206
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--use-preview-label" title='The "use-preview-label" property'>use-preview-label</a>" <span class="type">gboolean</span> : Read / Write
|
207
|
+
</pre>
|
208
|
+
</div>
|
209
|
+
<div class="refsect1">
|
210
|
+
<a name="GtkFileChooser.signals"></a><h2>Signals</h2>
|
211
|
+
<pre class="synopsis">
|
212
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'>confirm-overwrite</a>" : <code class="literal">Run Last</code>
|
213
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-current-folder-changed" title='The "current-folder-changed" signal'>current-folder-changed</a>" : <code class="literal">Run Last</code>
|
214
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-file-activated" title='The "file-activated" signal'>file-activated</a>" : <code class="literal">Run Last</code>
|
215
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-selection-changed" title='The "selection-changed" signal'>selection-changed</a>" : <code class="literal">Run Last</code>
|
216
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title='The "update-preview" signal'>update-preview</a>" : <code class="literal">Run Last</code>
|
217
|
+
</pre>
|
218
|
+
</div>
|
219
|
+
<div class="refsect1">
|
220
|
+
<a name="GtkFileChooser.description"></a><h2>Description</h2>
|
221
|
+
<p>
|
222
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is an interface that can be implemented by file
|
223
|
+
selection widgets. In GTK+, the main objects that implement this
|
224
|
+
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
|
225
|
+
<a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a>. You do not need to write an object that
|
226
|
+
implements the <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> interface unless you are trying to
|
227
|
+
adapt an existing file selector to expose a standard programming
|
228
|
+
interface.
|
229
|
+
</p>
|
230
|
+
<p>
|
231
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> allows for shortcuts to various places in the filesystem.
|
232
|
+
In the default implementation these are displayed in the left pane. It
|
233
|
+
may be a bit confusing at first that these shortcuts come from various
|
234
|
+
sources and in various flavours, so lets explain the terminology here:
|
235
|
+
</p>
|
236
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
237
|
+
<colgroup>
|
238
|
+
<col align="left" valign="top">
|
239
|
+
<col>
|
240
|
+
</colgroup>
|
241
|
+
<tbody>
|
242
|
+
<tr>
|
243
|
+
<td><p><span class="term">Bookmarks</span></p></td>
|
244
|
+
<td>
|
245
|
+
are created by the user, by dragging folders from the
|
246
|
+
right pane to the left pane, or by using the "Add". Bookmarks
|
247
|
+
can be renamed and deleted by the user.
|
248
|
+
</td>
|
249
|
+
</tr>
|
250
|
+
<tr>
|
251
|
+
<td><p><span class="term">Shortcuts</span></p></td>
|
252
|
+
<td>
|
253
|
+
can be provided by the application or by the underlying filesystem
|
254
|
+
abstraction (e.g. both the gnome-vfs and the Windows filesystems
|
255
|
+
provide "Desktop" shortcuts). Shortcuts cannot be modified by the
|
256
|
+
user.
|
257
|
+
</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td><p><span class="term">Volumes</span></p></td>
|
261
|
+
<td>
|
262
|
+
are provided by the underlying filesystem abstraction. They are
|
263
|
+
the "roots" of the filesystem.
|
264
|
+
</td>
|
265
|
+
</tr>
|
266
|
+
</tbody>
|
267
|
+
</table></div>
|
268
|
+
<p>
|
269
|
+
</p>
|
270
|
+
<p>
|
271
|
+
</p>
|
272
|
+
<div class="refsect2">
|
273
|
+
<a name="gtkfilechooser-encodings"></a><h3>File Names and Encodings</h3>
|
274
|
+
When the user is finished selecting files in a
|
275
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>, your program can get the selected names
|
276
|
+
either as filenames or as URIs. For URIs, the normal escaping
|
277
|
+
rules are applied if the URI contains non-ASCII characters.
|
278
|
+
However, filenames are <span class="emphasis"><em>always</em></span> returned in
|
279
|
+
the character set specified by the
|
280
|
+
<code class="envar">G_FILENAME_ENCODING</code> environment variable.
|
281
|
+
Please see the GLib documentation for more details about this
|
282
|
+
variable.
|
283
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
284
|
+
<h3 class="title">Note</h3>
|
285
|
+
This means that while you can pass the result of
|
286
|
+
<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
|
287
|
+
<code class="function">open(2)</code> or
|
288
|
+
<code class="function">fopen(3)</code>, you may not be able to
|
289
|
+
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
|
290
|
+
convert it first to UTF-8, which all GTK+ widgets expect.
|
291
|
+
You should use <code class="function">g_filename_to_utf8()</code> to convert filenames
|
292
|
+
into strings that can be passed to GTK+ widgets.
|
293
|
+
</div>
|
294
|
+
</div>
|
295
|
+
<p>
|
296
|
+
</p>
|
297
|
+
<hr>
|
298
|
+
<div class="refsect2">
|
299
|
+
<a name="gtkfilechooser-preview"></a><h3>Adding a Preview Widget</h3>
|
300
|
+
<p>
|
301
|
+
You can add a custom preview widget to a file chooser and then
|
302
|
+
get notification about when the preview needs to be updated.
|
303
|
+
To install a preview widget, use
|
304
|
+
<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
|
305
|
+
<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
|
306
|
+
you need to update the contents of the preview.
|
307
|
+
</p>
|
308
|
+
<p>
|
309
|
+
Your callback should use
|
310
|
+
<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
|
311
|
+
previewing. Once you have generated the preview for the
|
312
|
+
corresponding file, you must call
|
313
|
+
<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
|
314
|
+
flag that indicates whether your callback could successfully
|
315
|
+
generate a preview.
|
316
|
+
</p>
|
317
|
+
<div class="example">
|
318
|
+
<a name="example-gtkfilechooser-preview"></a><p class="title"><b>Example 85. Sample Usage</b></p>
|
319
|
+
<div class="example-contents">
|
320
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
321
|
+
<tbody>
|
322
|
+
<tr>
|
323
|
+
<td class="listing_lines" align="right"><pre>1
|
324
|
+
2
|
325
|
+
3
|
326
|
+
4
|
327
|
+
5
|
328
|
+
6
|
329
|
+
7
|
330
|
+
8
|
331
|
+
9
|
332
|
+
10
|
333
|
+
11
|
334
|
+
12
|
335
|
+
13
|
336
|
+
14
|
337
|
+
15
|
338
|
+
16
|
339
|
+
17
|
340
|
+
18
|
341
|
+
19
|
342
|
+
20
|
343
|
+
21
|
344
|
+
22
|
345
|
+
23
|
346
|
+
24
|
347
|
+
25
|
348
|
+
26
|
349
|
+
27
|
350
|
+
28
|
351
|
+
29
|
352
|
+
30
|
353
|
+
31
|
354
|
+
32
|
355
|
+
33</pre></td>
|
356
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
357
|
+
<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>
|
358
|
+
|
359
|
+
<span class="normal"> </span><span class="symbol">...</span>
|
360
|
+
|
361
|
+
<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>
|
362
|
+
|
363
|
+
<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>
|
364
|
+
<span class="normal"> </span><span class="function">g_signal_connect</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>
|
365
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</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>
|
366
|
+
<span class="cbracket">}</span>
|
367
|
+
|
368
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
369
|
+
<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>
|
370
|
+
<span class="cbracket">{</span>
|
371
|
+
<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>
|
372
|
+
<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>
|
373
|
+
<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>
|
374
|
+
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> have_preview</span><span class="symbol">;</span>
|
375
|
+
|
376
|
+
<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>
|
377
|
+
<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>
|
378
|
+
|
379
|
+
<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="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
380
|
+
<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="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
381
|
+
<span class="normal"> </span><span class="function">g_free</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">);</span>
|
382
|
+
|
383
|
+
<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>
|
384
|
+
<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>
|
385
|
+
<span class="normal"> </span><span class="function">g_object_unref</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
386
|
+
|
387
|
+
<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>
|
388
|
+
<span class="cbracket">}</span></pre></td>
|
389
|
+
</tr>
|
390
|
+
</tbody>
|
391
|
+
</table>
|
392
|
+
</div>
|
393
|
+
|
394
|
+
</div>
|
395
|
+
<br class="example-break">
|
396
|
+
</div>
|
397
|
+
<p>
|
398
|
+
</p>
|
399
|
+
<hr>
|
400
|
+
<div class="refsect2">
|
401
|
+
<a name="gtkfilechooser-extra"></a><h3>Adding Extra Widgets</h3>
|
402
|
+
<p>
|
403
|
+
You can add extra widgets to a file chooser to provide options
|
404
|
+
that are not present in the default design. For example, you
|
405
|
+
can add a toggle button to give the user the option to open a
|
406
|
+
file in read-only mode. You can use
|
407
|
+
<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
|
408
|
+
widgets in a file chooser.
|
409
|
+
</p>
|
410
|
+
<div class="example">
|
411
|
+
<a name="example-gtkfilechooser-extra"></a><p class="title"><b>Example 86. Sample Usage</b></p>
|
412
|
+
<div class="example-contents">
|
413
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
414
|
+
<tbody>
|
415
|
+
<tr>
|
416
|
+
<td class="listing_lines" align="right"><pre>1
|
417
|
+
2
|
418
|
+
3
|
419
|
+
4
|
420
|
+
5
|
421
|
+
6
|
422
|
+
7
|
423
|
+
8</pre></td>
|
424
|
+
<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>
|
425
|
+
|
426
|
+
<span class="symbol">...</span>
|
427
|
+
|
428
|
+
<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>
|
429
|
+
<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>
|
430
|
+
<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>
|
431
|
+
<span class="cbracket">}</span></pre></td>
|
432
|
+
</tr>
|
433
|
+
</tbody>
|
434
|
+
</table>
|
435
|
+
</div>
|
436
|
+
|
437
|
+
</div>
|
438
|
+
<br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
439
|
+
<h3 class="title">Note</h3>
|
440
|
+
If you want to set more than one extra widget in the file
|
441
|
+
chooser, you can a container such as a <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a> or a <a class="link" href="GtkGrid.html" title="GtkGrid"><span class="type">GtkGrid</span></a>
|
442
|
+
and include your widgets in it. Then, set the container as
|
443
|
+
the whole extra widget.
|
444
|
+
</div>
|
445
|
+
</div>
|
446
|
+
<p>
|
447
|
+
</p>
|
448
|
+
<hr>
|
449
|
+
<div class="refsect2">
|
450
|
+
<a name="gtkfilechooser-key-bindings"></a><h3>Key Bindings</h3>
|
451
|
+
<p>
|
452
|
+
Internally, GTK+ implements a file chooser's graphical user
|
453
|
+
interface with the private
|
454
|
+
<code class="classname">GtkFileChooserDefaultClass</code>. This
|
455
|
+
widget has several <GTKDOCLINK HREF="gtk-Bindings">key
|
456
|
+
bindings</GTKDOCLINK> and their associated signals. This section
|
457
|
+
describes the available key binding signals.
|
458
|
+
</p>
|
459
|
+
<div class="example">
|
460
|
+
<a name="gtkfilechooser-key-binding-example"></a><p class="title"><b>Example 87. GtkFileChooser key binding example</b></p>
|
461
|
+
<div class="example-contents">
|
462
|
+
<p>
|
463
|
+
The default keys that activate the key-binding signals in
|
464
|
+
<code class="classname">GtkFileChooserDefaultClass</code> are as
|
465
|
+
follows:
|
466
|
+
</p>
|
467
|
+
<div class="informaltable"><table border="1">
|
468
|
+
<colgroup>
|
469
|
+
<col>
|
470
|
+
<col>
|
471
|
+
</colgroup>
|
472
|
+
<tbody>
|
473
|
+
<tr>
|
474
|
+
<td>Signal name</td>
|
475
|
+
<td>Default key combinations</td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td>location-popup</td>
|
479
|
+
<td>
|
480
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span> (empty path);
|
481
|
+
<span class="keycap"><strong>/</strong></span> (path of "/")
|
482
|
+
<a href="#ftn.idm140520335025456" class="footnote" name="idm140520335025456"><sup class="footnote">[a]</sup></a>;
|
483
|
+
<span class="keycap"><strong>~</strong></span> (path of "~")
|
484
|
+
</td>
|
485
|
+
</tr>
|
486
|
+
<tr>
|
487
|
+
<td>up-folder</td>
|
488
|
+
<td>
|
489
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span>;
|
490
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Up</strong></span>
|
491
|
+
<a href="#ftn.idm140520335017520" class="footnote" name="idm140520335017520"><sup class="footnote">[b]</sup></a>;
|
492
|
+
<span class="keycap"><strong>Backspace</strong></span>
|
493
|
+
</td>
|
494
|
+
</tr>
|
495
|
+
<tr>
|
496
|
+
<td>down-folder</td>
|
497
|
+
<td>
|
498
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span>;
|
499
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Down</strong></span>
|
500
|
+
<a href="#ftn.idm140520335010368" class="footnote" name="idm140520335010368"><sup class="footnote">[c]</sup></a>
|
501
|
+
</td>
|
502
|
+
</tr>
|
503
|
+
<tr>
|
504
|
+
<td>home-folder</td>
|
505
|
+
<td>
|
506
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Home</strong></span>
|
507
|
+
</td>
|
508
|
+
</tr>
|
509
|
+
<tr>
|
510
|
+
<td>desktop-folder</td>
|
511
|
+
<td>
|
512
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>D</strong></span>
|
513
|
+
</td>
|
514
|
+
</tr>
|
515
|
+
<tr>
|
516
|
+
<td>quick-bookmark</td>
|
517
|
+
<td>
|
518
|
+
<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>
|
519
|
+
</td>
|
520
|
+
</tr>
|
521
|
+
</tbody>
|
522
|
+
<tbody class="footnotes"><tr><td colspan="2">
|
523
|
+
<div id="ftn.idm140520335025456" class="footnote"><span class="keycap"><strong><a href="#idm140520335025456" class="keycap"><sup>[a] </sup></a>/</strong></span></div>
|
524
|
+
<div id="ftn.idm140520335017520" class="footnote"></div>
|
525
|
+
<div id="ftn.idm140520335010368" class="footnote"></div>
|
526
|
+
</td></tr></tbody>
|
527
|
+
</table></div>
|
528
|
+
<p>
|
529
|
+
You can change these defaults to something else. For
|
530
|
+
example, to add a <span class="keycap"><strong>Shift</strong></span> modifier to a few
|
531
|
+
of the default bindings, you can include the following
|
532
|
+
fragment in your <code class="filename">.config/gtk-3.0/gtk.css</code> file:
|
533
|
+
</p>
|
534
|
+
<pre class="programlisting">
|
535
|
+
@binding-set MyOwnFilechooserBindings
|
536
|
+
{
|
537
|
+
bind "<Alt><Shift>Up" { "up-folder" () }
|
538
|
+
bind "<Alt><Shift>Down" { "down-folder" () }
|
539
|
+
bind "<Alt><Shift>Home" { "home-folder" () }
|
540
|
+
}
|
541
|
+
|
542
|
+
GtkFileChooserDefault
|
543
|
+
{
|
544
|
+
gtk-key-bindings: MyOwnFilechooserBindings
|
545
|
+
}
|
546
|
+
</pre>
|
547
|
+
</div>
|
548
|
+
</div>
|
549
|
+
<br class="example-break"><div class="refsect3">
|
550
|
+
<a name="GtkFileChooserDefault-location-popup"></a><h4>The "GtkFileChooserDefault::location-popup" signal</h4>
|
551
|
+
<pre class="programlisting">
|
552
|
+
void user_function (GtkFileChooserDefault *chooser,
|
553
|
+
const char *path,
|
554
|
+
gpointer user_data);
|
555
|
+
</pre>
|
556
|
+
<p>
|
557
|
+
This is used to make the file chooser show a "Location"
|
558
|
+
dialog which the user can use to manually type the name of
|
559
|
+
the file he wishes to select. The
|
560
|
+
<em class="parameter"><code>path</code></em> argument is a string that gets
|
561
|
+
put in the text entry for the file name. By default this is bound to
|
562
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span>
|
563
|
+
with a <em class="parameter"><code>path</code></em> string of "" (the empty
|
564
|
+
string). It is also bound to <span class="keycap"><strong>/</strong></span> with a
|
565
|
+
<em class="parameter"><code>path</code></em> string of "<code class="literal">/</code>"
|
566
|
+
(a slash): this lets you type <span class="keycap"><strong>/</strong></span> and
|
567
|
+
immediately type a path name. On Unix systems, this is bound to
|
568
|
+
<span class="keycap"><strong>~</strong></span> (tilde) with a <em class="parameter"><code>path</code></em> string
|
569
|
+
of "~" itself for access to home directories.
|
570
|
+
</p>
|
571
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
572
|
+
<colgroup>
|
573
|
+
<col align="left" valign="top">
|
574
|
+
<col>
|
575
|
+
</colgroup>
|
576
|
+
<tbody>
|
577
|
+
<tr>
|
578
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
579
|
+
<td>
|
580
|
+
the object which received the signal.
|
581
|
+
</td>
|
582
|
+
</tr>
|
583
|
+
<tr>
|
584
|
+
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
|
585
|
+
<td>
|
586
|
+
default contents for the text entry for the file name
|
587
|
+
</td>
|
588
|
+
</tr>
|
589
|
+
<tr>
|
590
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
591
|
+
<td>
|
592
|
+
user data set when the signal handler was connected.
|
593
|
+
</td>
|
594
|
+
</tr>
|
595
|
+
</tbody>
|
596
|
+
</table></div>
|
597
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
598
|
+
<h3 class="title">Note</h3>
|
599
|
+
You can create your own bindings for the
|
600
|
+
<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
|
601
|
+
<em class="parameter"><code>path</code></em> strings, and have a crude form
|
602
|
+
of easily-to-type bookmarks. For example, say you access
|
603
|
+
the path <code class="filename">/home/username/misc</code> very
|
604
|
+
frequently. You could then create an <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>M</strong></span>
|
605
|
+
shortcut by including the following in your
|
606
|
+
<code class="filename">.config/gtk-3.0/gtk.css</code>:
|
607
|
+
<pre class="programlisting">
|
608
|
+
@binding-set MiscShortcut
|
609
|
+
{
|
610
|
+
bind "<Alt>M" { "location-popup" ("/home/username/misc") }
|
611
|
+
}
|
612
|
+
|
613
|
+
GtkFileChooserDefault
|
614
|
+
{
|
615
|
+
gtk-key-bindings: MiscShortcut
|
616
|
+
}
|
617
|
+
</pre>
|
618
|
+
</div>
|
619
|
+
</div>
|
620
|
+
<div class="refsect3">
|
621
|
+
<a name="GtkFileChooserDefault-up-folder"></a><h4>The "GtkFileChooserDefault::up-folder" signal</h4>
|
622
|
+
<pre class="programlisting">
|
623
|
+
void user_function (GtkFileChooserDefault *chooser,
|
624
|
+
gpointer user_data);
|
625
|
+
</pre>
|
626
|
+
<p>
|
627
|
+
This is used to make the file chooser go to the parent of
|
628
|
+
the current folder in the file hierarchy. By default this
|
629
|
+
is bound to <span class="keycap"><strong>Backspace</strong></span> and
|
630
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span>
|
631
|
+
(the Up key in the numeric keypad also works).
|
632
|
+
</p>
|
633
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
634
|
+
<colgroup>
|
635
|
+
<col align="left" valign="top">
|
636
|
+
<col>
|
637
|
+
</colgroup>
|
638
|
+
<tbody>
|
639
|
+
<tr>
|
640
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
641
|
+
<td>
|
642
|
+
the object which received the signal.
|
643
|
+
</td>
|
644
|
+
</tr>
|
645
|
+
<tr>
|
646
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
647
|
+
<td>
|
648
|
+
user data set when the signal handler was connected.
|
649
|
+
</td>
|
650
|
+
</tr>
|
651
|
+
</tbody>
|
652
|
+
</table></div>
|
653
|
+
</div>
|
654
|
+
<div class="refsect3">
|
655
|
+
<a name="GtkFileChooserDefault-down-folder"></a><h4>The "GtkFileChooserDefault::down-folder" signal</h4>
|
656
|
+
<pre class="programlisting">
|
657
|
+
void user_function (GtkFileChooserDefault *chooser,
|
658
|
+
gpointer user_data);
|
659
|
+
</pre>
|
660
|
+
<p>
|
661
|
+
This is used to make the file chooser go to a child of the
|
662
|
+
current folder in the file hierarchy. The subfolder that
|
663
|
+
will be used is displayed in the path bar widget of the file
|
664
|
+
chooser. For example, if the path bar is showing
|
665
|
+
"/foo/<span class="emphasis"><em>bar/</em></span>baz", then this will cause
|
666
|
+
the file chooser to switch to the "baz" subfolder. By
|
667
|
+
default this is bound to
|
668
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span>
|
669
|
+
(the Down key in the numeric keypad also works).
|
670
|
+
</p>
|
671
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
672
|
+
<colgroup>
|
673
|
+
<col align="left" valign="top">
|
674
|
+
<col>
|
675
|
+
</colgroup>
|
676
|
+
<tbody>
|
677
|
+
<tr>
|
678
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
679
|
+
<td>
|
680
|
+
the object which received the signal.
|
681
|
+
</td>
|
682
|
+
</tr>
|
683
|
+
<tr>
|
684
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
685
|
+
<td>
|
686
|
+
user data set when the signal handler was connected.
|
687
|
+
</td>
|
688
|
+
</tr>
|
689
|
+
</tbody>
|
690
|
+
</table></div>
|
691
|
+
</div>
|
692
|
+
<div class="refsect3">
|
693
|
+
<a name="GtkFileChooserDefault-home-folder"></a><h4>The "GtkFileChooserDefault::home-folder" signal</h4>
|
694
|
+
<pre class="programlisting">
|
695
|
+
void user_function (GtkFileChooserDefault *chooser,
|
696
|
+
gpointer user_data);
|
697
|
+
</pre>
|
698
|
+
<p>
|
699
|
+
This is used to make the file chooser show the user's home
|
700
|
+
folder in the file list. By default this is bound to
|
701
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Home</strong></span>
|
702
|
+
(the Home key in the numeric keypad also works).
|
703
|
+
</p>
|
704
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
705
|
+
<colgroup>
|
706
|
+
<col align="left" valign="top">
|
707
|
+
<col>
|
708
|
+
</colgroup>
|
709
|
+
<tbody>
|
710
|
+
<tr>
|
711
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
712
|
+
<td>
|
713
|
+
the object which received the signal.
|
714
|
+
</td>
|
715
|
+
</tr>
|
716
|
+
<tr>
|
717
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
718
|
+
<td>
|
719
|
+
user data set when the signal handler was connected.
|
720
|
+
</td>
|
721
|
+
</tr>
|
722
|
+
</tbody>
|
723
|
+
</table></div>
|
724
|
+
</div>
|
725
|
+
<div class="refsect3">
|
726
|
+
<a name="GtkFileChooserDefault-desktop-folder"></a><h4>The "GtkFileChooserDefault::desktop-folder" signal</h4>
|
727
|
+
<pre class="programlisting">
|
728
|
+
void user_function (GtkFileChooserDefault *chooser,
|
729
|
+
gpointer user_data);
|
730
|
+
</pre>
|
731
|
+
<p>
|
732
|
+
This is used to make the file chooser show the user's Desktop
|
733
|
+
folder in the file list. By default this is bound to
|
734
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>D</strong></span>.
|
735
|
+
</p>
|
736
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
737
|
+
<colgroup>
|
738
|
+
<col align="left" valign="top">
|
739
|
+
<col>
|
740
|
+
</colgroup>
|
741
|
+
<tbody>
|
742
|
+
<tr>
|
743
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
744
|
+
<td>
|
745
|
+
the object which received the signal.
|
746
|
+
</td>
|
747
|
+
</tr>
|
748
|
+
<tr>
|
749
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
750
|
+
<td>
|
751
|
+
user data set when the signal handler was connected.
|
752
|
+
</td>
|
753
|
+
</tr>
|
754
|
+
</tbody>
|
755
|
+
</table></div>
|
756
|
+
</div>
|
757
|
+
<div class="refsect3">
|
758
|
+
<a name="GtkFileChooserDefault-quick-bookmark"></a><h4>The "GtkFileChooserDefault::quick-bookmark" signal</h4>
|
759
|
+
<pre class="programlisting">
|
760
|
+
void user_function (GtkFileChooserDefault *chooser,
|
761
|
+
gint bookmark_index,
|
762
|
+
gpointer user_data);
|
763
|
+
</pre>
|
764
|
+
<p>
|
765
|
+
This is used to make the file chooser switch to the bookmark
|
766
|
+
specified in the <em class="parameter"><code>bookmark_index</code></em> parameter.
|
767
|
+
For example, if you have three bookmarks, you can pass 0, 1, 2 to
|
768
|
+
this signal to switch to each of them, respectively. By default this is bound to
|
769
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span>,
|
770
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>2</strong></span>,
|
771
|
+
etc. until
|
772
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span>. Note
|
773
|
+
that in the default binding,
|
774
|
+
that <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span> is
|
775
|
+
actually defined to switch to the bookmark at index 0, and so on
|
776
|
+
successively;
|
777
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span> is
|
778
|
+
defined to switch to the bookmark at index 10.
|
779
|
+
</p>
|
780
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
781
|
+
<colgroup>
|
782
|
+
<col align="left" valign="top">
|
783
|
+
<col>
|
784
|
+
</colgroup>
|
785
|
+
<tbody>
|
786
|
+
<tr>
|
787
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
788
|
+
<td>
|
789
|
+
the object which received the signal.
|
790
|
+
</td>
|
791
|
+
</tr>
|
792
|
+
<tr>
|
793
|
+
<td><p><span class="term"><em class="parameter"><code>bookmark_indes</code></em> :</span></p></td>
|
794
|
+
<td>
|
795
|
+
index of the bookmark to switch to; the indices start at 0.
|
796
|
+
</td>
|
797
|
+
</tr>
|
798
|
+
<tr>
|
799
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
800
|
+
<td>
|
801
|
+
user data set when the signal handler was connected.
|
802
|
+
</td>
|
803
|
+
</tr>
|
804
|
+
</tbody>
|
805
|
+
</table></div>
|
806
|
+
</div>
|
807
|
+
</div>
|
808
|
+
<p>
|
809
|
+
</p>
|
810
|
+
</div>
|
811
|
+
<div class="refsect1">
|
812
|
+
<a name="GtkFileChooser.details"></a><h2>Details</h2>
|
813
|
+
<div class="refsect2">
|
814
|
+
<a name="GtkFileChooser-struct"></a><h3>GtkFileChooser</h3>
|
815
|
+
<pre class="programlisting">typedef struct _GtkFileChooser GtkFileChooser;</pre>
|
816
|
+
</div>
|
817
|
+
<hr>
|
818
|
+
<div class="refsect2">
|
819
|
+
<a name="GtkFileChooserAction"></a><h3>enum GtkFileChooserAction</h3>
|
820
|
+
<pre class="programlisting">typedef enum {
|
821
|
+
GTK_FILE_CHOOSER_ACTION_OPEN,
|
822
|
+
GTK_FILE_CHOOSER_ACTION_SAVE,
|
823
|
+
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
|
824
|
+
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
|
825
|
+
} GtkFileChooserAction;
|
826
|
+
</pre>
|
827
|
+
<p>
|
828
|
+
Describes whether a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is being used to open existing files
|
829
|
+
or to save to a possibly new file.
|
830
|
+
</p>
|
831
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
832
|
+
<colgroup>
|
833
|
+
<col align="left" valign="top">
|
834
|
+
<col>
|
835
|
+
</colgroup>
|
836
|
+
<tbody>
|
837
|
+
<tr>
|
838
|
+
<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>
|
839
|
+
<td>Indicates open mode. The file chooser
|
840
|
+
will only let the user pick an existing file.
|
841
|
+
</td>
|
842
|
+
</tr>
|
843
|
+
<tr>
|
844
|
+
<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>
|
845
|
+
<td>Indicates save mode. The file chooser
|
846
|
+
will let the user pick an existing file, or type in a new
|
847
|
+
filename.
|
848
|
+
</td>
|
849
|
+
</tr>
|
850
|
+
<tr>
|
851
|
+
<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>
|
852
|
+
<td>Indicates an Open mode for
|
853
|
+
selecting folders. The file chooser will let the user pick an
|
854
|
+
existing folder.
|
855
|
+
</td>
|
856
|
+
</tr>
|
857
|
+
<tr>
|
858
|
+
<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>
|
859
|
+
<td>Indicates a mode for creating a
|
860
|
+
new folder. The file chooser will let the user name an existing or
|
861
|
+
new folder.
|
862
|
+
</td>
|
863
|
+
</tr>
|
864
|
+
</tbody>
|
865
|
+
</table></div>
|
866
|
+
</div>
|
867
|
+
<hr>
|
868
|
+
<div class="refsect2">
|
869
|
+
<a name="GtkFileChooserConfirmation"></a><h3>enum GtkFileChooserConfirmation</h3>
|
870
|
+
<pre class="programlisting">typedef enum {
|
871
|
+
GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM,
|
872
|
+
GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME,
|
873
|
+
GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
|
874
|
+
} GtkFileChooserConfirmation;
|
875
|
+
</pre>
|
876
|
+
<p>
|
877
|
+
Used as a return value of handlers for the
|
878
|
+
<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
|
879
|
+
value determines whether the file chooser will present the stock
|
880
|
+
confirmation dialog, accept the user's choice of a filename, or
|
881
|
+
let the user choose another filename.
|
882
|
+
</p>
|
883
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
884
|
+
<colgroup>
|
885
|
+
<col align="left" valign="top">
|
886
|
+
<col>
|
887
|
+
</colgroup>
|
888
|
+
<tbody>
|
889
|
+
<tr>
|
890
|
+
<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>
|
891
|
+
<td>The file chooser will present
|
892
|
+
its stock dialog to confirm about overwriting an existing file.
|
893
|
+
</td>
|
894
|
+
</tr>
|
895
|
+
<tr>
|
896
|
+
<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>
|
897
|
+
<td>The file chooser will
|
898
|
+
terminate and accept the user's choice of a file name.
|
899
|
+
</td>
|
900
|
+
</tr>
|
901
|
+
<tr>
|
902
|
+
<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>
|
903
|
+
<td>The file chooser will
|
904
|
+
continue running, so as to let the user select another file name.
|
905
|
+
</td>
|
906
|
+
</tr>
|
907
|
+
</tbody>
|
908
|
+
</table></div>
|
909
|
+
<p class="since">Since 2.8</p>
|
910
|
+
</div>
|
911
|
+
<hr>
|
912
|
+
<div class="refsect2">
|
913
|
+
<a name="GTK-FILE-CHOOSER-ERROR:CAPS"></a><h3>GTK_FILE_CHOOSER_ERROR</h3>
|
914
|
+
<pre class="programlisting">#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
|
915
|
+
</pre>
|
916
|
+
<p>
|
917
|
+
Used to get the <span class="type">GError</span> quark for <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> errors.
|
918
|
+
</p>
|
919
|
+
</div>
|
920
|
+
<hr>
|
921
|
+
<div class="refsect2">
|
922
|
+
<a name="GtkFileChooserError"></a><h3>enum GtkFileChooserError</h3>
|
923
|
+
<pre class="programlisting">typedef enum {
|
924
|
+
GTK_FILE_CHOOSER_ERROR_NONEXISTENT,
|
925
|
+
GTK_FILE_CHOOSER_ERROR_BAD_FILENAME,
|
926
|
+
GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS,
|
927
|
+
GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
|
928
|
+
} GtkFileChooserError;
|
929
|
+
</pre>
|
930
|
+
<p>
|
931
|
+
These identify the various errors that can occur while calling
|
932
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> functions.
|
933
|
+
</p>
|
934
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
935
|
+
<colgroup>
|
936
|
+
<col align="left" valign="top">
|
937
|
+
<col>
|
938
|
+
</colgroup>
|
939
|
+
<tbody>
|
940
|
+
<tr>
|
941
|
+
<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>
|
942
|
+
<td>Indicates that a file does not exist.
|
943
|
+
</td>
|
944
|
+
</tr>
|
945
|
+
<tr>
|
946
|
+
<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>
|
947
|
+
<td>Indicates a malformed filename.
|
948
|
+
</td>
|
949
|
+
</tr>
|
950
|
+
<tr>
|
951
|
+
<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>
|
952
|
+
<td>Indicates a duplicate path (e.g. when
|
953
|
+
adding a bookmark).
|
954
|
+
</td>
|
955
|
+
</tr>
|
956
|
+
<tr>
|
957
|
+
<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>
|
958
|
+
<td>Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).
|
959
|
+
</td>
|
960
|
+
</tr>
|
961
|
+
</tbody>
|
962
|
+
</table></div>
|
963
|
+
</div>
|
964
|
+
<hr>
|
965
|
+
<div class="refsect2">
|
966
|
+
<a name="gtk-file-chooser-set-action"></a><h3>gtk_file_chooser_set_action ()</h3>
|
967
|
+
<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>,
|
968
|
+
<em class="parameter"><code><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> action</code></em>);</pre>
|
969
|
+
<p>
|
970
|
+
Sets the type of operation that the chooser is performing; the
|
971
|
+
user interface is adapted to suit the selected action. For example,
|
972
|
+
an option to create a new folder might be shown if the action is
|
973
|
+
<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
|
974
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a>.
|
975
|
+
</p>
|
976
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
977
|
+
<colgroup>
|
978
|
+
<col align="left" valign="top">
|
979
|
+
<col>
|
980
|
+
</colgroup>
|
981
|
+
<tbody>
|
982
|
+
<tr>
|
983
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
984
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
985
|
+
</td>
|
986
|
+
</tr>
|
987
|
+
<tr>
|
988
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
989
|
+
<td>the action that the file selector is performing</td>
|
990
|
+
</tr>
|
991
|
+
</tbody>
|
992
|
+
</table></div>
|
993
|
+
<p class="since">Since 2.4</p>
|
994
|
+
</div>
|
995
|
+
<hr>
|
996
|
+
<div class="refsect2">
|
997
|
+
<a name="gtk-file-chooser-get-action"></a><h3>gtk_file_chooser_get_action ()</h3>
|
998
|
+
<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>
|
999
|
+
<p>
|
1000
|
+
Gets the type of operation that the file chooser is performing; see
|
1001
|
+
<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>.
|
1002
|
+
</p>
|
1003
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1004
|
+
<colgroup>
|
1005
|
+
<col align="left" valign="top">
|
1006
|
+
<col>
|
1007
|
+
</colgroup>
|
1008
|
+
<tbody>
|
1009
|
+
<tr>
|
1010
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1011
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1012
|
+
</td>
|
1013
|
+
</tr>
|
1014
|
+
<tr>
|
1015
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1016
|
+
<td>the action that the file selector is performing</td>
|
1017
|
+
</tr>
|
1018
|
+
</tbody>
|
1019
|
+
</table></div>
|
1020
|
+
<p class="since">Since 2.4</p>
|
1021
|
+
</div>
|
1022
|
+
<hr>
|
1023
|
+
<div class="refsect2">
|
1024
|
+
<a name="gtk-file-chooser-set-local-only"></a><h3>gtk_file_chooser_set_local_only ()</h3>
|
1025
|
+
<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>,
|
1026
|
+
<em class="parameter"><code><span class="type">gboolean</span> local_only</code></em>);</pre>
|
1027
|
+
<p>
|
1028
|
+
Sets whether only local files can be selected in the
|
1029
|
+
file selector. If <em class="parameter"><code>local_only</code></em> is <code class="literal">TRUE</code> (the default),
|
1030
|
+
then the selected file are files are guaranteed to be
|
1031
|
+
accessible through the operating systems native file
|
1032
|
+
file system and therefore the application only
|
1033
|
+
needs to worry about the filename functions in
|
1034
|
+
<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>,
|
1035
|
+
rather than the URI functions like
|
1036
|
+
<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>,
|
1037
|
+
</p>
|
1038
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1039
|
+
<colgroup>
|
1040
|
+
<col align="left" valign="top">
|
1041
|
+
<col>
|
1042
|
+
</colgroup>
|
1043
|
+
<tbody>
|
1044
|
+
<tr>
|
1045
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1046
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1047
|
+
</td>
|
1048
|
+
</tr>
|
1049
|
+
<tr>
|
1050
|
+
<td><p><span class="term"><em class="parameter"><code>local_only</code></em> :</span></p></td>
|
1051
|
+
<td>
|
1052
|
+
<code class="literal">TRUE</code> if only local files can be selected</td>
|
1053
|
+
</tr>
|
1054
|
+
</tbody>
|
1055
|
+
</table></div>
|
1056
|
+
<p class="since">Since 2.4</p>
|
1057
|
+
</div>
|
1058
|
+
<hr>
|
1059
|
+
<div class="refsect2">
|
1060
|
+
<a name="gtk-file-chooser-get-local-only"></a><h3>gtk_file_chooser_get_local_only ()</h3>
|
1061
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
1062
|
+
<p>
|
1063
|
+
Gets whether only local files can be selected in the
|
1064
|
+
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>
|
1065
|
+
</p>
|
1066
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1067
|
+
<colgroup>
|
1068
|
+
<col align="left" valign="top">
|
1069
|
+
<col>
|
1070
|
+
</colgroup>
|
1071
|
+
<tbody>
|
1072
|
+
<tr>
|
1073
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1074
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1075
|
+
</td>
|
1076
|
+
</tr>
|
1077
|
+
<tr>
|
1078
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1079
|
+
<td>
|
1080
|
+
<code class="literal">TRUE</code> if only local files can be selected.</td>
|
1081
|
+
</tr>
|
1082
|
+
</tbody>
|
1083
|
+
</table></div>
|
1084
|
+
<p class="since">Since 2.4</p>
|
1085
|
+
</div>
|
1086
|
+
<hr>
|
1087
|
+
<div class="refsect2">
|
1088
|
+
<a name="gtk-file-chooser-set-select-multiple"></a><h3>gtk_file_chooser_set_select_multiple ()</h3>
|
1089
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_select_multiple
|
1090
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1091
|
+
<em class="parameter"><code><span class="type">gboolean</span> select_multiple</code></em>);</pre>
|
1092
|
+
<p>
|
1093
|
+
Sets whether multiple files can be selected in the file selector. This is
|
1094
|
+
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
|
1095
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></a>.
|
1096
|
+
</p>
|
1097
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1098
|
+
<colgroup>
|
1099
|
+
<col align="left" valign="top">
|
1100
|
+
<col>
|
1101
|
+
</colgroup>
|
1102
|
+
<tbody>
|
1103
|
+
<tr>
|
1104
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1105
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1106
|
+
</td>
|
1107
|
+
</tr>
|
1108
|
+
<tr>
|
1109
|
+
<td><p><span class="term"><em class="parameter"><code>select_multiple</code></em> :</span></p></td>
|
1110
|
+
<td>
|
1111
|
+
<code class="literal">TRUE</code> if multiple files can be selected.</td>
|
1112
|
+
</tr>
|
1113
|
+
</tbody>
|
1114
|
+
</table></div>
|
1115
|
+
<p class="since">Since 2.4</p>
|
1116
|
+
</div>
|
1117
|
+
<hr>
|
1118
|
+
<div class="refsect2">
|
1119
|
+
<a name="gtk-file-chooser-get-select-multiple"></a><h3>gtk_file_chooser_get_select_multiple ()</h3>
|
1120
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_get_select_multiple
|
1121
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1122
|
+
<p>
|
1123
|
+
Gets whether multiple files can be selected in the file
|
1124
|
+
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>.
|
1125
|
+
</p>
|
1126
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1127
|
+
<colgroup>
|
1128
|
+
<col align="left" valign="top">
|
1129
|
+
<col>
|
1130
|
+
</colgroup>
|
1131
|
+
<tbody>
|
1132
|
+
<tr>
|
1133
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1134
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1135
|
+
</td>
|
1136
|
+
</tr>
|
1137
|
+
<tr>
|
1138
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1139
|
+
<td>
|
1140
|
+
<code class="literal">TRUE</code> if multiple files can be selected.</td>
|
1141
|
+
</tr>
|
1142
|
+
</tbody>
|
1143
|
+
</table></div>
|
1144
|
+
<p class="since">Since 2.4</p>
|
1145
|
+
</div>
|
1146
|
+
<hr>
|
1147
|
+
<div class="refsect2">
|
1148
|
+
<a name="gtk-file-chooser-set-show-hidden"></a><h3>gtk_file_chooser_set_show_hidden ()</h3>
|
1149
|
+
<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>,
|
1150
|
+
<em class="parameter"><code><span class="type">gboolean</span> show_hidden</code></em>);</pre>
|
1151
|
+
<p>
|
1152
|
+
Sets whether hidden files and folders are displayed in the file selector.
|
1153
|
+
</p>
|
1154
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1155
|
+
<colgroup>
|
1156
|
+
<col align="left" valign="top">
|
1157
|
+
<col>
|
1158
|
+
</colgroup>
|
1159
|
+
<tbody>
|
1160
|
+
<tr>
|
1161
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1162
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1163
|
+
</td>
|
1164
|
+
</tr>
|
1165
|
+
<tr>
|
1166
|
+
<td><p><span class="term"><em class="parameter"><code>show_hidden</code></em> :</span></p></td>
|
1167
|
+
<td>
|
1168
|
+
<code class="literal">TRUE</code> if hidden files and folders should be displayed.</td>
|
1169
|
+
</tr>
|
1170
|
+
</tbody>
|
1171
|
+
</table></div>
|
1172
|
+
<p class="since">Since 2.6</p>
|
1173
|
+
</div>
|
1174
|
+
<hr>
|
1175
|
+
<div class="refsect2">
|
1176
|
+
<a name="gtk-file-chooser-get-show-hidden"></a><h3>gtk_file_chooser_get_show_hidden ()</h3>
|
1177
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
1178
|
+
<p>
|
1179
|
+
Gets whether hidden files and folders are displayed in the file selector.
|
1180
|
+
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>.
|
1181
|
+
</p>
|
1182
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1183
|
+
<colgroup>
|
1184
|
+
<col align="left" valign="top">
|
1185
|
+
<col>
|
1186
|
+
</colgroup>
|
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
|
+
<code class="literal">TRUE</code> if hidden files and folders are displayed.</td>
|
1197
|
+
</tr>
|
1198
|
+
</tbody>
|
1199
|
+
</table></div>
|
1200
|
+
<p class="since">Since 2.6</p>
|
1201
|
+
</div>
|
1202
|
+
<hr>
|
1203
|
+
<div class="refsect2">
|
1204
|
+
<a name="gtk-file-chooser-set-do-overwrite-confirmation"></a><h3>gtk_file_chooser_set_do_overwrite_confirmation ()</h3>
|
1205
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_do_overwrite_confirmation
|
1206
|
+
(<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><span class="type">gboolean</span> do_overwrite_confirmation</code></em>);</pre>
|
1208
|
+
<p>
|
1209
|
+
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
|
1210
|
+
a confirmation dialog if the user types a file name that already exists. This
|
1211
|
+
is <code class="literal">FALSE</code> by default.
|
1212
|
+
</p>
|
1213
|
+
<p>
|
1214
|
+
Regardless of this setting, the <em class="parameter"><code>chooser</code></em> will emit the
|
1215
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a> signal when appropriate.
|
1216
|
+
</p>
|
1217
|
+
<p>
|
1218
|
+
If all you need is the stock confirmation dialog, set this property to <code class="literal">TRUE</code>.
|
1219
|
+
You can override the way confirmation is done by actually handling the
|
1220
|
+
<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
|
1221
|
+
for the details.
|
1222
|
+
</p>
|
1223
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1224
|
+
<colgroup>
|
1225
|
+
<col align="left" valign="top">
|
1226
|
+
<col>
|
1227
|
+
</colgroup>
|
1228
|
+
<tbody>
|
1229
|
+
<tr>
|
1230
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1231
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1232
|
+
</td>
|
1233
|
+
</tr>
|
1234
|
+
<tr>
|
1235
|
+
<td><p><span class="term"><em class="parameter"><code>do_overwrite_confirmation</code></em> :</span></p></td>
|
1236
|
+
<td>whether to confirm overwriting in save mode</td>
|
1237
|
+
</tr>
|
1238
|
+
</tbody>
|
1239
|
+
</table></div>
|
1240
|
+
<p class="since">Since 2.8</p>
|
1241
|
+
</div>
|
1242
|
+
<hr>
|
1243
|
+
<div class="refsect2">
|
1244
|
+
<a name="gtk-file-chooser-get-do-overwrite-confirmation"></a><h3>gtk_file_chooser_get_do_overwrite_confirmation ()</h3>
|
1245
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_get_do_overwrite_confirmation
|
1246
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1247
|
+
<p>
|
1248
|
+
Queries whether a file chooser is set to confirm for overwriting when the user
|
1249
|
+
types a file name that already exists.
|
1250
|
+
</p>
|
1251
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1252
|
+
<colgroup>
|
1253
|
+
<col align="left" valign="top">
|
1254
|
+
<col>
|
1255
|
+
</colgroup>
|
1256
|
+
<tbody>
|
1257
|
+
<tr>
|
1258
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1259
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1260
|
+
</td>
|
1261
|
+
</tr>
|
1262
|
+
<tr>
|
1263
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1264
|
+
<td>
|
1265
|
+
<code class="literal">TRUE</code> if the file chooser will present a confirmation dialog;
|
1266
|
+
<code class="literal">FALSE</code> otherwise.</td>
|
1267
|
+
</tr>
|
1268
|
+
</tbody>
|
1269
|
+
</table></div>
|
1270
|
+
<p class="since">Since 2.8</p>
|
1271
|
+
</div>
|
1272
|
+
<hr>
|
1273
|
+
<div class="refsect2">
|
1274
|
+
<a name="gtk-file-chooser-set-create-folders"></a><h3>gtk_file_chooser_set_create_folders ()</h3>
|
1275
|
+
<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>,
|
1276
|
+
<em class="parameter"><code><span class="type">gboolean</span> create_folders</code></em>);</pre>
|
1277
|
+
<p>
|
1278
|
+
Sets whether file choser will offer to create new folders.
|
1279
|
+
This is only relevant if the action is not set to be
|
1280
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a>.
|
1281
|
+
</p>
|
1282
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1283
|
+
<colgroup>
|
1284
|
+
<col align="left" valign="top">
|
1285
|
+
<col>
|
1286
|
+
</colgroup>
|
1287
|
+
<tbody>
|
1288
|
+
<tr>
|
1289
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1290
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1291
|
+
</td>
|
1292
|
+
</tr>
|
1293
|
+
<tr>
|
1294
|
+
<td><p><span class="term"><em class="parameter"><code>create_folders</code></em> :</span></p></td>
|
1295
|
+
<td>
|
1296
|
+
<code class="literal">TRUE</code> if the New Folder button should be displayed</td>
|
1297
|
+
</tr>
|
1298
|
+
</tbody>
|
1299
|
+
</table></div>
|
1300
|
+
<p class="since">Since 2.18</p>
|
1301
|
+
</div>
|
1302
|
+
<hr>
|
1303
|
+
<div class="refsect2">
|
1304
|
+
<a name="gtk-file-chooser-get-create-folders"></a><h3>gtk_file_chooser_get_create_folders ()</h3>
|
1305
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>
|
1306
|
+
<p>
|
1307
|
+
Gets whether file choser will offer to create new folders.
|
1308
|
+
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>.
|
1309
|
+
</p>
|
1310
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1311
|
+
<colgroup>
|
1312
|
+
<col align="left" valign="top">
|
1313
|
+
<col>
|
1314
|
+
</colgroup>
|
1315
|
+
<tbody>
|
1316
|
+
<tr>
|
1317
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1318
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1319
|
+
</td>
|
1320
|
+
</tr>
|
1321
|
+
<tr>
|
1322
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1323
|
+
<td>
|
1324
|
+
<code class="literal">TRUE</code> if the New Folder button should be displayed.</td>
|
1325
|
+
</tr>
|
1326
|
+
</tbody>
|
1327
|
+
</table></div>
|
1328
|
+
<p class="since">Since 2.18</p>
|
1329
|
+
</div>
|
1330
|
+
<hr>
|
1331
|
+
<div class="refsect2">
|
1332
|
+
<a name="gtk-file-chooser-set-current-name"></a><h3>gtk_file_chooser_set_current_name ()</h3>
|
1333
|
+
<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>,
|
1334
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
|
1335
|
+
<p>
|
1336
|
+
Sets the current name in the file selector, as if entered
|
1337
|
+
by the user. Note that the name passed in here is a UTF-8
|
1338
|
+
string rather than a filename. This function is meant for
|
1339
|
+
such uses as a suggested name in a "Save As..." dialog. You can
|
1340
|
+
pass "Untitled.doc" or a similarly suitable suggestion for the <em class="parameter"><code>name</code></em>.
|
1341
|
+
</p>
|
1342
|
+
<p>
|
1343
|
+
If you want to preselect a particular existing file, you should use
|
1344
|
+
<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.
|
1345
|
+
Please see the documentation for those functions for an example of using
|
1346
|
+
<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.
|
1347
|
+
</p>
|
1348
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1349
|
+
<colgroup>
|
1350
|
+
<col align="left" valign="top">
|
1351
|
+
<col>
|
1352
|
+
</colgroup>
|
1353
|
+
<tbody>
|
1354
|
+
<tr>
|
1355
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1356
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1357
|
+
</td>
|
1358
|
+
</tr>
|
1359
|
+
<tr>
|
1360
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1361
|
+
<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>
|
1362
|
+
</td>
|
1363
|
+
</tr>
|
1364
|
+
</tbody>
|
1365
|
+
</table></div>
|
1366
|
+
<p class="since">Since 2.4</p>
|
1367
|
+
</div>
|
1368
|
+
<hr>
|
1369
|
+
<div class="refsect2">
|
1370
|
+
<a name="gtk-file-chooser-get-filename"></a><h3>gtk_file_chooser_get_filename ()</h3>
|
1371
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_file_chooser_get_filename (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1372
|
+
<p>
|
1373
|
+
Gets the filename for the currently selected file in
|
1374
|
+
the file selector. The filename is returned as an absolute path. If
|
1375
|
+
multiple files are selected, one of the filenames will be returned at
|
1376
|
+
random.
|
1377
|
+
</p>
|
1378
|
+
<p>
|
1379
|
+
If the file chooser is in folder mode, this function returns the selected
|
1380
|
+
folder.
|
1381
|
+
</p>
|
1382
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1383
|
+
<colgroup>
|
1384
|
+
<col align="left" valign="top">
|
1385
|
+
<col>
|
1386
|
+
</colgroup>
|
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"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1395
|
+
<td>The currently selected filename, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1396
|
+
if no file is selected, or the selected file can't
|
1397
|
+
be represented with a local filename. Free with <code class="function">g_free()</code>. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span>
|
1398
|
+
</td>
|
1399
|
+
</tr>
|
1400
|
+
</tbody>
|
1401
|
+
</table></div>
|
1402
|
+
<p class="since">Since 2.4</p>
|
1403
|
+
</div>
|
1404
|
+
<hr>
|
1405
|
+
<div class="refsect2">
|
1406
|
+
<a name="gtk-file-chooser-set-filename"></a><h3>gtk_file_chooser_set_filename ()</h3>
|
1407
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_set_filename (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1408
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
|
1409
|
+
<p>
|
1410
|
+
Sets <em class="parameter"><code>filename</code></em> as the current filename for the file chooser, by changing to
|
1411
|
+
the file's parent folder and actually selecting the file in list; all other
|
1412
|
+
files will be unselected. If the <em class="parameter"><code>chooser</code></em> is in
|
1413
|
+
<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 will also appear in
|
1414
|
+
the dialog's file name entry.
|
1415
|
+
</p>
|
1416
|
+
<p>
|
1417
|
+
Note that the file must exist, or nothing will be done except
|
1418
|
+
for the directory change.
|
1419
|
+
</p>
|
1420
|
+
<p>
|
1421
|
+
You should use this function only when implementing a <span class="guimenuitem">File/Save
|
1422
|
+
As...</span> dialog for which you already have a file name to which
|
1423
|
+
the user may save. For example, when the user opens an existing file and
|
1424
|
+
then does <span class="guimenuitem">File/Save As...</span> on it to save a copy or
|
1425
|
+
a modified version. If you don't have a file name already — for
|
1426
|
+
example, if the user just created a new file and is saving it for the first
|
1427
|
+
time, do not call this function. Instead, use something similar to this:
|
1428
|
+
</p>
|
1429
|
+
<div class="informalexample">
|
1430
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1431
|
+
<tbody>
|
1432
|
+
<tr>
|
1433
|
+
<td class="listing_lines" align="right"><pre>1
|
1434
|
+
2
|
1435
|
+
3
|
1436
|
+
4
|
1437
|
+
5
|
1438
|
+
6
|
1439
|
+
7
|
1440
|
+
8
|
1441
|
+
9
|
1442
|
+
10</pre></td>
|
1443
|
+
<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>
|
1444
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1445
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
1446
|
+
<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>
|
1447
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1448
|
+
<span class="keyword">else</span>
|
1449
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1450
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span><span class="normal"> </span>
|
1451
|
+
<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>
|
1452
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
1453
|
+
</tr>
|
1454
|
+
</tbody>
|
1455
|
+
</table>
|
1456
|
+
</div>
|
1457
|
+
|
1458
|
+
<p>
|
1459
|
+
</p>
|
1460
|
+
<p>
|
1461
|
+
In the first case, the file chooser will present the user with useful suggestions
|
1462
|
+
as to where to save his new file. In the second case, the file's existing location
|
1463
|
+
is already known, so the file chooser will use it.
|
1464
|
+
</p>
|
1465
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1466
|
+
<colgroup>
|
1467
|
+
<col align="left" valign="top">
|
1468
|
+
<col>
|
1469
|
+
</colgroup>
|
1470
|
+
<tbody>
|
1471
|
+
<tr>
|
1472
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1473
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1474
|
+
</td>
|
1475
|
+
</tr>
|
1476
|
+
<tr>
|
1477
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1478
|
+
<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>
|
1479
|
+
</td>
|
1480
|
+
</tr>
|
1481
|
+
<tr>
|
1482
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1483
|
+
<td>Not useful.</td>
|
1484
|
+
</tr>
|
1485
|
+
</tbody>
|
1486
|
+
</table></div>
|
1487
|
+
<p class="since">Since 2.4</p>
|
1488
|
+
</div>
|
1489
|
+
<hr>
|
1490
|
+
<div class="refsect2">
|
1491
|
+
<a name="gtk-file-chooser-select-filename"></a><h3>gtk_file_chooser_select_filename ()</h3>
|
1492
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_select_filename (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1493
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
|
1494
|
+
<p>
|
1495
|
+
Selects a filename. If the file name isn't in the current
|
1496
|
+
folder of <em class="parameter"><code>chooser</code></em>, then the current folder of <em class="parameter"><code>chooser</code></em> will
|
1497
|
+
be changed to the folder containing <em class="parameter"><code>filename</code></em>.
|
1498
|
+
</p>
|
1499
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1500
|
+
<colgroup>
|
1501
|
+
<col align="left" valign="top">
|
1502
|
+
<col>
|
1503
|
+
</colgroup>
|
1504
|
+
<tbody>
|
1505
|
+
<tr>
|
1506
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1507
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1508
|
+
</td>
|
1509
|
+
</tr>
|
1510
|
+
<tr>
|
1511
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1512
|
+
<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>
|
1513
|
+
</td>
|
1514
|
+
</tr>
|
1515
|
+
<tr>
|
1516
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1517
|
+
<td>Not useful.
|
1518
|
+
See also: <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>
|
1519
|
+
</td>
|
1520
|
+
</tr>
|
1521
|
+
</tbody>
|
1522
|
+
</table></div>
|
1523
|
+
<p class="since">Since 2.4</p>
|
1524
|
+
</div>
|
1525
|
+
<hr>
|
1526
|
+
<div class="refsect2">
|
1527
|
+
<a name="gtk-file-chooser-unselect-filename"></a><h3>gtk_file_chooser_unselect_filename ()</h3>
|
1528
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_unselect_filename (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1529
|
+
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
|
1530
|
+
<p>
|
1531
|
+
Unselects a currently selected filename. If the filename
|
1532
|
+
is not in the current directory, does not exist, or
|
1533
|
+
is otherwise not currently selected, does nothing.
|
1534
|
+
</p>
|
1535
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1536
|
+
<colgroup>
|
1537
|
+
<col align="left" valign="top">
|
1538
|
+
<col>
|
1539
|
+
</colgroup>
|
1540
|
+
<tbody>
|
1541
|
+
<tr>
|
1542
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1543
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1544
|
+
</td>
|
1545
|
+
</tr>
|
1546
|
+
<tr>
|
1547
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1548
|
+
<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>
|
1549
|
+
</td>
|
1550
|
+
</tr>
|
1551
|
+
</tbody>
|
1552
|
+
</table></div>
|
1553
|
+
<p class="since">Since 2.4</p>
|
1554
|
+
</div>
|
1555
|
+
<hr>
|
1556
|
+
<div class="refsect2">
|
1557
|
+
<a name="gtk-file-chooser-select-all"></a><h3>gtk_file_chooser_select_all ()</h3>
|
1558
|
+
<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>
|
1559
|
+
<p>
|
1560
|
+
Selects all the files in the current folder of a file chooser.
|
1561
|
+
</p>
|
1562
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1563
|
+
<colgroup>
|
1564
|
+
<col align="left" valign="top">
|
1565
|
+
<col>
|
1566
|
+
</colgroup>
|
1567
|
+
<tbody><tr>
|
1568
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1569
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1570
|
+
</td>
|
1571
|
+
</tr></tbody>
|
1572
|
+
</table></div>
|
1573
|
+
<p class="since">Since 2.4</p>
|
1574
|
+
</div>
|
1575
|
+
<hr>
|
1576
|
+
<div class="refsect2">
|
1577
|
+
<a name="gtk-file-chooser-unselect-all"></a><h3>gtk_file_chooser_unselect_all ()</h3>
|
1578
|
+
<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>
|
1579
|
+
<p>
|
1580
|
+
Unselects all the files in the current folder of a file chooser.
|
1581
|
+
</p>
|
1582
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1583
|
+
<colgroup>
|
1584
|
+
<col align="left" valign="top">
|
1585
|
+
<col>
|
1586
|
+
</colgroup>
|
1587
|
+
<tbody><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></tbody>
|
1592
|
+
</table></div>
|
1593
|
+
<p class="since">Since 2.4</p>
|
1594
|
+
</div>
|
1595
|
+
<hr>
|
1596
|
+
<div class="refsect2">
|
1597
|
+
<a name="gtk-file-chooser-get-filenames"></a><h3>gtk_file_chooser_get_filenames ()</h3>
|
1598
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * gtk_file_chooser_get_filenames (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1599
|
+
<p>
|
1600
|
+
Lists all the selected files and subfolders in the current folder of
|
1601
|
+
<em class="parameter"><code>chooser</code></em>. The returned names are full absolute paths. If files in the current
|
1602
|
+
folder cannot be represented as local filenames they will be ignored. (See
|
1603
|
+
<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>)
|
1604
|
+
</p>
|
1605
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1606
|
+
<colgroup>
|
1607
|
+
<col align="left" valign="top">
|
1608
|
+
<col>
|
1609
|
+
</colgroup>
|
1610
|
+
<tbody>
|
1611
|
+
<tr>
|
1612
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1613
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1614
|
+
</td>
|
1615
|
+
</tr>
|
1616
|
+
<tr>
|
1617
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1618
|
+
<td>a <span class="type">GSList</span>
|
1619
|
+
containing the filenames of all selected files and subfolders in
|
1620
|
+
the current folder. Free the returned list with <code class="function">g_slist_free()</code>,
|
1621
|
+
and the filenames with <code class="function">g_free()</code>. <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>
|
1622
|
+
</td>
|
1623
|
+
</tr>
|
1624
|
+
</tbody>
|
1625
|
+
</table></div>
|
1626
|
+
<p class="since">Since 2.4</p>
|
1627
|
+
</div>
|
1628
|
+
<hr>
|
1629
|
+
<div class="refsect2">
|
1630
|
+
<a name="gtk-file-chooser-set-current-folder"></a><h3>gtk_file_chooser_set_current_folder ()</h3>
|
1631
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_set_current_folder (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1632
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
|
1633
|
+
<p>
|
1634
|
+
Sets the current folder for <em class="parameter"><code>chooser</code></em> from a local filename.
|
1635
|
+
The user will be shown the full contents of the current folder,
|
1636
|
+
plus user interface elements for navigating to other folders.
|
1637
|
+
</p>
|
1638
|
+
<p>
|
1639
|
+
In general, you should not use this function. See the <a class="link" href="GtkFileChooserDialog.html#gtkfilechooserdialog-setting-up" title="Setting up a file chooser dialog">section on setting up a file
|
1640
|
+
chooser dialog</a> for the rationale behind this.
|
1641
|
+
</p>
|
1642
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1643
|
+
<colgroup>
|
1644
|
+
<col align="left" valign="top">
|
1645
|
+
<col>
|
1646
|
+
</colgroup>
|
1647
|
+
<tbody>
|
1648
|
+
<tr>
|
1649
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1650
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1651
|
+
</td>
|
1652
|
+
</tr>
|
1653
|
+
<tr>
|
1654
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1655
|
+
<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>
|
1656
|
+
</td>
|
1657
|
+
</tr>
|
1658
|
+
<tr>
|
1659
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1660
|
+
<td>Not useful.</td>
|
1661
|
+
</tr>
|
1662
|
+
</tbody>
|
1663
|
+
</table></div>
|
1664
|
+
<p class="since">Since 2.4</p>
|
1665
|
+
</div>
|
1666
|
+
<hr>
|
1667
|
+
<div class="refsect2">
|
1668
|
+
<a name="gtk-file-chooser-get-current-folder"></a><h3>gtk_file_chooser_get_current_folder ()</h3>
|
1669
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_file_chooser_get_current_folder (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1670
|
+
<p>
|
1671
|
+
Gets the current folder of <em class="parameter"><code>chooser</code></em> as a local filename.
|
1672
|
+
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>.
|
1673
|
+
</p>
|
1674
|
+
<p>
|
1675
|
+
Note that this is the folder that the file chooser is currently displaying
|
1676
|
+
(e.g. "/home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
|
1677
|
+
as the currently-selected folder if the chooser is in
|
1678
|
+
<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
|
1679
|
+
(e.g. "/home/username/Documents/selected-folder/". To get the
|
1680
|
+
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
|
1681
|
+
usual way to get the selection.
|
1682
|
+
</p>
|
1683
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1684
|
+
<colgroup>
|
1685
|
+
<col align="left" valign="top">
|
1686
|
+
<col>
|
1687
|
+
</colgroup>
|
1688
|
+
<tbody>
|
1689
|
+
<tr>
|
1690
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1691
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1692
|
+
</td>
|
1693
|
+
</tr>
|
1694
|
+
<tr>
|
1695
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1696
|
+
<td>the full path of the current folder,
|
1697
|
+
or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the current path cannot be represented as a local
|
1698
|
+
filename. Free with <code class="function">g_free()</code>. This function will also return
|
1699
|
+
<a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the file chooser was unable to load the last folder that
|
1700
|
+
was requested from it; for example, as would be for calling
|
1701
|
+
<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>
|
1702
|
+
</td>
|
1703
|
+
</tr>
|
1704
|
+
</tbody>
|
1705
|
+
</table></div>
|
1706
|
+
<p class="since">Since 2.4</p>
|
1707
|
+
</div>
|
1708
|
+
<hr>
|
1709
|
+
<div class="refsect2">
|
1710
|
+
<a name="gtk-file-chooser-get-uri"></a><h3>gtk_file_chooser_get_uri ()</h3>
|
1711
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * 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>
|
1712
|
+
<p>
|
1713
|
+
Gets the URI for the currently selected file in
|
1714
|
+
the file selector. If multiple files are selected,
|
1715
|
+
one of the filenames will be returned at random.
|
1716
|
+
</p>
|
1717
|
+
<p>
|
1718
|
+
If the file chooser is in folder mode, this function returns the selected
|
1719
|
+
folder.
|
1720
|
+
</p>
|
1721
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1722
|
+
<colgroup>
|
1723
|
+
<col align="left" valign="top">
|
1724
|
+
<col>
|
1725
|
+
</colgroup>
|
1726
|
+
<tbody>
|
1727
|
+
<tr>
|
1728
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1729
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1730
|
+
</td>
|
1731
|
+
</tr>
|
1732
|
+
<tr>
|
1733
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1734
|
+
<td>The currently selected URI, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>
|
1735
|
+
if no file is selected. Free with <code class="function">g_free()</code>
|
1736
|
+
</td>
|
1737
|
+
</tr>
|
1738
|
+
</tbody>
|
1739
|
+
</table></div>
|
1740
|
+
<p class="since">Since 2.4</p>
|
1741
|
+
</div>
|
1742
|
+
<hr>
|
1743
|
+
<div class="refsect2">
|
1744
|
+
<a name="gtk-file-chooser-set-uri"></a><h3>gtk_file_chooser_set_uri ()</h3>
|
1745
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
|
1746
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1747
|
+
<p>
|
1748
|
+
Sets the file referred to by <em class="parameter"><code>uri</code></em> as the current file for the file chooser,
|
1749
|
+
by changing to the URI's parent folder and actually selecting the URI in the
|
1750
|
+
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
|
1751
|
+
name will also appear in the dialog's file name entry.
|
1752
|
+
</p>
|
1753
|
+
<p>
|
1754
|
+
Note that the URI must exist, or nothing will be done except for the
|
1755
|
+
directory change.
|
1756
|
+
</p>
|
1757
|
+
<p>
|
1758
|
+
You should use this function only when implementing a <span class="guimenuitem">File/Save
|
1759
|
+
As...</span> dialog for which you already have a file name to which
|
1760
|
+
the user may save. For example, whenthe user opens an existing file and then
|
1761
|
+
does <span class="guimenuitem">File/Save As...</span> on it to save a copy or a
|
1762
|
+
modified version. If you don't have a file name already — for example,
|
1763
|
+
if the user just created a new file and is saving it for the first time, do
|
1764
|
+
not call this function. Instead, use something similar to this:
|
1765
|
+
</p>
|
1766
|
+
<div class="informalexample">
|
1767
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1768
|
+
<tbody>
|
1769
|
+
<tr>
|
1770
|
+
<td class="listing_lines" align="right"><pre>1
|
1771
|
+
2
|
1772
|
+
3
|
1773
|
+
4
|
1774
|
+
5
|
1775
|
+
6
|
1776
|
+
7
|
1777
|
+
8
|
1778
|
+
9
|
1779
|
+
10</pre></td>
|
1780
|
+
<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>
|
1781
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1782
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
1783
|
+
<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>
|
1784
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1785
|
+
<span class="keyword">else</span>
|
1786
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1787
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span><span class="normal"> </span>
|
1788
|
+
<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>
|
1789
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
1790
|
+
</tr>
|
1791
|
+
</tbody>
|
1792
|
+
</table>
|
1793
|
+
</div>
|
1794
|
+
|
1795
|
+
<p>
|
1796
|
+
</p>
|
1797
|
+
<p>
|
1798
|
+
In the first case, the file chooser will present the user with useful suggestions
|
1799
|
+
as to where to save his new file. In the second case, the file's existing location
|
1800
|
+
is already known, so the file chooser will use it.
|
1801
|
+
</p>
|
1802
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1803
|
+
<colgroup>
|
1804
|
+
<col align="left" valign="top">
|
1805
|
+
<col>
|
1806
|
+
</colgroup>
|
1807
|
+
<tbody>
|
1808
|
+
<tr>
|
1809
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1810
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1811
|
+
</td>
|
1812
|
+
</tr>
|
1813
|
+
<tr>
|
1814
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1815
|
+
<td>the URI to set as current</td>
|
1816
|
+
</tr>
|
1817
|
+
<tr>
|
1818
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1819
|
+
<td>Not useful.</td>
|
1820
|
+
</tr>
|
1821
|
+
</tbody>
|
1822
|
+
</table></div>
|
1823
|
+
<p class="since">Since 2.4</p>
|
1824
|
+
</div>
|
1825
|
+
<hr>
|
1826
|
+
<div class="refsect2">
|
1827
|
+
<a name="gtk-file-chooser-select-uri"></a><h3>gtk_file_chooser_select_uri ()</h3>
|
1828
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
|
1829
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1830
|
+
<p>
|
1831
|
+
Selects the file to by <em class="parameter"><code>uri</code></em>. If the URI doesn't refer to a
|
1832
|
+
file in the current folder of <em class="parameter"><code>chooser</code></em>, then the current folder of
|
1833
|
+
<em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>.
|
1834
|
+
</p>
|
1835
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1836
|
+
<colgroup>
|
1837
|
+
<col align="left" valign="top">
|
1838
|
+
<col>
|
1839
|
+
</colgroup>
|
1840
|
+
<tbody>
|
1841
|
+
<tr>
|
1842
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1843
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1844
|
+
</td>
|
1845
|
+
</tr>
|
1846
|
+
<tr>
|
1847
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1848
|
+
<td>the URI to select</td>
|
1849
|
+
</tr>
|
1850
|
+
<tr>
|
1851
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1852
|
+
<td>Not useful.</td>
|
1853
|
+
</tr>
|
1854
|
+
</tbody>
|
1855
|
+
</table></div>
|
1856
|
+
<p class="since">Since 2.4</p>
|
1857
|
+
</div>
|
1858
|
+
<hr>
|
1859
|
+
<div class="refsect2">
|
1860
|
+
<a name="gtk-file-chooser-unselect-uri"></a><h3>gtk_file_chooser_unselect_uri ()</h3>
|
1861
|
+
<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>,
|
1862
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1863
|
+
<p>
|
1864
|
+
Unselects the file referred to by <em class="parameter"><code>uri</code></em>. If the file
|
1865
|
+
is not in the current directory, does not exist, or
|
1866
|
+
is otherwise not currently selected, does nothing.
|
1867
|
+
</p>
|
1868
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1869
|
+
<colgroup>
|
1870
|
+
<col align="left" valign="top">
|
1871
|
+
<col>
|
1872
|
+
</colgroup>
|
1873
|
+
<tbody>
|
1874
|
+
<tr>
|
1875
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1876
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1877
|
+
</td>
|
1878
|
+
</tr>
|
1879
|
+
<tr>
|
1880
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1881
|
+
<td>the URI to unselect</td>
|
1882
|
+
</tr>
|
1883
|
+
</tbody>
|
1884
|
+
</table></div>
|
1885
|
+
<p class="since">Since 2.4</p>
|
1886
|
+
</div>
|
1887
|
+
<hr>
|
1888
|
+
<div class="refsect2">
|
1889
|
+
<a name="gtk-file-chooser-get-uris"></a><h3>gtk_file_chooser_get_uris ()</h3>
|
1890
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * 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>
|
1891
|
+
<p>
|
1892
|
+
Lists all the selected files and subfolders in the current folder of
|
1893
|
+
<em class="parameter"><code>chooser</code></em>. The returned names are full absolute URIs.
|
1894
|
+
</p>
|
1895
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1896
|
+
<colgroup>
|
1897
|
+
<col align="left" valign="top">
|
1898
|
+
<col>
|
1899
|
+
</colgroup>
|
1900
|
+
<tbody>
|
1901
|
+
<tr>
|
1902
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1903
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1904
|
+
</td>
|
1905
|
+
</tr>
|
1906
|
+
<tr>
|
1907
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1908
|
+
<td>a <span class="type">GSList</span> containing the URIs of all selected
|
1909
|
+
files and subfolders in the current folder. Free the returned list
|
1910
|
+
with <code class="function">g_slist_free()</code>, and the filenames with <code class="function">g_free()</code>. <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>
|
1911
|
+
</td>
|
1912
|
+
</tr>
|
1913
|
+
</tbody>
|
1914
|
+
</table></div>
|
1915
|
+
<p class="since">Since 2.4</p>
|
1916
|
+
</div>
|
1917
|
+
<hr>
|
1918
|
+
<div class="refsect2">
|
1919
|
+
<a name="gtk-file-chooser-set-current-folder-uri"></a><h3>gtk_file_chooser_set_current_folder_uri ()</h3>
|
1920
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_set_current_folder_uri
|
1921
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1922
|
+
<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
|
1923
|
+
<p>
|
1924
|
+
Sets the current folder for <em class="parameter"><code>chooser</code></em> from an URI.
|
1925
|
+
The user will be shown the full contents of the current folder,
|
1926
|
+
plus user interface elements for navigating to other folders.
|
1927
|
+
</p>
|
1928
|
+
<p>
|
1929
|
+
In general, you should not use this function. See the <a class="link" href="GtkFileChooserDialog.html#gtkfilechooserdialog-setting-up" title="Setting up a file chooser dialog">section on setting up a file
|
1930
|
+
chooser dialog</a> for the rationale behind this.
|
1931
|
+
</p>
|
1932
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1933
|
+
<colgroup>
|
1934
|
+
<col align="left" valign="top">
|
1935
|
+
<col>
|
1936
|
+
</colgroup>
|
1937
|
+
<tbody>
|
1938
|
+
<tr>
|
1939
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1940
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1941
|
+
</td>
|
1942
|
+
</tr>
|
1943
|
+
<tr>
|
1944
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1945
|
+
<td>the URI for the new current folder</td>
|
1946
|
+
</tr>
|
1947
|
+
<tr>
|
1948
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1949
|
+
<td>
|
1950
|
+
<code class="literal">TRUE</code> if the folder could be changed successfully, <code class="literal">FALSE</code>
|
1951
|
+
otherwise.</td>
|
1952
|
+
</tr>
|
1953
|
+
</tbody>
|
1954
|
+
</table></div>
|
1955
|
+
<p class="since">Since 2.4</p>
|
1956
|
+
</div>
|
1957
|
+
<hr>
|
1958
|
+
<div class="refsect2">
|
1959
|
+
<a name="gtk-file-chooser-get-current-folder-uri"></a><h3>gtk_file_chooser_get_current_folder_uri ()</h3>
|
1960
|
+
<pre class="programlisting"><span class="returnvalue">gchar</span> * gtk_file_chooser_get_current_folder_uri
|
1961
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1962
|
+
<p>
|
1963
|
+
Gets the current folder of <em class="parameter"><code>chooser</code></em> as an URI.
|
1964
|
+
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>.
|
1965
|
+
</p>
|
1966
|
+
<p>
|
1967
|
+
Note that this is the folder that the file chooser is currently displaying
|
1968
|
+
(e.g. "file:///home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
|
1969
|
+
as the currently-selected folder if the chooser is in
|
1970
|
+
<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
|
1971
|
+
(e.g. "file:///home/username/Documents/selected-folder/". To get the
|
1972
|
+
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
|
1973
|
+
usual way to get the selection.
|
1974
|
+
</p>
|
1975
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1976
|
+
<colgroup>
|
1977
|
+
<col align="left" valign="top">
|
1978
|
+
<col>
|
1979
|
+
</colgroup>
|
1980
|
+
<tbody>
|
1981
|
+
<tr>
|
1982
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1983
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1984
|
+
</td>
|
1985
|
+
</tr>
|
1986
|
+
<tr>
|
1987
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1988
|
+
<td>the URI for the current folder. Free with <code class="function">g_free()</code>. This
|
1989
|
+
function will also return <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if the file chooser was unable to load the
|
1990
|
+
last folder that was requested from it; for example, as would be for calling
|
1991
|
+
<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>
|
1992
|
+
</tr>
|
1993
|
+
</tbody>
|
1994
|
+
</table></div>
|
1995
|
+
<p class="since">Since 2.4</p>
|
1996
|
+
</div>
|
1997
|
+
<hr>
|
1998
|
+
<div class="refsect2">
|
1999
|
+
<a name="gtk-file-chooser-set-preview-widget"></a><h3>gtk_file_chooser_set_preview_widget ()</h3>
|
2000
|
+
<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>,
|
2001
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);</pre>
|
2002
|
+
<p>
|
2003
|
+
Sets an application-supplied widget to use to display a custom preview
|
2004
|
+
of the currently selected file. To implement a preview, after setting the
|
2005
|
+
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>
|
2006
|
+
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
|
2007
|
+
<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
|
2008
|
+
display a preview of the new file, update your widget and
|
2009
|
+
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>.
|
2010
|
+
Otherwise, set the preview inactive.
|
2011
|
+
</p>
|
2012
|
+
<p>
|
2013
|
+
When there is no application-supplied preview widget, or the
|
2014
|
+
application-supplied preview widget is not active, the file chooser
|
2015
|
+
may display an internally generated preview of the current file or
|
2016
|
+
it may display no preview at all.
|
2017
|
+
</p>
|
2018
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2019
|
+
<colgroup>
|
2020
|
+
<col align="left" valign="top">
|
2021
|
+
<col>
|
2022
|
+
</colgroup>
|
2023
|
+
<tbody>
|
2024
|
+
<tr>
|
2025
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2026
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2027
|
+
</td>
|
2028
|
+
</tr>
|
2029
|
+
<tr>
|
2030
|
+
<td><p><span class="term"><em class="parameter"><code>preview_widget</code></em> :</span></p></td>
|
2031
|
+
<td>widget for displaying preview.</td>
|
2032
|
+
</tr>
|
2033
|
+
</tbody>
|
2034
|
+
</table></div>
|
2035
|
+
<p class="since">Since 2.4</p>
|
2036
|
+
</div>
|
2037
|
+
<hr>
|
2038
|
+
<div class="refsect2">
|
2039
|
+
<a name="gtk-file-chooser-get-preview-widget"></a><h3>gtk_file_chooser_get_preview_widget ()</h3>
|
2040
|
+
<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>
|
2041
|
+
<p>
|
2042
|
+
Gets the current preview widget; see
|
2043
|
+
<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>.
|
2044
|
+
</p>
|
2045
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2046
|
+
<colgroup>
|
2047
|
+
<col align="left" valign="top">
|
2048
|
+
<col>
|
2049
|
+
</colgroup>
|
2050
|
+
<tbody>
|
2051
|
+
<tr>
|
2052
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2053
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2054
|
+
</td>
|
2055
|
+
</tr>
|
2056
|
+
<tr>
|
2057
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2058
|
+
<td>the current preview widget, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2059
|
+
</td>
|
2060
|
+
</tr>
|
2061
|
+
</tbody>
|
2062
|
+
</table></div>
|
2063
|
+
<p class="since">Since 2.4</p>
|
2064
|
+
</div>
|
2065
|
+
<hr>
|
2066
|
+
<div class="refsect2">
|
2067
|
+
<a name="gtk-file-chooser-set-preview-widget-active"></a><h3>gtk_file_chooser_set_preview_widget_active ()</h3>
|
2068
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_preview_widget_active
|
2069
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2070
|
+
<em class="parameter"><code><span class="type">gboolean</span> active</code></em>);</pre>
|
2071
|
+
<p>
|
2072
|
+
Sets whether the preview widget set by
|
2073
|
+
<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
|
2074
|
+
current filename. When <em class="parameter"><code>active</code></em> is set to false, the file chooser
|
2075
|
+
may display an internally generated preview of the current file
|
2076
|
+
or it may display no preview at all. See
|
2077
|
+
<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.
|
2078
|
+
</p>
|
2079
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2080
|
+
<colgroup>
|
2081
|
+
<col align="left" valign="top">
|
2082
|
+
<col>
|
2083
|
+
</colgroup>
|
2084
|
+
<tbody>
|
2085
|
+
<tr>
|
2086
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2087
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2088
|
+
</td>
|
2089
|
+
</tr>
|
2090
|
+
<tr>
|
2091
|
+
<td><p><span class="term"><em class="parameter"><code>active</code></em> :</span></p></td>
|
2092
|
+
<td>whether to display the user-specified preview widget</td>
|
2093
|
+
</tr>
|
2094
|
+
</tbody>
|
2095
|
+
</table></div>
|
2096
|
+
<p class="since">Since 2.4</p>
|
2097
|
+
</div>
|
2098
|
+
<hr>
|
2099
|
+
<div class="refsect2">
|
2100
|
+
<a name="gtk-file-chooser-get-preview-widget-active"></a><h3>gtk_file_chooser_get_preview_widget_active ()</h3>
|
2101
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_get_preview_widget_active
|
2102
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2103
|
+
<p>
|
2104
|
+
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>
|
2105
|
+
should be shown for the current filename. See
|
2106
|
+
<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>.
|
2107
|
+
</p>
|
2108
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2109
|
+
<colgroup>
|
2110
|
+
<col align="left" valign="top">
|
2111
|
+
<col>
|
2112
|
+
</colgroup>
|
2113
|
+
<tbody>
|
2114
|
+
<tr>
|
2115
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2116
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2117
|
+
</td>
|
2118
|
+
</tr>
|
2119
|
+
<tr>
|
2120
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2121
|
+
<td>
|
2122
|
+
<code class="literal">TRUE</code> if the preview widget is active for the current filename.</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-set-use-preview-label"></a><h3>gtk_file_chooser_set_use_preview_label ()</h3>
|
2131
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_use_preview_label
|
2132
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2133
|
+
<em class="parameter"><code><span class="type">gboolean</span> use_label</code></em>);</pre>
|
2134
|
+
<p>
|
2135
|
+
Sets whether the file chooser should display a stock label with the name of
|
2136
|
+
the file that is being previewed; the default is <code class="literal">TRUE</code>. Applications that
|
2137
|
+
want to draw the whole preview area themselves should set this to <code class="literal">FALSE</code> and
|
2138
|
+
display the name themselves in their preview widget.
|
2139
|
+
</p>
|
2140
|
+
<p>
|
2141
|
+
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>
|
2142
|
+
</p>
|
2143
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2144
|
+
<colgroup>
|
2145
|
+
<col align="left" valign="top">
|
2146
|
+
<col>
|
2147
|
+
</colgroup>
|
2148
|
+
<tbody>
|
2149
|
+
<tr>
|
2150
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2151
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2152
|
+
</td>
|
2153
|
+
</tr>
|
2154
|
+
<tr>
|
2155
|
+
<td><p><span class="term"><em class="parameter"><code>use_label</code></em> :</span></p></td>
|
2156
|
+
<td>whether to display a stock label with the name of the previewed file</td>
|
2157
|
+
</tr>
|
2158
|
+
</tbody>
|
2159
|
+
</table></div>
|
2160
|
+
<p class="since">Since 2.4</p>
|
2161
|
+
</div>
|
2162
|
+
<hr>
|
2163
|
+
<div class="refsect2">
|
2164
|
+
<a name="gtk-file-chooser-get-use-preview-label"></a><h3>gtk_file_chooser_get_use_preview_label ()</h3>
|
2165
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_get_use_preview_label
|
2166
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2167
|
+
<p>
|
2168
|
+
Gets whether a stock label should be drawn with the name of the previewed
|
2169
|
+
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>.
|
2170
|
+
</p>
|
2171
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2172
|
+
<colgroup>
|
2173
|
+
<col align="left" valign="top">
|
2174
|
+
<col>
|
2175
|
+
</colgroup>
|
2176
|
+
<tbody>
|
2177
|
+
<tr>
|
2178
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2179
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2180
|
+
</td>
|
2181
|
+
</tr>
|
2182
|
+
<tr>
|
2183
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2184
|
+
<td>
|
2185
|
+
<code class="literal">TRUE</code> if the file chooser is set to display a label with the
|
2186
|
+
name of the previewed file, <code class="literal">FALSE</code> otherwise.</td>
|
2187
|
+
</tr>
|
2188
|
+
</tbody>
|
2189
|
+
</table></div>
|
2190
|
+
</div>
|
2191
|
+
<hr>
|
2192
|
+
<div class="refsect2">
|
2193
|
+
<a name="gtk-file-chooser-get-preview-filename"></a><h3>gtk_file_chooser_get_preview_filename ()</h3>
|
2194
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * gtk_file_chooser_get_preview_filename
|
2195
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2196
|
+
<p>
|
2197
|
+
Gets the filename that should be previewed in a custom preview
|
2198
|
+
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>.
|
2199
|
+
</p>
|
2200
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2201
|
+
<colgroup>
|
2202
|
+
<col align="left" valign="top">
|
2203
|
+
<col>
|
2204
|
+
</colgroup>
|
2205
|
+
<tbody>
|
2206
|
+
<tr>
|
2207
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2208
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2209
|
+
</td>
|
2210
|
+
</tr>
|
2211
|
+
<tr>
|
2212
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2213
|
+
<td>the filename to preview, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if
|
2214
|
+
no file is selected, or if the selected file cannot be represented
|
2215
|
+
as a local filename. Free with <code class="function">g_free()</code>. <span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span>
|
2216
|
+
</td>
|
2217
|
+
</tr>
|
2218
|
+
</tbody>
|
2219
|
+
</table></div>
|
2220
|
+
<p class="since">Since 2.4</p>
|
2221
|
+
</div>
|
2222
|
+
<hr>
|
2223
|
+
<div class="refsect2">
|
2224
|
+
<a name="gtk-file-chooser-get-preview-uri"></a><h3>gtk_file_chooser_get_preview_uri ()</h3>
|
2225
|
+
<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>
|
2226
|
+
<p>
|
2227
|
+
Gets the URI that should be previewed in a custom preview
|
2228
|
+
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>.
|
2229
|
+
</p>
|
2230
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2231
|
+
<colgroup>
|
2232
|
+
<col align="left" valign="top">
|
2233
|
+
<col>
|
2234
|
+
</colgroup>
|
2235
|
+
<tbody>
|
2236
|
+
<tr>
|
2237
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2238
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2239
|
+
</td>
|
2240
|
+
</tr>
|
2241
|
+
<tr>
|
2242
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2243
|
+
<td>the URI for the file to preview, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no file is
|
2244
|
+
selected. Free with <code class="function">g_free()</code>.</td>
|
2245
|
+
</tr>
|
2246
|
+
</tbody>
|
2247
|
+
</table></div>
|
2248
|
+
<p class="since">Since 2.4</p>
|
2249
|
+
</div>
|
2250
|
+
<hr>
|
2251
|
+
<div class="refsect2">
|
2252
|
+
<a name="gtk-file-chooser-set-extra-widget"></a><h3>gtk_file_chooser_set_extra_widget ()</h3>
|
2253
|
+
<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>,
|
2254
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);</pre>
|
2255
|
+
<p>
|
2256
|
+
Sets an application-supplied widget to provide extra options to the user.
|
2257
|
+
</p>
|
2258
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2259
|
+
<colgroup>
|
2260
|
+
<col align="left" valign="top">
|
2261
|
+
<col>
|
2262
|
+
</colgroup>
|
2263
|
+
<tbody>
|
2264
|
+
<tr>
|
2265
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2266
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2267
|
+
</td>
|
2268
|
+
</tr>
|
2269
|
+
<tr>
|
2270
|
+
<td><p><span class="term"><em class="parameter"><code>extra_widget</code></em> :</span></p></td>
|
2271
|
+
<td>widget for extra options</td>
|
2272
|
+
</tr>
|
2273
|
+
</tbody>
|
2274
|
+
</table></div>
|
2275
|
+
<p class="since">Since 2.4</p>
|
2276
|
+
</div>
|
2277
|
+
<hr>
|
2278
|
+
<div class="refsect2">
|
2279
|
+
<a name="gtk-file-chooser-get-extra-widget"></a><h3>gtk_file_chooser_get_extra_widget ()</h3>
|
2280
|
+
<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>
|
2281
|
+
<p>
|
2282
|
+
Gets the current preview widget; see
|
2283
|
+
<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>.
|
2284
|
+
</p>
|
2285
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2286
|
+
<colgroup>
|
2287
|
+
<col align="left" valign="top">
|
2288
|
+
<col>
|
2289
|
+
</colgroup>
|
2290
|
+
<tbody>
|
2291
|
+
<tr>
|
2292
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2293
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2294
|
+
</td>
|
2295
|
+
</tr>
|
2296
|
+
<tr>
|
2297
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2298
|
+
<td>the current extra widget, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2299
|
+
</td>
|
2300
|
+
</tr>
|
2301
|
+
</tbody>
|
2302
|
+
</table></div>
|
2303
|
+
<p class="since">Since 2.4</p>
|
2304
|
+
</div>
|
2305
|
+
<hr>
|
2306
|
+
<div class="refsect2">
|
2307
|
+
<a name="gtk-file-chooser-add-filter"></a><h3>gtk_file_chooser_add_filter ()</h3>
|
2308
|
+
<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>,
|
2309
|
+
<em class="parameter"><code><a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2310
|
+
<p>
|
2311
|
+
Adds <em class="parameter"><code>filter</code></em> to the list of filters that the user can select between.
|
2312
|
+
When a filter is selected, only files that are passed by that
|
2313
|
+
filter are displayed.
|
2314
|
+
</p>
|
2315
|
+
<p>
|
2316
|
+
Note that the <em class="parameter"><code>chooser</code></em> takes ownership of the filter, so you have to
|
2317
|
+
ref and sink it if you want to keep a reference.
|
2318
|
+
</p>
|
2319
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2320
|
+
<colgroup>
|
2321
|
+
<col align="left" valign="top">
|
2322
|
+
<col>
|
2323
|
+
</colgroup>
|
2324
|
+
<tbody>
|
2325
|
+
<tr>
|
2326
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2327
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2328
|
+
</td>
|
2329
|
+
</tr>
|
2330
|
+
<tr>
|
2331
|
+
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
|
2332
|
+
<td>a <a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a>
|
2333
|
+
</td>
|
2334
|
+
</tr>
|
2335
|
+
</tbody>
|
2336
|
+
</table></div>
|
2337
|
+
<p class="since">Since 2.4</p>
|
2338
|
+
</div>
|
2339
|
+
<hr>
|
2340
|
+
<div class="refsect2">
|
2341
|
+
<a name="gtk-file-chooser-remove-filter"></a><h3>gtk_file_chooser_remove_filter ()</h3>
|
2342
|
+
<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>,
|
2343
|
+
<em class="parameter"><code><a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2344
|
+
<p>
|
2345
|
+
Removes <em class="parameter"><code>filter</code></em> from the list of filters that the user can select between.
|
2346
|
+
</p>
|
2347
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2348
|
+
<colgroup>
|
2349
|
+
<col align="left" valign="top">
|
2350
|
+
<col>
|
2351
|
+
</colgroup>
|
2352
|
+
<tbody>
|
2353
|
+
<tr>
|
2354
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2355
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2356
|
+
</td>
|
2357
|
+
</tr>
|
2358
|
+
<tr>
|
2359
|
+
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
|
2360
|
+
<td>a <a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a>
|
2361
|
+
</td>
|
2362
|
+
</tr>
|
2363
|
+
</tbody>
|
2364
|
+
</table></div>
|
2365
|
+
<p class="since">Since 2.4</p>
|
2366
|
+
</div>
|
2367
|
+
<hr>
|
2368
|
+
<div class="refsect2">
|
2369
|
+
<a name="gtk-file-chooser-list-filters"></a><h3>gtk_file_chooser_list_filters ()</h3>
|
2370
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * 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>
|
2371
|
+
<p>
|
2372
|
+
Lists the current set of user-selectable filters; see
|
2373
|
+
<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>.
|
2374
|
+
</p>
|
2375
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2376
|
+
<colgroup>
|
2377
|
+
<col align="left" valign="top">
|
2378
|
+
<col>
|
2379
|
+
</colgroup>
|
2380
|
+
<tbody>
|
2381
|
+
<tr>
|
2382
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2383
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2384
|
+
</td>
|
2385
|
+
</tr>
|
2386
|
+
<tr>
|
2387
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2388
|
+
<td>a
|
2389
|
+
<span class="type">GSList</span> containing the current set of user selectable filters. The
|
2390
|
+
contents of the list are owned by GTK+, but you must free the list
|
2391
|
+
itself with <code class="function">g_slist_free()</code> 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>
|
2392
|
+
</td>
|
2393
|
+
</tr>
|
2394
|
+
</tbody>
|
2395
|
+
</table></div>
|
2396
|
+
<p class="since">Since 2.4</p>
|
2397
|
+
</div>
|
2398
|
+
<hr>
|
2399
|
+
<div class="refsect2">
|
2400
|
+
<a name="gtk-file-chooser-set-filter"></a><h3>gtk_file_chooser_set_filter ()</h3>
|
2401
|
+
<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>,
|
2402
|
+
<em class="parameter"><code><a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2403
|
+
<p>
|
2404
|
+
Sets the current filter; only the files that pass the
|
2405
|
+
filter will be displayed. If the user-selectable list of filters
|
2406
|
+
is non-empty, then the filter should be one of the filters
|
2407
|
+
in that list. Setting the current filter when the list of
|
2408
|
+
filters is empty is useful if you want to restrict the displayed
|
2409
|
+
set of files without letting the user change it.
|
2410
|
+
</p>
|
2411
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2412
|
+
<colgroup>
|
2413
|
+
<col align="left" valign="top">
|
2414
|
+
<col>
|
2415
|
+
</colgroup>
|
2416
|
+
<tbody>
|
2417
|
+
<tr>
|
2418
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2419
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2420
|
+
</td>
|
2421
|
+
</tr>
|
2422
|
+
<tr>
|
2423
|
+
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
|
2424
|
+
<td>a <a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a>
|
2425
|
+
</td>
|
2426
|
+
</tr>
|
2427
|
+
</tbody>
|
2428
|
+
</table></div>
|
2429
|
+
<p class="since">Since 2.4</p>
|
2430
|
+
</div>
|
2431
|
+
<hr>
|
2432
|
+
<div class="refsect2">
|
2433
|
+
<a name="gtk-file-chooser-get-filter"></a><h3>gtk_file_chooser_get_filter ()</h3>
|
2434
|
+
<pre class="programlisting"><a class="link" href="GtkFileFilter.html" title="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>
|
2435
|
+
<p>
|
2436
|
+
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>.
|
2437
|
+
</p>
|
2438
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2439
|
+
<colgroup>
|
2440
|
+
<col align="left" valign="top">
|
2441
|
+
<col>
|
2442
|
+
</colgroup>
|
2443
|
+
<tbody>
|
2444
|
+
<tr>
|
2445
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2446
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2447
|
+
</td>
|
2448
|
+
</tr>
|
2449
|
+
<tr>
|
2450
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2451
|
+
<td>the current filter, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2452
|
+
</td>
|
2453
|
+
</tr>
|
2454
|
+
</tbody>
|
2455
|
+
</table></div>
|
2456
|
+
<p class="since">Since 2.4</p>
|
2457
|
+
</div>
|
2458
|
+
<hr>
|
2459
|
+
<div class="refsect2">
|
2460
|
+
<a name="gtk-file-chooser-add-shortcut-folder"></a><h3>gtk_file_chooser_add_shortcut_folder ()</h3>
|
2461
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_add_shortcut_folder
|
2462
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2463
|
+
<em class="parameter"><code>const <span class="type">char</span> *folder</code></em>,
|
2464
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2465
|
+
<p>
|
2466
|
+
Adds a folder to be displayed with the shortcut folders in a file chooser.
|
2467
|
+
Note that shortcut folders do not get saved, as they are provided by the
|
2468
|
+
application. For example, you can use this to add a
|
2469
|
+
"/usr/share/mydrawprogram/Clipart" folder to the volume list.
|
2470
|
+
</p>
|
2471
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2472
|
+
<colgroup>
|
2473
|
+
<col align="left" valign="top">
|
2474
|
+
<col>
|
2475
|
+
</colgroup>
|
2476
|
+
<tbody>
|
2477
|
+
<tr>
|
2478
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2479
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2480
|
+
</td>
|
2481
|
+
</tr>
|
2482
|
+
<tr>
|
2483
|
+
<td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
|
2484
|
+
<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>
|
2485
|
+
</td>
|
2486
|
+
</tr>
|
2487
|
+
<tr>
|
2488
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2489
|
+
<td>location to store error, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2490
|
+
</td>
|
2491
|
+
</tr>
|
2492
|
+
<tr>
|
2493
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2494
|
+
<td>
|
2495
|
+
<code class="literal">TRUE</code> if the folder could be added successfully, <code class="literal">FALSE</code>
|
2496
|
+
otherwise. In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.</td>
|
2497
|
+
</tr>
|
2498
|
+
</tbody>
|
2499
|
+
</table></div>
|
2500
|
+
<p class="since">Since 2.4</p>
|
2501
|
+
</div>
|
2502
|
+
<hr>
|
2503
|
+
<div class="refsect2">
|
2504
|
+
<a name="gtk-file-chooser-remove-shortcut-folder"></a><h3>gtk_file_chooser_remove_shortcut_folder ()</h3>
|
2505
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_remove_shortcut_folder
|
2506
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2507
|
+
<em class="parameter"><code>const <span class="type">char</span> *folder</code></em>,
|
2508
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2509
|
+
<p>
|
2510
|
+
Removes a folder from a file chooser's list of shortcut folders.
|
2511
|
+
</p>
|
2512
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2513
|
+
<colgroup>
|
2514
|
+
<col align="left" valign="top">
|
2515
|
+
<col>
|
2516
|
+
</colgroup>
|
2517
|
+
<tbody>
|
2518
|
+
<tr>
|
2519
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2520
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2521
|
+
</td>
|
2522
|
+
</tr>
|
2523
|
+
<tr>
|
2524
|
+
<td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
|
2525
|
+
<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>
|
2526
|
+
</td>
|
2527
|
+
</tr>
|
2528
|
+
<tr>
|
2529
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2530
|
+
<td>location to store error, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2531
|
+
</td>
|
2532
|
+
</tr>
|
2533
|
+
<tr>
|
2534
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2535
|
+
<td>
|
2536
|
+
<code class="literal">TRUE</code> if the operation succeeds, <code class="literal">FALSE</code> otherwise.
|
2537
|
+
In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.
|
2538
|
+
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>
|
2539
|
+
</td>
|
2540
|
+
</tr>
|
2541
|
+
</tbody>
|
2542
|
+
</table></div>
|
2543
|
+
<p class="since">Since 2.4</p>
|
2544
|
+
</div>
|
2545
|
+
<hr>
|
2546
|
+
<div class="refsect2">
|
2547
|
+
<a name="gtk-file-chooser-list-shortcut-folders"></a><h3>gtk_file_chooser_list_shortcut_folders ()</h3>
|
2548
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * gtk_file_chooser_list_shortcut_folders
|
2549
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2550
|
+
<p>
|
2551
|
+
Queries the list of shortcut folders in the file chooser, as set by
|
2552
|
+
<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>.
|
2553
|
+
</p>
|
2554
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2555
|
+
<colgroup>
|
2556
|
+
<col align="left" valign="top">
|
2557
|
+
<col>
|
2558
|
+
</colgroup>
|
2559
|
+
<tbody>
|
2560
|
+
<tr>
|
2561
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2562
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2563
|
+
</td>
|
2564
|
+
</tr>
|
2565
|
+
<tr>
|
2566
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2567
|
+
<td>A list of
|
2568
|
+
folder filenames, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if there are no shortcut folders. Free
|
2569
|
+
the returned list with <code class="function">g_slist_free()</code>, and the filenames with
|
2570
|
+
<code class="function">g_free()</code>. <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>
|
2571
|
+
</td>
|
2572
|
+
</tr>
|
2573
|
+
</tbody>
|
2574
|
+
</table></div>
|
2575
|
+
<p class="since">Since 2.4</p>
|
2576
|
+
</div>
|
2577
|
+
<hr>
|
2578
|
+
<div class="refsect2">
|
2579
|
+
<a name="gtk-file-chooser-add-shortcut-folder-uri"></a><h3>gtk_file_chooser_add_shortcut_folder_uri ()</h3>
|
2580
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_add_shortcut_folder_uri
|
2581
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2582
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
2583
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2584
|
+
<p>
|
2585
|
+
Adds a folder URI to be displayed with the shortcut folders in a file
|
2586
|
+
chooser. Note that shortcut folders do not get saved, as they are provided
|
2587
|
+
by the application. For example, you can use this to add a
|
2588
|
+
"file:///usr/share/mydrawprogram/Clipart" folder to the volume list.
|
2589
|
+
</p>
|
2590
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2591
|
+
<colgroup>
|
2592
|
+
<col align="left" valign="top">
|
2593
|
+
<col>
|
2594
|
+
</colgroup>
|
2595
|
+
<tbody>
|
2596
|
+
<tr>
|
2597
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2598
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2599
|
+
</td>
|
2600
|
+
</tr>
|
2601
|
+
<tr>
|
2602
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
2603
|
+
<td>URI of the folder to add</td>
|
2604
|
+
</tr>
|
2605
|
+
<tr>
|
2606
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2607
|
+
<td>location to store error, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2608
|
+
</td>
|
2609
|
+
</tr>
|
2610
|
+
<tr>
|
2611
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2612
|
+
<td>
|
2613
|
+
<code class="literal">TRUE</code> if the folder could be added successfully, <code class="literal">FALSE</code>
|
2614
|
+
otherwise. In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.</td>
|
2615
|
+
</tr>
|
2616
|
+
</tbody>
|
2617
|
+
</table></div>
|
2618
|
+
<p class="since">Since 2.4</p>
|
2619
|
+
</div>
|
2620
|
+
<hr>
|
2621
|
+
<div class="refsect2">
|
2622
|
+
<a name="gtk-file-chooser-remove-shortcut-folder-uri"></a><h3>gtk_file_chooser_remove_shortcut_folder_uri ()</h3>
|
2623
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_remove_shortcut_folder_uri
|
2624
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2625
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
2626
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2627
|
+
<p>
|
2628
|
+
Removes a folder URI from a file chooser's list of shortcut folders.
|
2629
|
+
</p>
|
2630
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2631
|
+
<colgroup>
|
2632
|
+
<col align="left" valign="top">
|
2633
|
+
<col>
|
2634
|
+
</colgroup>
|
2635
|
+
<tbody>
|
2636
|
+
<tr>
|
2637
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2638
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2639
|
+
</td>
|
2640
|
+
</tr>
|
2641
|
+
<tr>
|
2642
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
2643
|
+
<td>URI of the folder to remove</td>
|
2644
|
+
</tr>
|
2645
|
+
<tr>
|
2646
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2647
|
+
<td>location to store error, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2648
|
+
</td>
|
2649
|
+
</tr>
|
2650
|
+
<tr>
|
2651
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2652
|
+
<td>
|
2653
|
+
<code class="literal">TRUE</code> if the operation succeeds, <code class="literal">FALSE</code> otherwise.
|
2654
|
+
In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.
|
2655
|
+
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>
|
2656
|
+
</td>
|
2657
|
+
</tr>
|
2658
|
+
</tbody>
|
2659
|
+
</table></div>
|
2660
|
+
<p class="since">Since 2.4</p>
|
2661
|
+
</div>
|
2662
|
+
<hr>
|
2663
|
+
<div class="refsect2">
|
2664
|
+
<a name="gtk-file-chooser-list-shortcut-folder-uris"></a><h3>gtk_file_chooser_list_shortcut_folder_uris ()</h3>
|
2665
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * gtk_file_chooser_list_shortcut_folder_uris
|
2666
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2667
|
+
<p>
|
2668
|
+
Queries the list of shortcut folders in the file chooser, as set by
|
2669
|
+
<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>.
|
2670
|
+
</p>
|
2671
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2672
|
+
<colgroup>
|
2673
|
+
<col align="left" valign="top">
|
2674
|
+
<col>
|
2675
|
+
</colgroup>
|
2676
|
+
<tbody>
|
2677
|
+
<tr>
|
2678
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2679
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2680
|
+
</td>
|
2681
|
+
</tr>
|
2682
|
+
<tr>
|
2683
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2684
|
+
<td>A list of folder
|
2685
|
+
URIs, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if there are no shortcut folders. Free the returned
|
2686
|
+
list with <code class="function">g_slist_free()</code>, and the URIs with <code class="function">g_free()</code>. <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>
|
2687
|
+
</td>
|
2688
|
+
</tr>
|
2689
|
+
</tbody>
|
2690
|
+
</table></div>
|
2691
|
+
<p class="since">Since 2.4</p>
|
2692
|
+
</div>
|
2693
|
+
<hr>
|
2694
|
+
<div class="refsect2">
|
2695
|
+
<a name="gtk-file-chooser-get-current-folder-file"></a><h3>gtk_file_chooser_get_current_folder_file ()</h3>
|
2696
|
+
<pre class="programlisting"><span class="returnvalue">GFile</span> * gtk_file_chooser_get_current_folder_file
|
2697
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2698
|
+
<p>
|
2699
|
+
Gets the current folder of <em class="parameter"><code>chooser</code></em> as <span class="type">GFile</span>.
|
2700
|
+
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>.
|
2701
|
+
</p>
|
2702
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2703
|
+
<colgroup>
|
2704
|
+
<col align="left" valign="top">
|
2705
|
+
<col>
|
2706
|
+
</colgroup>
|
2707
|
+
<tbody>
|
2708
|
+
<tr>
|
2709
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2710
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2711
|
+
</td>
|
2712
|
+
</tr>
|
2713
|
+
<tr>
|
2714
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2715
|
+
<td>the <span class="type">GFile</span> for the current folder. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2716
|
+
</td>
|
2717
|
+
</tr>
|
2718
|
+
</tbody>
|
2719
|
+
</table></div>
|
2720
|
+
<p class="since">Since 2.14</p>
|
2721
|
+
</div>
|
2722
|
+
<hr>
|
2723
|
+
<div class="refsect2">
|
2724
|
+
<a name="gtk-file-chooser-get-file"></a><h3>gtk_file_chooser_get_file ()</h3>
|
2725
|
+
<pre class="programlisting"><span class="returnvalue">GFile</span> * 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>
|
2726
|
+
<p>
|
2727
|
+
Gets the <span class="type">GFile</span> for the currently selected file in
|
2728
|
+
the file selector. If multiple files are selected,
|
2729
|
+
one of the files will be returned at random.
|
2730
|
+
</p>
|
2731
|
+
<p>
|
2732
|
+
If the file chooser is in folder mode, this function returns the selected
|
2733
|
+
folder.
|
2734
|
+
</p>
|
2735
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2736
|
+
<colgroup>
|
2737
|
+
<col align="left" valign="top">
|
2738
|
+
<col>
|
2739
|
+
</colgroup>
|
2740
|
+
<tbody>
|
2741
|
+
<tr>
|
2742
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2743
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2744
|
+
</td>
|
2745
|
+
</tr>
|
2746
|
+
<tr>
|
2747
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2748
|
+
<td>a selected <span class="type">GFile</span>. You own the returned file;
|
2749
|
+
use <code class="function">g_object_unref()</code> to release it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2750
|
+
</td>
|
2751
|
+
</tr>
|
2752
|
+
</tbody>
|
2753
|
+
</table></div>
|
2754
|
+
<p class="since">Since 2.14</p>
|
2755
|
+
</div>
|
2756
|
+
<hr>
|
2757
|
+
<div class="refsect2">
|
2758
|
+
<a name="gtk-file-chooser-get-files"></a><h3>gtk_file_chooser_get_files ()</h3>
|
2759
|
+
<pre class="programlisting"><span class="returnvalue">GSList</span> * 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>
|
2760
|
+
<p>
|
2761
|
+
Lists all the selected files and subfolders in the current folder of <em class="parameter"><code>chooser</code></em>
|
2762
|
+
as <span class="type">GFile</span>. 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>.
|
2763
|
+
</p>
|
2764
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2765
|
+
<colgroup>
|
2766
|
+
<col align="left" valign="top">
|
2767
|
+
<col>
|
2768
|
+
</colgroup>
|
2769
|
+
<tbody>
|
2770
|
+
<tr>
|
2771
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2772
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2773
|
+
</td>
|
2774
|
+
</tr>
|
2775
|
+
<tr>
|
2776
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2777
|
+
<td>a <span class="type">GSList</span>
|
2778
|
+
containing a <span class="type">GFile</span> for each selected file and subfolder in the
|
2779
|
+
current folder. Free the returned list with <code class="function">g_slist_free()</code>, and
|
2780
|
+
the files with <code class="function">g_object_unref()</code>. <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>
|
2781
|
+
</td>
|
2782
|
+
</tr>
|
2783
|
+
</tbody>
|
2784
|
+
</table></div>
|
2785
|
+
<p class="since">Since 2.14</p>
|
2786
|
+
</div>
|
2787
|
+
<hr>
|
2788
|
+
<div class="refsect2">
|
2789
|
+
<a name="gtk-file-chooser-get-preview-file"></a><h3>gtk_file_chooser_get_preview_file ()</h3>
|
2790
|
+
<pre class="programlisting"><span class="returnvalue">GFile</span> * 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>
|
2791
|
+
<p>
|
2792
|
+
Gets the <span class="type">GFile</span> that should be previewed in a custom preview
|
2793
|
+
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>.
|
2794
|
+
</p>
|
2795
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2796
|
+
<colgroup>
|
2797
|
+
<col align="left" valign="top">
|
2798
|
+
<col>
|
2799
|
+
</colgroup>
|
2800
|
+
<tbody>
|
2801
|
+
<tr>
|
2802
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2803
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2804
|
+
</td>
|
2805
|
+
</tr>
|
2806
|
+
<tr>
|
2807
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2808
|
+
<td>the <span class="type">GFile</span> for the file to preview,
|
2809
|
+
or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> if no file is selected. Free with <code class="function">g_object_unref()</code>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2810
|
+
</td>
|
2811
|
+
</tr>
|
2812
|
+
</tbody>
|
2813
|
+
</table></div>
|
2814
|
+
<p class="since">Since 2.14</p>
|
2815
|
+
</div>
|
2816
|
+
<hr>
|
2817
|
+
<div class="refsect2">
|
2818
|
+
<a name="gtk-file-chooser-select-file"></a><h3>gtk_file_chooser_select_file ()</h3>
|
2819
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
|
2820
|
+
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
|
2821
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2822
|
+
<p>
|
2823
|
+
Selects the file referred to by <em class="parameter"><code>file</code></em>. An internal function. See
|
2824
|
+
<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>.
|
2825
|
+
</p>
|
2826
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2827
|
+
<colgroup>
|
2828
|
+
<col align="left" valign="top">
|
2829
|
+
<col>
|
2830
|
+
</colgroup>
|
2831
|
+
<tbody>
|
2832
|
+
<tr>
|
2833
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2834
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2835
|
+
</td>
|
2836
|
+
</tr>
|
2837
|
+
<tr>
|
2838
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2839
|
+
<td>the file to select</td>
|
2840
|
+
</tr>
|
2841
|
+
<tr>
|
2842
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2843
|
+
<td>location to store error, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2844
|
+
</td>
|
2845
|
+
</tr>
|
2846
|
+
<tr>
|
2847
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2848
|
+
<td>Not useful.</td>
|
2849
|
+
</tr>
|
2850
|
+
</tbody>
|
2851
|
+
</table></div>
|
2852
|
+
<p class="since">Since 2.14</p>
|
2853
|
+
</div>
|
2854
|
+
<hr>
|
2855
|
+
<div class="refsect2">
|
2856
|
+
<a name="gtk-file-chooser-set-current-folder-file"></a><h3>gtk_file_chooser_set_current_folder_file ()</h3>
|
2857
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> gtk_file_chooser_set_current_folder_file
|
2858
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2859
|
+
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
|
2860
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2861
|
+
<p>
|
2862
|
+
Sets the current folder for <em class="parameter"><code>chooser</code></em> from a <span class="type">GFile</span>.
|
2863
|
+
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>.
|
2864
|
+
</p>
|
2865
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2866
|
+
<colgroup>
|
2867
|
+
<col align="left" valign="top">
|
2868
|
+
<col>
|
2869
|
+
</colgroup>
|
2870
|
+
<tbody>
|
2871
|
+
<tr>
|
2872
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2873
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2874
|
+
</td>
|
2875
|
+
</tr>
|
2876
|
+
<tr>
|
2877
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2878
|
+
<td>the <span class="type">GFile</span> for the new folder</td>
|
2879
|
+
</tr>
|
2880
|
+
<tr>
|
2881
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2882
|
+
<td>location to store error, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2883
|
+
</td>
|
2884
|
+
</tr>
|
2885
|
+
<tr>
|
2886
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2887
|
+
<td>
|
2888
|
+
<code class="literal">TRUE</code> if the folder could be changed successfully, <code class="literal">FALSE</code>
|
2889
|
+
otherwise.</td>
|
2890
|
+
</tr>
|
2891
|
+
</tbody>
|
2892
|
+
</table></div>
|
2893
|
+
<p class="since">Since 2.14</p>
|
2894
|
+
</div>
|
2895
|
+
<hr>
|
2896
|
+
<div class="refsect2">
|
2897
|
+
<a name="gtk-file-chooser-set-file"></a><h3>gtk_file_chooser_set_file ()</h3>
|
2898
|
+
<pre class="programlisting"><span class="returnvalue">gboolean</span> 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>,
|
2899
|
+
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>,
|
2900
|
+
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
|
2901
|
+
<p>
|
2902
|
+
Sets <em class="parameter"><code>file</code></em> as the current filename for the file chooser, by changing
|
2903
|
+
to the file's parent folder and actually selecting the file in list. If
|
2904
|
+
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
|
2905
|
+
will also appear in the dialog's file name entry.
|
2906
|
+
</p>
|
2907
|
+
<p>
|
2908
|
+
If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current
|
2909
|
+
folder of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>. This
|
2910
|
+
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
|
2911
|
+
<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>.
|
2912
|
+
</p>
|
2913
|
+
<p>
|
2914
|
+
Note that the file must exist, or nothing will be done except
|
2915
|
+
for the directory change.
|
2916
|
+
</p>
|
2917
|
+
<p>
|
2918
|
+
If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
|
2919
|
+
you should use this function if you already have a file name to which the
|
2920
|
+
user may save; for example, when the user opens an existing file and then
|
2921
|
+
does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
|
2922
|
+
a file name already — for example, if the user just created a new
|
2923
|
+
file and is saving it for the first time, do not call this function.
|
2924
|
+
Instead, use something similar to this:
|
2925
|
+
</p>
|
2926
|
+
<div class="informalexample">
|
2927
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2928
|
+
<tbody>
|
2929
|
+
<tr>
|
2930
|
+
<td class="listing_lines" align="right"><pre>1
|
2931
|
+
2
|
2932
|
+
3
|
2933
|
+
4
|
2934
|
+
5
|
2935
|
+
6
|
2936
|
+
7
|
2937
|
+
8
|
2938
|
+
9
|
2939
|
+
10
|
2940
|
+
11</pre></td>
|
2941
|
+
<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>
|
2942
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
2943
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
2944
|
+
<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>
|
2945
|
+
<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>
|
2946
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
2947
|
+
<span class="keyword">else</span>
|
2948
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
2949
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span>
|
2950
|
+
<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>
|
2951
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
2952
|
+
</tr>
|
2953
|
+
</tbody>
|
2954
|
+
</table>
|
2955
|
+
</div>
|
2956
|
+
|
2957
|
+
<p>
|
2958
|
+
</p>
|
2959
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2960
|
+
<colgroup>
|
2961
|
+
<col align="left" valign="top">
|
2962
|
+
<col>
|
2963
|
+
</colgroup>
|
2964
|
+
<tbody>
|
2965
|
+
<tr>
|
2966
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2967
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2968
|
+
</td>
|
2969
|
+
</tr>
|
2970
|
+
<tr>
|
2971
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2972
|
+
<td>the <span class="type">GFile</span> to set as current</td>
|
2973
|
+
</tr>
|
2974
|
+
<tr>
|
2975
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2976
|
+
<td>location to store the error, or <a href="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.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>
|
2977
|
+
</td>
|
2978
|
+
</tr>
|
2979
|
+
<tr>
|
2980
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2981
|
+
<td>Not useful.</td>
|
2982
|
+
</tr>
|
2983
|
+
</tbody>
|
2984
|
+
</table></div>
|
2985
|
+
<p class="since">Since 2.14</p>
|
2986
|
+
</div>
|
2987
|
+
<hr>
|
2988
|
+
<div class="refsect2">
|
2989
|
+
<a name="gtk-file-chooser-unselect-file"></a><h3>gtk_file_chooser_unselect_file ()</h3>
|
2990
|
+
<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>,
|
2991
|
+
<em class="parameter"><code><span class="type">GFile</span> *file</code></em>);</pre>
|
2992
|
+
<p>
|
2993
|
+
Unselects the file referred to by <em class="parameter"><code>file</code></em>. If the file is not in the current
|
2994
|
+
directory, does not exist, or is otherwise not currently selected, does nothing.
|
2995
|
+
</p>
|
2996
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
2997
|
+
<colgroup>
|
2998
|
+
<col align="left" valign="top">
|
2999
|
+
<col>
|
3000
|
+
</colgroup>
|
3001
|
+
<tbody>
|
3002
|
+
<tr>
|
3003
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3004
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
3005
|
+
</td>
|
3006
|
+
</tr>
|
3007
|
+
<tr>
|
3008
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
3009
|
+
<td>a <span class="type">GFile</span>
|
3010
|
+
</td>
|
3011
|
+
</tr>
|
3012
|
+
</tbody>
|
3013
|
+
</table></div>
|
3014
|
+
<p class="since">Since 2.14</p>
|
3015
|
+
</div>
|
3016
|
+
</div>
|
3017
|
+
<div class="refsect1">
|
3018
|
+
<a name="GtkFileChooser.property-details"></a><h2>Property Details</h2>
|
3019
|
+
<div class="refsect2">
|
3020
|
+
<a name="GtkFileChooser--action"></a><h3>The <code class="literal">"action"</code> property</h3>
|
3021
|
+
<pre class="programlisting"> "action" <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> : Read / Write</pre>
|
3022
|
+
<p>The type of operation that the file selector is performing.</p>
|
3023
|
+
<p>Default value: GTK_FILE_CHOOSER_ACTION_OPEN</p>
|
3024
|
+
</div>
|
3025
|
+
<hr>
|
3026
|
+
<div class="refsect2">
|
3027
|
+
<a name="GtkFileChooser--create-folders"></a><h3>The <code class="literal">"create-folders"</code> property</h3>
|
3028
|
+
<pre class="programlisting"> "create-folders" <span class="type">gboolean</span> : Read / Write</pre>
|
3029
|
+
<p>
|
3030
|
+
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
|
3031
|
+
will offer the user to create new folders.
|
3032
|
+
</p>
|
3033
|
+
<p>Default value: TRUE</p>
|
3034
|
+
<p class="since">Since 2.18</p>
|
3035
|
+
</div>
|
3036
|
+
<hr>
|
3037
|
+
<div class="refsect2">
|
3038
|
+
<a name="GtkFileChooser--do-overwrite-confirmation"></a><h3>The <code class="literal">"do-overwrite-confirmation"</code> property</h3>
|
3039
|
+
<pre class="programlisting"> "do-overwrite-confirmation" <span class="type">gboolean</span> : Read / Write</pre>
|
3040
|
+
<p>
|
3041
|
+
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
|
3042
|
+
will present an overwrite confirmation dialog if the user
|
3043
|
+
selects a file name that already exists.
|
3044
|
+
</p>
|
3045
|
+
<p>Default value: FALSE</p>
|
3046
|
+
<p class="since">Since 2.8</p>
|
3047
|
+
</div>
|
3048
|
+
<hr>
|
3049
|
+
<div class="refsect2">
|
3050
|
+
<a name="GtkFileChooser--extra-widget"></a><h3>The <code class="literal">"extra-widget"</code> property</h3>
|
3051
|
+
<pre class="programlisting"> "extra-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
|
3052
|
+
<p>Application supplied widget for extra options.</p>
|
3053
|
+
</div>
|
3054
|
+
<hr>
|
3055
|
+
<div class="refsect2">
|
3056
|
+
<a name="GtkFileChooser--filter"></a><h3>The <code class="literal">"filter"</code> property</h3>
|
3057
|
+
<pre class="programlisting"> "filter" <a class="link" href="GtkFileFilter.html" title="GtkFileFilter"><span class="type">GtkFileFilter</span></a>* : Read / Write</pre>
|
3058
|
+
<p>The current filter for selecting which files are displayed.</p>
|
3059
|
+
</div>
|
3060
|
+
<hr>
|
3061
|
+
<div class="refsect2">
|
3062
|
+
<a name="GtkFileChooser--local-only"></a><h3>The <code class="literal">"local-only"</code> property</h3>
|
3063
|
+
<pre class="programlisting"> "local-only" <span class="type">gboolean</span> : Read / Write</pre>
|
3064
|
+
<p>Whether the selected file(s) should be limited to local file: URLs.</p>
|
3065
|
+
<p>Default value: TRUE</p>
|
3066
|
+
</div>
|
3067
|
+
<hr>
|
3068
|
+
<div class="refsect2">
|
3069
|
+
<a name="GtkFileChooser--preview-widget"></a><h3>The <code class="literal">"preview-widget"</code> property</h3>
|
3070
|
+
<pre class="programlisting"> "preview-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
|
3071
|
+
<p>Application supplied widget for custom previews.</p>
|
3072
|
+
</div>
|
3073
|
+
<hr>
|
3074
|
+
<div class="refsect2">
|
3075
|
+
<a name="GtkFileChooser--preview-widget-active"></a><h3>The <code class="literal">"preview-widget-active"</code> property</h3>
|
3076
|
+
<pre class="programlisting"> "preview-widget-active" <span class="type">gboolean</span> : Read / Write</pre>
|
3077
|
+
<p>Whether the application supplied widget for custom previews should be shown.</p>
|
3078
|
+
<p>Default value: TRUE</p>
|
3079
|
+
</div>
|
3080
|
+
<hr>
|
3081
|
+
<div class="refsect2">
|
3082
|
+
<a name="GtkFileChooser--select-multiple"></a><h3>The <code class="literal">"select-multiple"</code> property</h3>
|
3083
|
+
<pre class="programlisting"> "select-multiple" <span class="type">gboolean</span> : Read / Write</pre>
|
3084
|
+
<p>Whether to allow multiple files to be selected.</p>
|
3085
|
+
<p>Default value: FALSE</p>
|
3086
|
+
</div>
|
3087
|
+
<hr>
|
3088
|
+
<div class="refsect2">
|
3089
|
+
<a name="GtkFileChooser--show-hidden"></a><h3>The <code class="literal">"show-hidden"</code> property</h3>
|
3090
|
+
<pre class="programlisting"> "show-hidden" <span class="type">gboolean</span> : Read / Write</pre>
|
3091
|
+
<p>Whether the hidden files and folders should be displayed.</p>
|
3092
|
+
<p>Default value: FALSE</p>
|
3093
|
+
</div>
|
3094
|
+
<hr>
|
3095
|
+
<div class="refsect2">
|
3096
|
+
<a name="GtkFileChooser--use-preview-label"></a><h3>The <code class="literal">"use-preview-label"</code> property</h3>
|
3097
|
+
<pre class="programlisting"> "use-preview-label" <span class="type">gboolean</span> : Read / Write</pre>
|
3098
|
+
<p>Whether to display a stock label with the name of the previewed file.</p>
|
3099
|
+
<p>Default value: TRUE</p>
|
3100
|
+
</div>
|
3101
|
+
</div>
|
3102
|
+
<div class="refsect1">
|
3103
|
+
<a name="GtkFileChooser.signal-details"></a><h2>Signal Details</h2>
|
3104
|
+
<div class="refsect2">
|
3105
|
+
<a name="GtkFileChooser-confirm-overwrite"></a><h3>The <code class="literal">"confirm-overwrite"</code> signal</h3>
|
3106
|
+
<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,
|
3107
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
3108
|
+
<p>
|
3109
|
+
This signal gets emitted whenever it is appropriate to present a
|
3110
|
+
confirmation dialog when the user has selected a file name that
|
3111
|
+
already exists. The signal only gets emitted when the file
|
3112
|
+
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.
|
3113
|
+
</p>
|
3114
|
+
<p>
|
3115
|
+
Most applications just need to turn on the
|
3116
|
+
<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
|
3117
|
+
<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
|
3118
|
+
they will automatically get a stock confirmation dialog.
|
3119
|
+
Applications which need to customize this behavior should do
|
3120
|
+
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>
|
3121
|
+
signal.
|
3122
|
+
</p>
|
3123
|
+
<p>
|
3124
|
+
A signal handler for this signal must return a
|
3125
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value, which indicates the action to
|
3126
|
+
take. If the handler determines that the user wants to select a
|
3127
|
+
different filename, it should return
|
3128
|
+
<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
|
3129
|
+
that the user is satisfied with his choice of file name, it
|
3130
|
+
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>.
|
3131
|
+
On the other hand, if it determines that the stock confirmation
|
3132
|
+
dialog should be used, it should return
|
3133
|
+
<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
|
3134
|
+
illustrates this.
|
3135
|
+
</p>
|
3136
|
+
<div class="example">
|
3137
|
+
<a name="gtkfilechooser-confirmation"></a><p class="title"><b>Example 88. Custom confirmation</b></p>
|
3138
|
+
<div class="example-contents">
|
3139
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3140
|
+
<tbody>
|
3141
|
+
<tr>
|
3142
|
+
<td class="listing_lines" align="right"><pre>1
|
3143
|
+
2
|
3144
|
+
3
|
3145
|
+
4
|
3146
|
+
5
|
3147
|
+
6
|
3148
|
+
7
|
3149
|
+
8
|
3150
|
+
9
|
3151
|
+
10
|
3152
|
+
11
|
3153
|
+
12
|
3154
|
+
13
|
3155
|
+
14
|
3156
|
+
15
|
3157
|
+
16
|
3158
|
+
17
|
3159
|
+
18
|
3160
|
+
19
|
3161
|
+
20
|
3162
|
+
21
|
3163
|
+
22
|
3164
|
+
23
|
3165
|
+
24
|
3166
|
+
25
|
3167
|
+
26
|
3168
|
+
27
|
3169
|
+
28</pre></td>
|
3170
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="GtkFileChooser.html#GtkFileChooserConfirmation">GtkFileChooserConfirmation</a></span>
|
3171
|
+
<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>
|
3172
|
+
<span class="cbracket">{</span>
|
3173
|
+
<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>
|
3174
|
+
<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>
|
3175
|
+
|
3176
|
+
<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>
|
3177
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
3178
|
+
<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>
|
3179
|
+
<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>
|
3180
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
3181
|
+
<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>
|
3182
|
+
<span class="normal"> </span><span class="cbracket">}</span><span class="normal"> </span><span class="keyword">else</span>
|
3183
|
+
<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>
|
3184
|
+
<span class="cbracket">}</span>
|
3185
|
+
|
3186
|
+
<span class="symbol">...</span>
|
3187
|
+
|
3188
|
+
<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>
|
3189
|
+
|
3190
|
+
<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"> TRUE</span><span class="symbol">);</span>
|
3191
|
+
<span class="function">g_signal_connect</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>
|
3192
|
+
<span class="normal"> </span><span class="function">G_CALLBACK</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="/home/mclasen/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS">NULL</a></span><span class="symbol">);</span>
|
3193
|
+
|
3194
|
+
<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>
|
3195
|
+
<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>
|
3196
|
+
|
3197
|
+
<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>
|
3198
|
+
</tr>
|
3199
|
+
</tbody>
|
3200
|
+
</table>
|
3201
|
+
</div>
|
3202
|
+
|
3203
|
+
</div>
|
3204
|
+
<p><br class="example-break">
|
3205
|
+
</p>
|
3206
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3207
|
+
<colgroup>
|
3208
|
+
<col align="left" valign="top">
|
3209
|
+
<col>
|
3210
|
+
</colgroup>
|
3211
|
+
<tbody>
|
3212
|
+
<tr>
|
3213
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3214
|
+
<td>the object which received the signal.</td>
|
3215
|
+
</tr>
|
3216
|
+
<tr>
|
3217
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3218
|
+
<td>user data set when the signal handler was connected.</td>
|
3219
|
+
</tr>
|
3220
|
+
<tr>
|
3221
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3222
|
+
<td>a <a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value that indicates which
|
3223
|
+
action to take after emitting the signal.</td>
|
3224
|
+
</tr>
|
3225
|
+
</tbody>
|
3226
|
+
</table></div>
|
3227
|
+
<p class="since">Since 2.8</p>
|
3228
|
+
</div>
|
3229
|
+
<hr>
|
3230
|
+
<div class="refsect2">
|
3231
|
+
<a name="GtkFileChooser-current-folder-changed"></a><h3>The <code class="literal">"current-folder-changed"</code> signal</h3>
|
3232
|
+
<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,
|
3233
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
3234
|
+
<p>
|
3235
|
+
This signal is emitted when the current folder in a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
3236
|
+
changes. This can happen due to the user performing some action that
|
3237
|
+
changes folders, such as selecting a bookmark or visiting a folder on the
|
3238
|
+
file list. It can also happen as a result of calling a function to
|
3239
|
+
explicitly change the current folder in a file chooser.
|
3240
|
+
</p>
|
3241
|
+
<p>
|
3242
|
+
Normally you do not need to connect to this signal, unless you need to keep
|
3243
|
+
track of which folder a file chooser is showing.
|
3244
|
+
</p>
|
3245
|
+
<p>
|
3246
|
+
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>,
|
3247
|
+
<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>,
|
3248
|
+
<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>,
|
3249
|
+
<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>.
|
3250
|
+
</p>
|
3251
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3252
|
+
<colgroup>
|
3253
|
+
<col align="left" valign="top">
|
3254
|
+
<col>
|
3255
|
+
</colgroup>
|
3256
|
+
<tbody>
|
3257
|
+
<tr>
|
3258
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3259
|
+
<td>the object which received the signal.</td>
|
3260
|
+
</tr>
|
3261
|
+
<tr>
|
3262
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3263
|
+
<td>user data set when the signal handler was connected.</td>
|
3264
|
+
</tr>
|
3265
|
+
</tbody>
|
3266
|
+
</table></div>
|
3267
|
+
</div>
|
3268
|
+
<hr>
|
3269
|
+
<div class="refsect2">
|
3270
|
+
<a name="GtkFileChooser-file-activated"></a><h3>The <code class="literal">"file-activated"</code> signal</h3>
|
3271
|
+
<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,
|
3272
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
3273
|
+
<p>
|
3274
|
+
This signal is emitted when the user "activates" a file in the file
|
3275
|
+
chooser. This can happen by double-clicking on a file in the file list, or
|
3276
|
+
by pressing <span class="keycap"><strong>Enter</strong></span>.
|
3277
|
+
</p>
|
3278
|
+
<p>
|
3279
|
+
Normally you do not need to connect to this signal. It is used internally
|
3280
|
+
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
|
3281
|
+
dialog.
|
3282
|
+
</p>
|
3283
|
+
<p>
|
3284
|
+
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>,
|
3285
|
+
<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>,
|
3286
|
+
<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>.
|
3287
|
+
</p>
|
3288
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3289
|
+
<colgroup>
|
3290
|
+
<col align="left" valign="top">
|
3291
|
+
<col>
|
3292
|
+
</colgroup>
|
3293
|
+
<tbody>
|
3294
|
+
<tr>
|
3295
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3296
|
+
<td>the object which received the signal.</td>
|
3297
|
+
</tr>
|
3298
|
+
<tr>
|
3299
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3300
|
+
<td>user data set when the signal handler was connected.</td>
|
3301
|
+
</tr>
|
3302
|
+
</tbody>
|
3303
|
+
</table></div>
|
3304
|
+
</div>
|
3305
|
+
<hr>
|
3306
|
+
<div class="refsect2">
|
3307
|
+
<a name="GtkFileChooser-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3>
|
3308
|
+
<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,
|
3309
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
3310
|
+
<p>
|
3311
|
+
This signal is emitted when there is a change in the set of selected files
|
3312
|
+
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
|
3313
|
+
with the mouse or the keyboard, or when explicitly calling functions to
|
3314
|
+
change the selection.
|
3315
|
+
</p>
|
3316
|
+
<p>
|
3317
|
+
Normally you do not need to connect to this signal, as it is easier to wait
|
3318
|
+
for the file chooser to finish running, and then to get the list of
|
3319
|
+
selected files using the functions mentioned below.
|
3320
|
+
</p>
|
3321
|
+
<p>
|
3322
|
+
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>,
|
3323
|
+
<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>,
|
3324
|
+
<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>,
|
3325
|
+
<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>,
|
3326
|
+
<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>.
|
3327
|
+
</p>
|
3328
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3329
|
+
<colgroup>
|
3330
|
+
<col align="left" valign="top">
|
3331
|
+
<col>
|
3332
|
+
</colgroup>
|
3333
|
+
<tbody>
|
3334
|
+
<tr>
|
3335
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3336
|
+
<td>the object which received the signal.</td>
|
3337
|
+
</tr>
|
3338
|
+
<tr>
|
3339
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3340
|
+
<td>user data set when the signal handler was connected.</td>
|
3341
|
+
</tr>
|
3342
|
+
</tbody>
|
3343
|
+
</table></div>
|
3344
|
+
</div>
|
3345
|
+
<hr>
|
3346
|
+
<div class="refsect2">
|
3347
|
+
<a name="GtkFileChooser-update-preview"></a><h3>The <code class="literal">"update-preview"</code> signal</h3>
|
3348
|
+
<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,
|
3349
|
+
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
|
3350
|
+
<p>
|
3351
|
+
This signal is emitted when the preview in a file chooser should be
|
3352
|
+
regenerated. For example, this can happen when the currently selected file
|
3353
|
+
changes. You should use this signal if you want your file chooser to have
|
3354
|
+
a preview widget.
|
3355
|
+
</p>
|
3356
|
+
<p>
|
3357
|
+
Once you have installed a preview widget with
|
3358
|
+
<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
|
3359
|
+
signal is emitted. You can use the functions
|
3360
|
+
<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
|
3361
|
+
<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.
|
3362
|
+
Your widget may not be able to preview all kinds of files; your callback
|
3363
|
+
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
|
3364
|
+
chooser about whether the preview was generated successfully or not.
|
3365
|
+
</p>
|
3366
|
+
<p>
|
3367
|
+
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>.
|
3368
|
+
</p>
|
3369
|
+
<p>
|
3370
|
+
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>,
|
3371
|
+
<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>,
|
3372
|
+
<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>,
|
3373
|
+
<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>,
|
3374
|
+
<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>.
|
3375
|
+
</p>
|
3376
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
3377
|
+
<colgroup>
|
3378
|
+
<col align="left" valign="top">
|
3379
|
+
<col>
|
3380
|
+
</colgroup>
|
3381
|
+
<tbody>
|
3382
|
+
<tr>
|
3383
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3384
|
+
<td>the object which received the signal.</td>
|
3385
|
+
</tr>
|
3386
|
+
<tr>
|
3387
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3388
|
+
<td>user data set when the signal handler was connected.</td>
|
3389
|
+
</tr>
|
3390
|
+
</tbody>
|
3391
|
+
</table></div>
|
3392
|
+
</div>
|
3393
|
+
</div>
|
3394
|
+
<div class="refsect1">
|
3395
|
+
<a name="GtkFileChooser.see-also"></a><h2>See Also</h2>
|
3396
|
+
<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>
|
3397
|
+
</div>
|
3398
|
+
</div>
|
3399
|
+
<div class="footer">
|
3400
|
+
<hr>
|
3401
|
+
Generated by GTK-Doc V1.18.1</div>
|
3402
|
+
</body>
|
3403
|
+
</html>
|