gtk2 2.2.4-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README +33 -0
- data/Rakefile +62 -0
- data/ext/gtk2/depend +14 -0
- data/ext/gtk2/extconf.rb +129 -0
- data/ext/gtk2/global.h +295 -0
- data/ext/gtk2/gtk2.def +29 -0
- data/ext/gtk2/init.c +284 -0
- data/ext/gtk2/rbgdk.c +505 -0
- data/ext/gtk2/rbgdk.h +79 -0
- data/ext/gtk2/rbgdkatom.c +124 -0
- data/ext/gtk2/rbgdkcairo.c +89 -0
- data/ext/gtk2/rbgdkcolor.c +146 -0
- data/ext/gtk2/rbgdkcolormap.c +135 -0
- data/ext/gtk2/rbgdkconst.c +39 -0
- data/ext/gtk2/rbgdkconversions.h +31 -0
- data/ext/gtk2/rbgdkcursor.c +102 -0
- data/ext/gtk2/rbgdkdevice.c +229 -0
- data/ext/gtk2/rbgdkdisplay.c +553 -0
- data/ext/gtk2/rbgdkdisplaymanager.c +54 -0
- data/ext/gtk2/rbgdkdragcontext.c +291 -0
- data/ext/gtk2/rbgdkdraw.c +522 -0
- data/ext/gtk2/rbgdkevent.c +1291 -0
- data/ext/gtk2/rbgdkgc.c +423 -0
- data/ext/gtk2/rbgdkgeometry.c +256 -0
- data/ext/gtk2/rbgdkimage.c +152 -0
- data/ext/gtk2/rbgdkinput.c +72 -0
- data/ext/gtk2/rbgdkkeymap.c +155 -0
- data/ext/gtk2/rbgdkkeyval.c +108 -0
- data/ext/gtk2/rbgdkpango.c +183 -0
- data/ext/gtk2/rbgdkpangorenderer.c +143 -0
- data/ext/gtk2/rbgdkpixbuf.c +171 -0
- data/ext/gtk2/rbgdkpixmap.c +236 -0
- data/ext/gtk2/rbgdkproperty.c +288 -0
- data/ext/gtk2/rbgdkrectangle.c +142 -0
- data/ext/gtk2/rbgdkregion.c +289 -0
- data/ext/gtk2/rbgdkrgb.c +198 -0
- data/ext/gtk2/rbgdkscreen.c +422 -0
- data/ext/gtk2/rbgdkselection.c +147 -0
- data/ext/gtk2/rbgdkthreads.c +77 -0
- data/ext/gtk2/rbgdktimecoord.c +135 -0
- data/ext/gtk2/rbgdkvisual.c +252 -0
- data/ext/gtk2/rbgdkwindow.c +1113 -0
- data/ext/gtk2/rbgdkwindowattr.c +208 -0
- data/ext/gtk2/rbgdkx11.c +257 -0
- data/ext/gtk2/rbgtk.c +594 -0
- data/ext/gtk2/rbgtk.h +132 -0
- data/ext/gtk2/rbgtkaboutdialog.c +136 -0
- data/ext/gtk2/rbgtkaccelerator.c +81 -0
- data/ext/gtk2/rbgtkaccelgroup.c +200 -0
- data/ext/gtk2/rbgtkaccelgroupentry.c +94 -0
- data/ext/gtk2/rbgtkaccelkey.c +122 -0
- data/ext/gtk2/rbgtkaccellabel.c +55 -0
- data/ext/gtk2/rbgtkaccelmap.c +144 -0
- data/ext/gtk2/rbgtkaccessible.c +39 -0
- data/ext/gtk2/rbgtkaction.c +223 -0
- data/ext/gtk2/rbgtkactiongroup.c +468 -0
- data/ext/gtk2/rbgtkadjustment.c +72 -0
- data/ext/gtk2/rbgtkalignment.c +75 -0
- data/ext/gtk2/rbgtkallocation.c +168 -0
- data/ext/gtk2/rbgtkarrow.c +57 -0
- data/ext/gtk2/rbgtkaspectframe.c +56 -0
- data/ext/gtk2/rbgtkassistant.c +220 -0
- data/ext/gtk2/rbgtkbbox.c +53 -0
- data/ext/gtk2/rbgtkbin.c +42 -0
- data/ext/gtk2/rbgtkbindingset.c +189 -0
- data/ext/gtk2/rbgtkborder.c +87 -0
- data/ext/gtk2/rbgtkbox.c +138 -0
- data/ext/gtk2/rbgtkbuildable.c +127 -0
- data/ext/gtk2/rbgtkbuilder.c +170 -0
- data/ext/gtk2/rbgtkbutton.c +115 -0
- data/ext/gtk2/rbgtkcalendar.c +149 -0
- data/ext/gtk2/rbgtkcelleditable.c +57 -0
- data/ext/gtk2/rbgtkcelllayout.c +137 -0
- data/ext/gtk2/rbgtkcellrenderer.c +131 -0
- data/ext/gtk2/rbgtkcellrendereraccel.c +43 -0
- data/ext/gtk2/rbgtkcellrenderercombo.c +38 -0
- data/ext/gtk2/rbgtkcellrendererpixbuf.c +39 -0
- data/ext/gtk2/rbgtkcellrendererprogress.c +38 -0
- data/ext/gtk2/rbgtkcellrendererspin.c +39 -0
- data/ext/gtk2/rbgtkcellrendererspinner.c +44 -0
- data/ext/gtk2/rbgtkcellrenderertext.c +49 -0
- data/ext/gtk2/rbgtkcellrenderertoggle.c +39 -0
- data/ext/gtk2/rbgtkcellview.c +117 -0
- data/ext/gtk2/rbgtkcheckbutton.c +64 -0
- data/ext/gtk2/rbgtkcheckmenuitem.c +64 -0
- data/ext/gtk2/rbgtkclipboard.c +425 -0
- data/ext/gtk2/rbgtkcolorbutton.c +49 -0
- data/ext/gtk2/rbgtkcolorsel.c +211 -0
- data/ext/gtk2/rbgtkcolorselectiondialog.c +50 -0
- data/ext/gtk2/rbgtkcombo.c +119 -0
- data/ext/gtk2/rbgtkcombobox.c +151 -0
- data/ext/gtk2/rbgtkcomboboxentry.c +56 -0
- data/ext/gtk2/rbgtkconst.c +179 -0
- data/ext/gtk2/rbgtkcontainer.c +783 -0
- data/ext/gtk2/rbgtkconversions.h +39 -0
- data/ext/gtk2/rbgtkcurve.c +111 -0
- data/ext/gtk2/rbgtkdialog.c +268 -0
- data/ext/gtk2/rbgtkdrag.c +427 -0
- data/ext/gtk2/rbgtkdrawingarea.c +42 -0
- data/ext/gtk2/rbgtkeditable.c +151 -0
- data/ext/gtk2/rbgtkentry.c +113 -0
- data/ext/gtk2/rbgtkentrycompletion.c +128 -0
- data/ext/gtk2/rbgtkeventbox.c +42 -0
- data/ext/gtk2/rbgtkexpander.c +49 -0
- data/ext/gtk2/rbgtkfilechooser.c +311 -0
- data/ext/gtk2/rbgtkfilechooserbutton.c +57 -0
- data/ext/gtk2/rbgtkfilechooserdialog.c +59 -0
- data/ext/gtk2/rbgtkfilechooserwidget.c +52 -0
- data/ext/gtk2/rbgtkfilefilter.c +131 -0
- data/ext/gtk2/rbgtkfilesel.c +150 -0
- data/ext/gtk2/rbgtkfilesystemerror.c +49 -0
- data/ext/gtk2/rbgtkfixed.c +78 -0
- data/ext/gtk2/rbgtkfontbutton.c +49 -0
- data/ext/gtk2/rbgtkfontselection.c +41 -0
- data/ext/gtk2/rbgtkfontselectiondialog.c +106 -0
- data/ext/gtk2/rbgtkframe.c +69 -0
- data/ext/gtk2/rbgtkgamma.c +56 -0
- data/ext/gtk2/rbgtkhandlebox.c +45 -0
- data/ext/gtk2/rbgtkhbbox.c +42 -0
- data/ext/gtk2/rbgtkhbox.c +47 -0
- data/ext/gtk2/rbgtkhpaned.c +42 -0
- data/ext/gtk2/rbgtkhruler.c +42 -0
- data/ext/gtk2/rbgtkhscale.c +54 -0
- data/ext/gtk2/rbgtkhscrollbar.c +47 -0
- data/ext/gtk2/rbgtkhseparator.c +41 -0
- data/ext/gtk2/rbgtkiconfactory.c +86 -0
- data/ext/gtk2/rbgtkiconinfo.c +117 -0
- data/ext/gtk2/rbgtkiconset.c +91 -0
- data/ext/gtk2/rbgtkiconsize.c +93 -0
- data/ext/gtk2/rbgtkiconsource.c +171 -0
- data/ext/gtk2/rbgtkicontheme.c +273 -0
- data/ext/gtk2/rbgtkiconview.c +270 -0
- data/ext/gtk2/rbgtkimage.c +128 -0
- data/ext/gtk2/rbgtkimagemenuitem.c +61 -0
- data/ext/gtk2/rbgtkimcontext.c +135 -0
- data/ext/gtk2/rbgtkimcontextsimple.c +69 -0
- data/ext/gtk2/rbgtkimmulticontext.c +48 -0
- data/ext/gtk2/rbgtkinfobar.c +127 -0
- data/ext/gtk2/rbgtkinputdialog.c +41 -0
- data/ext/gtk2/rbgtkinvisible.c +49 -0
- data/ext/gtk2/rbgtkitem.c +60 -0
- data/ext/gtk2/rbgtkitemfactory.c +299 -0
- data/ext/gtk2/rbgtklabel.c +139 -0
- data/ext/gtk2/rbgtklayout.c +94 -0
- data/ext/gtk2/rbgtklinkbutton.c +65 -0
- data/ext/gtk2/rbgtkliststore.c +411 -0
- data/ext/gtk2/rbgtkmacros.h +39 -0
- data/ext/gtk2/rbgtkmenu.c +171 -0
- data/ext/gtk2/rbgtkmenubar.c +45 -0
- data/ext/gtk2/rbgtkmenuitem.c +111 -0
- data/ext/gtk2/rbgtkmenushell.c +108 -0
- data/ext/gtk2/rbgtkmenutoolbutton.c +74 -0
- data/ext/gtk2/rbgtkmessagedialog.c +89 -0
- data/ext/gtk2/rbgtkmisc.c +70 -0
- data/ext/gtk2/rbgtknotebook.c +412 -0
- data/ext/gtk2/rbgtkobject.c +144 -0
- data/ext/gtk2/rbgtkoptionmenu.c +72 -0
- data/ext/gtk2/rbgtkpagesetup.c +201 -0
- data/ext/gtk2/rbgtkpagesetupunixdialog.c +87 -0
- data/ext/gtk2/rbgtkpaned.c +114 -0
- data/ext/gtk2/rbgtkpapersize.c +186 -0
- data/ext/gtk2/rbgtkplug.c +91 -0
- data/ext/gtk2/rbgtkprintcontext.c +127 -0
- data/ext/gtk2/rbgtkprinter.c +154 -0
- data/ext/gtk2/rbgtkprintjob.c +149 -0
- data/ext/gtk2/rbgtkprintoperation.c +156 -0
- data/ext/gtk2/rbgtkprintoperationpreview.c +61 -0
- data/ext/gtk2/rbgtkprintsettings.c +842 -0
- data/ext/gtk2/rbgtkprintunixdialog.c +86 -0
- data/ext/gtk2/rbgtkprogress.c +31 -0
- data/ext/gtk2/rbgtkprogressbar.c +71 -0
- data/ext/gtk2/rbgtkradioaction.c +120 -0
- data/ext/gtk2/rbgtkradiobutton.c +90 -0
- data/ext/gtk2/rbgtkradiomenuitem.c +148 -0
- data/ext/gtk2/rbgtkradiotoolbutton.c +132 -0
- data/ext/gtk2/rbgtkrange.c +71 -0
- data/ext/gtk2/rbgtkrc.c +217 -0
- data/ext/gtk2/rbgtkrcstyle.c +182 -0
- data/ext/gtk2/rbgtkrecentaction.c +60 -0
- data/ext/gtk2/rbgtkrecentchooser.c +216 -0
- data/ext/gtk2/rbgtkrecentchooserdialog.c +62 -0
- data/ext/gtk2/rbgtkrecentchoosermenu.c +50 -0
- data/ext/gtk2/rbgtkrecentchooserwidget.c +48 -0
- data/ext/gtk2/rbgtkrecentdata.c +144 -0
- data/ext/gtk2/rbgtkrecentfilter.c +170 -0
- data/ext/gtk2/rbgtkrecentfilterinfo.c +181 -0
- data/ext/gtk2/rbgtkrecentinfo.c +216 -0
- data/ext/gtk2/rbgtkrecentmanager.c +149 -0
- data/ext/gtk2/rbgtkruler.c +71 -0
- data/ext/gtk2/rbgtkscale.c +50 -0
- data/ext/gtk2/rbgtkscalebutton.c +75 -0
- data/ext/gtk2/rbgtkscrollbar.c +31 -0
- data/ext/gtk2/rbgtkscrolledwindow.c +124 -0
- data/ext/gtk2/rbgtkselection.c +171 -0
- data/ext/gtk2/rbgtkselectiondata.c +284 -0
- data/ext/gtk2/rbgtkseparator.c +31 -0
- data/ext/gtk2/rbgtkseparatormenuitem.c +39 -0
- data/ext/gtk2/rbgtkseparatortoolitem.c +38 -0
- data/ext/gtk2/rbgtksettings.c +229 -0
- data/ext/gtk2/rbgtksizegroup.c +68 -0
- data/ext/gtk2/rbgtksocket.c +80 -0
- data/ext/gtk2/rbgtkspinbutton.c +137 -0
- data/ext/gtk2/rbgtkspinner.c +61 -0
- data/ext/gtk2/rbgtkstatusbar.c +77 -0
- data/ext/gtk2/rbgtkstatusicon.c +90 -0
- data/ext/gtk2/rbgtkstock.c +230 -0
- data/ext/gtk2/rbgtkstyle.c +642 -0
- data/ext/gtk2/rbgtktable.c +177 -0
- data/ext/gtk2/rbgtktargetlist.c +125 -0
- data/ext/gtk2/rbgtktearoffmenuitem.c +41 -0
- data/ext/gtk2/rbgtktextappearance.c +172 -0
- data/ext/gtk2/rbgtktextattributes.c +203 -0
- data/ext/gtk2/rbgtktextbuffer.c +886 -0
- data/ext/gtk2/rbgtktextchild.c +55 -0
- data/ext/gtk2/rbgtktextiter.c +506 -0
- data/ext/gtk2/rbgtktextmark.c +76 -0
- data/ext/gtk2/rbgtktexttag.c +71 -0
- data/ext/gtk2/rbgtktexttagtable.c +97 -0
- data/ext/gtk2/rbgtktextview.c +326 -0
- data/ext/gtk2/rbgtktoggleaction.c +59 -0
- data/ext/gtk2/rbgtktogglebutton.c +88 -0
- data/ext/gtk2/rbgtktoggletoolbutton.c +54 -0
- data/ext/gtk2/rbgtktoolbar.c +315 -0
- data/ext/gtk2/rbgtktoolbutton.c +53 -0
- data/ext/gtk2/rbgtktoolitem.c +157 -0
- data/ext/gtk2/rbgtktooltip.c +82 -0
- data/ext/gtk2/rbgtktooltips.c +104 -0
- data/ext/gtk2/rbgtktreedragdest.c +28 -0
- data/ext/gtk2/rbgtktreedragsource.c +28 -0
- data/ext/gtk2/rbgtktreeiter.c +251 -0
- data/ext/gtk2/rbgtktreemodel.c +282 -0
- data/ext/gtk2/rbgtktreemodelfilter.c +198 -0
- data/ext/gtk2/rbgtktreemodelsort.c +112 -0
- data/ext/gtk2/rbgtktreepath.c +191 -0
- data/ext/gtk2/rbgtktreerowreference.c +171 -0
- data/ext/gtk2/rbgtktreeselection.c +213 -0
- data/ext/gtk2/rbgtktreesortable.c +123 -0
- data/ext/gtk2/rbgtktreestore.c +362 -0
- data/ext/gtk2/rbgtktreeview.c +746 -0
- data/ext/gtk2/rbgtktreeviewcolumn.c +289 -0
- data/ext/gtk2/rbgtkuimanager.c +189 -0
- data/ext/gtk2/rbgtkvbbox.c +42 -0
- data/ext/gtk2/rbgtkvbox.c +47 -0
- data/ext/gtk2/rbgtkviewport.c +44 -0
- data/ext/gtk2/rbgtkvolumebutton.c +47 -0
- data/ext/gtk2/rbgtkvpaned.c +42 -0
- data/ext/gtk2/rbgtkvruler.c +41 -0
- data/ext/gtk2/rbgtkvscale.c +54 -0
- data/ext/gtk2/rbgtkvscrollbar.c +47 -0
- data/ext/gtk2/rbgtkvseparator.c +41 -0
- data/ext/gtk2/rbgtkwidget.c +1223 -0
- data/ext/gtk2/rbgtkwindow.c +588 -0
- data/ext/gtk2/rbgtkwindowgroup.c +56 -0
- data/extconf.rb +49 -0
- data/lib/2.0/gtk2.so +0 -0
- data/lib/2.1/gtk2.so +0 -0
- data/lib/2.2/gtk2.so +0 -0
- data/lib/gtk2.rb +13 -0
- data/lib/gtk2/base.rb +105 -0
- data/sample/gtk-demo/README +7 -0
- data/sample/gtk-demo/alphatest.png +0 -0
- data/sample/gtk-demo/apple-red.png +0 -0
- data/sample/gtk-demo/appwindow.rb +233 -0
- data/sample/gtk-demo/background.jpg +0 -0
- data/sample/gtk-demo/builder.rb +51 -0
- data/sample/gtk-demo/button_box.rb +84 -0
- data/sample/gtk-demo/cairo-arc-negative.rb +41 -0
- data/sample/gtk-demo/cairo-arc.rb +41 -0
- data/sample/gtk-demo/cairo-clip-image.rb +51 -0
- data/sample/gtk-demo/cairo-clip-rectangle.rb +35 -0
- data/sample/gtk-demo/cairo-clip.rb +35 -0
- data/sample/gtk-demo/cairo-curve-rectangle.rb +76 -0
- data/sample/gtk-demo/cairo-curve-to.rb +43 -0
- data/sample/gtk-demo/cairo-dash.rb +39 -0
- data/sample/gtk-demo/cairo-fill-and-stroke.rb +32 -0
- data/sample/gtk-demo/cairo-fill-and-stroke2.rb +38 -0
- data/sample/gtk-demo/cairo-gradient.rb +35 -0
- data/sample/gtk-demo/cairo-image-pattern.rb +39 -0
- data/sample/gtk-demo/cairo-image.rb +49 -0
- data/sample/gtk-demo/cairo-line-cap.rb +53 -0
- data/sample/gtk-demo/cairo-line-join.rb +41 -0
- data/sample/gtk-demo/cairo-long-lines.rb +41 -0
- data/sample/gtk-demo/cairo-operator.rb +83 -0
- data/sample/gtk-demo/cairo-path.rb +28 -0
- data/sample/gtk-demo/cairo-pattern-fill.rb +88 -0
- data/sample/gtk-demo/cairo-self-intersect.rb +32 -0
- data/sample/gtk-demo/cairo-text-align-center.rb +45 -0
- data/sample/gtk-demo/cairo-text-extents.rb +46 -0
- data/sample/gtk-demo/cairo-text.rb +43 -0
- data/sample/gtk-demo/changedisplay.rb +408 -0
- data/sample/gtk-demo/clipboard.rb +72 -0
- data/sample/gtk-demo/colorsel.rb +84 -0
- data/sample/gtk-demo/common.rb +93 -0
- data/sample/gtk-demo/demo.ui +258 -0
- data/sample/gtk-demo/dialog.rb +137 -0
- data/sample/gtk-demo/drawingarea.rb +226 -0
- data/sample/gtk-demo/editable_cells.rb +172 -0
- data/sample/gtk-demo/entry_completion.rb +63 -0
- data/sample/gtk-demo/expander.rb +40 -0
- data/sample/gtk-demo/floppybuddy.gif +0 -0
- data/sample/gtk-demo/gnome-applets.png +0 -0
- data/sample/gtk-demo/gnome-calendar.png +0 -0
- data/sample/gtk-demo/gnome-foot.png +0 -0
- data/sample/gtk-demo/gnome-fs-directory.png +0 -0
- data/sample/gtk-demo/gnome-fs-regular.png +0 -0
- data/sample/gtk-demo/gnome-gimp.png +0 -0
- data/sample/gtk-demo/gnome-gmush.png +0 -0
- data/sample/gtk-demo/gnome-gsame.png +0 -0
- data/sample/gtk-demo/gnu-keys.png +0 -0
- data/sample/gtk-demo/gtk-logo-rgb.gif +0 -0
- data/sample/gtk-demo/hypertext.rb +211 -0
- data/sample/gtk-demo/iconview.rb +109 -0
- data/sample/gtk-demo/images.rb +197 -0
- data/sample/gtk-demo/item_factory.rb +94 -0
- data/sample/gtk-demo/list_store.rb +138 -0
- data/sample/gtk-demo/main.rb +386 -0
- data/sample/gtk-demo/menus.rb +172 -0
- data/sample/gtk-demo/panes.rb +156 -0
- data/sample/gtk-demo/pixbufs.rb +176 -0
- data/sample/gtk-demo/printing.rb +128 -0
- data/sample/gtk-demo/rotated_text.rb +84 -0
- data/sample/gtk-demo/ruby-gnome2-logo.png +0 -0
- data/sample/gtk-demo/sizegroup.rb +118 -0
- data/sample/gtk-demo/stock_browser.rb +235 -0
- data/sample/gtk-demo/textview.rb +436 -0
- data/sample/gtk-demo/tree_store.rb +270 -0
- data/sample/misc/aboutdialog.rb +42 -0
- data/sample/misc/aboutdialog2.rb +42 -0
- data/sample/misc/alpha-demo.rb +70 -0
- data/sample/misc/assistant.rb +347 -0
- data/sample/misc/bindings.rb +107 -0
- data/sample/misc/button.rb +69 -0
- data/sample/misc/button2.rb +28 -0
- data/sample/misc/buttonbox.rb +93 -0
- data/sample/misc/cairo-pong.rb +215 -0
- data/sample/misc/calendar.rb +62 -0
- data/sample/misc/checkbutton.rb +46 -0
- data/sample/misc/colorselection.rb +25 -0
- data/sample/misc/combo_check.rb +71 -0
- data/sample/misc/combobox.rb +86 -0
- data/sample/misc/composited-windows.rb +113 -0
- data/sample/misc/cursor.rb +32 -0
- data/sample/misc/dialog.rb +44 -0
- data/sample/misc/dialog2.rb +39 -0
- data/sample/misc/dnd.rb +65 -0
- data/sample/misc/dndtreeview.rb +56 -0
- data/sample/misc/drag-move.rb +131 -0
- data/sample/misc/drawing.rb +90 -0
- data/sample/misc/entry.rb +34 -0
- data/sample/misc/entrycompletion.rb +39 -0
- data/sample/misc/expander.rb +27 -0
- data/sample/misc/filechooser.rb +49 -0
- data/sample/misc/fileselection.rb +26 -0
- data/sample/misc/frame.rb +69 -0
- data/sample/misc/gc.rb +59 -0
- data/sample/misc/gdkscreen.rb +32 -0
- data/sample/misc/gnome-logo-icon.png +0 -0
- data/sample/misc/helloworld.rb +35 -0
- data/sample/misc/iconview.rb +38 -0
- data/sample/misc/image.rb +42 -0
- data/sample/misc/infobar.rb +24 -0
- data/sample/misc/itemfactory.rb +73 -0
- data/sample/misc/itemfactory2.rb +74 -0
- data/sample/misc/keyboard_grab.rb +29 -0
- data/sample/misc/label.rb +33 -0
- data/sample/misc/linkbutton.rb +42 -0
- data/sample/misc/listview.rb +92 -0
- data/sample/misc/menu.rb +81 -0
- data/sample/misc/misc_button.rb +59 -0
- data/sample/misc/mouse-gesture.rb +465 -0
- data/sample/misc/pangorenderer.rb +66 -0
- data/sample/misc/pointer_grab.rb +34 -0
- data/sample/misc/print.rb +247 -0
- data/sample/misc/properties.rb +85 -0
- data/sample/misc/radiobutton.rb +47 -0
- data/sample/misc/recentchooserdialog.rb +59 -0
- data/sample/misc/rgtk+cairo.rb +44 -0
- data/sample/misc/scalebutton.rb +25 -0
- data/sample/misc/settings.rb +41 -0
- data/sample/misc/statusicon.rb +123 -0
- data/sample/misc/stock.rb +36 -0
- data/sample/misc/style_property.rb +67 -0
- data/sample/misc/style_property.rc +19 -0
- data/sample/misc/t-gtkplug.rb +58 -0
- data/sample/misc/t-gtksocket.rb +65 -0
- data/sample/misc/test.xpm +92 -0
- data/sample/misc/textbuffer_serialize.rb +130 -0
- data/sample/misc/threads.rb +72 -0
- data/sample/misc/to_drawable.rb +42 -0
- data/sample/misc/togglebutton.rb +34 -0
- data/sample/misc/toolbar.rb +55 -0
- data/sample/misc/tooltips.rb +204 -0
- data/sample/misc/tree_combo.rb +85 -0
- data/sample/misc/tree_progress.rb +69 -0
- data/sample/misc/treemodelfilter.rb +55 -0
- data/sample/misc/treeview.rb +71 -0
- data/sample/misc/uimanager.rb +148 -0
- data/sample/misc/uimanager2.rb +91 -0
- data/sample/misc/uimanager2.xml +36 -0
- data/sample/misc/window.rb +24 -0
- data/sample/misc/xbm_cursor.rb +43 -0
- data/sample/testgtk/3DRings.xpm +116 -0
- data/sample/testgtk/FilesQueue.xpm +98 -0
- data/sample/testgtk/Modeller.xpm +117 -0
- data/sample/testgtk/README +14 -0
- data/sample/testgtk/button.rb +133 -0
- data/sample/testgtk/buttonbox.rb +108 -0
- data/sample/testgtk/check-n.xpm +21 -0
- data/sample/testgtk/check-y.xpm +21 -0
- data/sample/testgtk/checkbutton.rb +67 -0
- data/sample/testgtk/circles.xbm +46 -0
- data/sample/testgtk/colorselect.rb +33 -0
- data/sample/testgtk/dialog.rb +47 -0
- data/sample/testgtk/entry.rb +73 -0
- data/sample/testgtk/filesel.rb +67 -0
- data/sample/testgtk/fontselection.rb +56 -0
- data/sample/testgtk/gammacurve.rb +70 -0
- data/sample/testgtk/labels.rb +74 -0
- data/sample/testgtk/layout.rb +108 -0
- data/sample/testgtk/marble.xpm +408 -0
- data/sample/testgtk/menu.rb +79 -0
- data/sample/testgtk/notebook.rb +281 -0
- data/sample/testgtk/pixmap.rb +58 -0
- data/sample/testgtk/progressbar.rb +181 -0
- data/sample/testgtk/radiobutton.rb +61 -0
- data/sample/testgtk/range.rb +65 -0
- data/sample/testgtk/reparent.rb +91 -0
- data/sample/testgtk/rulers.rb +46 -0
- data/sample/testgtk/sample.rb +80 -0
- data/sample/testgtk/savedposition.rb +87 -0
- data/sample/testgtk/scrolledwindow.rb +67 -0
- data/sample/testgtk/shapedwindow.rb +99 -0
- data/sample/testgtk/spinbutton.rb +181 -0
- data/sample/testgtk/statusbar.rb +89 -0
- data/sample/testgtk/test.xpm +92 -0
- data/sample/testgtk/testgtk.rb +181 -0
- data/sample/testgtk/testgtkrc +146 -0
- data/sample/testgtk/testgtkrc2 +21 -0
- data/sample/testgtk/togglebutton.rb +53 -0
- data/sample/testgtk/toolbar.rb +82 -0
- data/sample/testgtk/tooltips.rb +41 -0
- data/sample/testgtk/wmhints.rb +40 -0
- data/test/gtk-test-utils.rb +15 -0
- data/test/run-test.rb +32 -0
- data/test/test_gc.rb +25 -0
- data/test/test_gdk.rb +18 -0
- data/test/test_gdk_color.rb +10 -0
- data/test/test_gdk_display.rb +37 -0
- data/test/test_gdk_event.rb +23 -0
- data/test/test_gdk_gc.rb +7 -0
- data/test/test_gdk_geometry.rb +24 -0
- data/test/test_gdk_keymap.rb +8 -0
- data/test/test_gdk_pango.rb +9 -0
- data/test/test_gdk_pixbuf.rb +34 -0
- data/test/test_gdk_rectangle.rb +24 -0
- data/test/test_gdk_selection_data.rb +17 -0
- data/test/test_gdk_window.rb +37 -0
- data/test/test_gdk_window_attribute.rb +9 -0
- data/test/test_gtk_about_dialog.rb +14 -0
- data/test/test_gtk_accel_group_entry.rb +24 -0
- data/test/test_gtk_accel_key.rb +24 -0
- data/test/test_gtk_allocation.rb +24 -0
- data/test/test_gtk_border.rb +24 -0
- data/test/test_gtk_buildable.rb +66 -0
- data/test/test_gtk_builder.rb +188 -0
- data/test/test_gtk_entry.rb +18 -0
- data/test/test_gtk_icon_theme.rb +35 -0
- data/test/test_gtk_image.rb +8 -0
- data/test/test_gtk_infobar.rb +29 -0
- data/test/test_gtk_list_store.rb +92 -0
- data/test/test_gtk_menu_item.rb +13 -0
- data/test/test_gtk_rc_style.rb +14 -0
- data/test/test_gtk_recent_data.rb +24 -0
- data/test/test_gtk_recent_filter_info.rb +26 -0
- data/test/test_gtk_tree_path.rb +20 -0
- data/test/test_gtk_unix_print.rb +14 -0
- data/test/test_gtk_widget.rb +32 -0
- data/vendor/local/bin/gtk-builder-convert +799 -0
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/etc/gtk-2.0/gtkrc +1 -0
- data/vendor/local/etc/gtk-2.0/im-multipress.conf +22 -0
- data/vendor/local/include/gail-1.0/gail/gailwidget.h +65 -0
- data/vendor/local/include/gail-1.0/libgail-util/gail-util.h +2 -0
- data/vendor/local/include/gail-1.0/libgail-util/gailmisc.h +82 -0
- data/vendor/local/include/gail-1.0/libgail-util/gailtextutil.h +87 -0
- data/vendor/local/include/gtk-2.0/gdk/gdk.h +241 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h +76 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +59 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkcolor.h +176 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkcursor.h +168 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +229 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplaymanager.h +67 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +186 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +436 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkenumtypes.h +137 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkevents.h +566 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +138 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkgc.h +298 -0
- data/vendor/local/include/gtk-2.0/gdk/gdki18n.h +59 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkimage.h +145 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +192 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkkeys.h +134 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkkeysyms-compat.h +2208 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkkeysyms.h +2221 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpango.h +166 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixbuf.h +115 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +136 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkprivate.h +60 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +128 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkregion.h +127 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkrgb.h +149 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkscreen.h +132 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkselection.h +111 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +64 -0
- data/vendor/local/include/gtk-2.0/gdk/gdktestutils.h +49 -0
- data/vendor/local/include/gtk-2.0/gdk/gdktypes.h +226 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkvisual.h +147 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +129 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +743 -0
- data/vendor/local/include/gtk-2.0/gtk/gtk.h +248 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +157 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaccelgroup.h +216 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaccellabel.h +114 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaccelmap.h +101 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaccessible.h +80 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaction.h +180 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkactiongroup.h +184 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkactivatable.h +88 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkadjustment.h +121 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkalignment.h +94 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkarrow.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaspectframe.h +84 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkassistant.h +176 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbbox.h +105 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbin.h +70 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbindings.h +158 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbox.h +159 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbuildable.h +176 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbuilder.h +143 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkbutton.h +147 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcalendar.h +209 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcelleditable.h +64 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcelllayout.h +122 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderer.h +195 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendereraccel.h +92 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderercombo.h +64 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererpixbuf.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererprogress.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererspin.h +57 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrendererspinner.h +67 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderertext.h +105 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellrenderertoggle.h +85 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcellview.h +81 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcheckbutton.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcheckmenuitem.h +102 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkclipboard.h +157 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkclist.h +792 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorbutton.h +103 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorsel.h +135 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorseldialog.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcombo.h +118 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +153 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +81 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcontainer.h +229 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkctree.h +445 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcurve.h +106 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkdebug.h +79 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkdialog.h +186 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkdnd.h +188 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkdrawingarea.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkeditable.h +117 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkentry.h +334 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkentrybuffer.h +133 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkentrycompletion.h +132 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkenums.h +584 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkeventbox.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkexpander.h +98 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooser.h +264 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h +92 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserdialog.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserwidget.h +67 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilefilter.h +83 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfilesel.h +125 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfixed.h +90 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfontbutton.h +100 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkfontsel.h +220 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkframe.h +96 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkgamma.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkgc.h +49 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhandlebox.h +112 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhbbox.h +80 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhbox.h +68 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhpaned.h +65 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +84 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhscale.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhscrollbar.h +70 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhseparator.h +68 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkhsv.h +115 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkiconfactory.h +189 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkicontheme.h +198 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkiconview.h +242 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimage.h +274 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimagemenuitem.h +86 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimcontext.h +132 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimcontextsimple.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimmodule.h +58 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkimmulticontext.h +78 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkinfobar.h +120 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkinputdialog.h +100 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkinvisible.h +78 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkitem.h +81 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkitemfactory.h +236 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklabel.h +207 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklayout.h +138 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +91 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklist.h +138 -0
- data/vendor/local/include/gtk-2.0/gtk/gtklistitem.h +91 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkliststore.h +147 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +233 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmarshal.h +283 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenu.h +219 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenubar.h +92 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenuitem.h +145 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenushell.h +141 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h +89 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmessagedialog.h +135 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmisc.h +85 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmodules.h +54 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkmountoperation.h +83 -0
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +317 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkobject.h +250 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkoffscreenwindow.h +60 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkoldeditable.h +126 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkoptionmenu.h +88 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkorientable.h +60 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpagesetup.h +108 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpaned.h +144 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpapersize.h +101 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpixmap.h +83 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkplug.h +105 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkpreview.h +137 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprintcontext.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprintoperation.h +207 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprintoperationpreview.h +80 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprintsettings.h +234 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprivate.h +157 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprogress.h +120 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkprogressbar.h +172 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkradioaction.h +90 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkradiobutton.h +94 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkradiomenuitem.h +94 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkradiotoolbutton.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +215 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrc.h +271 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentaction.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooser.h +191 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooserdialog.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchoosermenu.h +74 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentchooserwidget.h +64 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentfilter.h +94 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentmanager.h +216 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +136 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkscale.h +111 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkscalebutton.h +112 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkscrollbar.h +72 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkscrolledwindow.h +136 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkselection.h +221 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkseparator.h +66 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkseparatormenuitem.h +68 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkseparatortoolitem.h +72 -0
- data/vendor/local/include/gtk-2.0/gtk/gtksettings.h +139 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkshow.h +39 -0
- data/vendor/local/include/gtk-2.0/gtk/gtksignal.h +151 -0
- data/vendor/local/include/gtk-2.0/gtk/gtksizegroup.h +111 -0
- data/vendor/local/include/gtk-2.0/gtk/gtksocket.h +102 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkspinbutton.h +196 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkspinner.h +65 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstatusbar.h +117 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstatusicon.h +157 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstock.h +1016 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstyle.h +945 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktable.h +151 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktearoffmenuitem.h +75 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktestutils.h +71 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktext.h +217 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextbuffer.h +409 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextbufferrichtext.h +96 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextchild.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextdisplay.h +112 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextiter.h +307 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextlayout.h +439 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextmark.h +106 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktexttag.h +289 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktexttagtable.h +101 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktextview.h +376 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktipsquery.h +110 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoggleaction.h +91 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktogglebutton.h +97 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoggletoolbutton.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolbar.h +288 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolbutton.h +99 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolitem.h +142 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolitemgroup.h +99 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolpalette.h +144 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktoolshell.h +91 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktooltip.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktooltips.h +109 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktree.h +132 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreednd.h +125 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreeitem.h +90 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodel.h +270 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodelfilter.h +109 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreemodelsort.h +106 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreeselection.h +125 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreesortable.h +103 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreestore.h +159 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreeview.h +431 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktreeviewcolumn.h +245 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypebuiltins.h +335 -0
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +264 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkuimanager.h +153 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvbbox.h +82 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvbox.h +68 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +51 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkviewport.h +93 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvolumebutton.h +72 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvpaned.h +65 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +84 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvscale.h +79 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvscrollbar.h +76 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkvseparator.h +76 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +1351 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +452 -0
- data/vendor/local/lib/gailutil.def +15 -0
- data/vendor/local/lib/gdk-win32-2.0.def +744 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libpixmap.la +41 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/engines/libwimp.la +41 -0
- data/vendor/local/lib/gtk-2.0/2.10.0/immodules.cache +7 -0
- data/vendor/local/lib/gtk-2.0/include/gdkconfig.h +34 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll.a +0 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.la +41 -0
- data/vendor/local/lib/gtk-win32-2.0.def +3833 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgailutil.la +41 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.la +41 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.la +41 -0
- data/vendor/local/lib/pkgconfig/gail.pc +11 -0
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +12 -0
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +15 -0
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +15 -0
- data/vendor/local/share/aclocal/gtk-2.0.m4 +196 -0
- data/vendor/local/share/gtk-2.0/demo/alphatest.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/apple-red.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/appwindow.c +591 -0
- data/vendor/local/share/gtk-2.0/demo/assistant.c +216 -0
- data/vendor/local/share/gtk-2.0/demo/background.jpg +0 -0
- data/vendor/local/share/gtk-2.0/demo/builder.c +68 -0
- data/vendor/local/share/gtk-2.0/demo/button_box.c +127 -0
- data/vendor/local/share/gtk-2.0/demo/changedisplay.c +646 -0
- data/vendor/local/share/gtk-2.0/demo/clipboard.c +326 -0
- data/vendor/local/share/gtk-2.0/demo/colorsel.c +145 -0
- data/vendor/local/share/gtk-2.0/demo/combobox.c +454 -0
- data/vendor/local/share/gtk-2.0/demo/demo.ui +258 -0
- data/vendor/local/share/gtk-2.0/demo/dialog.c +181 -0
- data/vendor/local/share/gtk-2.0/demo/drawingarea.c +314 -0
- data/vendor/local/share/gtk-2.0/demo/editable_cells.c +393 -0
- data/vendor/local/share/gtk-2.0/demo/entry_buffer.c +65 -0
- data/vendor/local/share/gtk-2.0/demo/entry_completion.c +97 -0
- data/vendor/local/share/gtk-2.0/demo/expander.c +58 -0
- data/vendor/local/share/gtk-2.0/demo/floppybuddy.gif +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-applets.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-calendar.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-foot.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-fs-directory.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-fs-regular.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-gimp.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-gmush.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnome-gsame.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gnu-keys.png +0 -0
- data/vendor/local/share/gtk-2.0/demo/gtk-logo-rgb.gif +0 -0
- data/vendor/local/share/gtk-2.0/demo/hypertext.c +315 -0
- data/vendor/local/share/gtk-2.0/demo/iconview.c +372 -0
- data/vendor/local/share/gtk-2.0/demo/iconview_edit.c +159 -0
- data/vendor/local/share/gtk-2.0/demo/images.c +464 -0
- data/vendor/local/share/gtk-2.0/demo/infobar.c +104 -0
- data/vendor/local/share/gtk-2.0/demo/links.c +84 -0
- data/vendor/local/share/gtk-2.0/demo/list_store.c +295 -0
- data/vendor/local/share/gtk-2.0/demo/menus.c +210 -0
- data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +587 -0
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +510 -0
- data/vendor/local/share/gtk-2.0/demo/panes.c +197 -0
- data/vendor/local/share/gtk-2.0/demo/pickers.c +73 -0
- data/vendor/local/share/gtk-2.0/demo/pixbufs.c +270 -0
- data/vendor/local/share/gtk-2.0/demo/printing.c +212 -0
- data/vendor/local/share/gtk-2.0/demo/rotated_text.c +241 -0
- data/vendor/local/share/gtk-2.0/demo/search_entry.c +335 -0
- data/vendor/local/share/gtk-2.0/demo/sizegroup.c +167 -0
- data/vendor/local/share/gtk-2.0/demo/spinner.c +94 -0
- data/vendor/local/share/gtk-2.0/demo/stock_browser.c +546 -0
- data/vendor/local/share/gtk-2.0/demo/textscroll.c +200 -0
- data/vendor/local/share/gtk-2.0/demo/textview.c +569 -0
- data/vendor/local/share/gtk-2.0/demo/toolpalette.c +799 -0
- data/vendor/local/share/gtk-2.0/demo/tree_store.c +450 -0
- data/vendor/local/share/gtk-2.0/demo/ui_manager.c +237 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +574 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +361 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +27 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +44 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.sgml +27 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +41 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplay.html +1796 -0
- data/vendor/local/share/gtk-doc/html/gdk2/GdkDisplayManager.html +355 -0
- data/vendor/local/share/gtk-doc/html/gdk2/GdkScreen.html +2067 -0
- data/vendor/local/share/gtk-doc/html/gdk2/X_cursor.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/annotation-glossary.html +62 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-10.html +118 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-12.html +119 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-14.html +119 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-16.html +39 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-18.html +104 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-2.html +510 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-20.html +46 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-22.html +219 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-4.html +118 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-6.html +123 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-2-8.html +110 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-deprecated.html +1047 -0
- data/vendor/local/share/gtk-doc/html/gdk2/api-index-full.html +3665 -0
- data/vendor/local/share/gtk-doc/html/gdk2/arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/based_arrow_down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/based_arrow_up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/boat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/bogosity.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/bottom_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/bottom_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/bottom_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/bottom_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/box_spiral.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/center_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/circle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/clock.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/coffee_mug.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/cross_reverse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/crosshair.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/diamond_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/dot.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/dotbox.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/draft_large.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/draft_small.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/draped_box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/exchange.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/fleur.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Application-launching.html +412 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Bitmaps-and-Pixmaps.html +753 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cairo-Interaction.html +541 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Colormaps-and-Colors.html +1295 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Cursors.html +1290 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drag-and-Drop.html +1217 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Drawing-Primitives.html +2611 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Event-Structures.html +2095 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Events.html +1650 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Fonts.html +1781 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-GdkRGB.html +1435 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-General.html +1169 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Graphics-Contexts.html +2201 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Images.html +1090 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input-Devices.html +1288 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Input.html +401 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Keyboard-Handling.html +1362 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pango-Interaction.html +1074 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Pixbufs.html +744 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Points-Rectangles-and-Regions.html +1367 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Properties-and-Atoms.html +1314 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Selections.html +845 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Testing.html +276 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Threads.html +1053 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Visuals.html +1085 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-Windows.html +8583 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2-X-Window-System-Interaction.html +3528 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gdk2.devhelp2 +949 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gobbler.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/gumby.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/hand1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/hand2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/heart.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/icon.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/index.html +143 -0
- data/vendor/local/share/gtk-doc/html/gdk2/index.sgml +1151 -0
- data/vendor/local/share/gtk-doc/html/gdk2/iron_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/left_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/left_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/left_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/leftbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/ll_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/lr_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/man.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/middlebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/mouse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/multihead.html +204 -0
- data/vendor/local/share/gtk-doc/html/gdk2/pencil.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/pirate.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/plus.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/question_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/reference.html +131 -0
- data/vendor/local/share/gtk-doc/html/gdk2/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/right_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/right_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/right_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/rightbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/rotated-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/rtl_logo.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/sailboat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/sb_down_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/sb_h_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/sb_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/sb_right_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/sb_up_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/sb_v_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/shuttle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/sizing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/spider.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/spraycan.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/star.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gdk2/target.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/tcross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/top_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/top_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/top_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/top_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/top_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/trek.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/ul_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/umbrella.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/ur_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/watch.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk2/xterm.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/AbstractObjects.html +77 -0
- data/vendor/local/share/gtk-doc/html/gtk2/Actions.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk2/Builder.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk2/ButtonWidgets.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk2/DeprecatedObjects.html +83 -0
- data/vendor/local/share/gtk-doc/html/gtk2/DisplayWidgets.html +56 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAboutDialog.html +1891 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccelLabel.html +437 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAccessible.html +199 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAction.html +2264 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActionGroup.html +1631 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkActivatable.html +924 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAdjustment.html +1102 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAlignment.html +491 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkArrow.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAspectFrame.html +308 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkAssistant.html +1575 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBin.html +152 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBox.html +1043 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuildable.html +801 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkBuilder.html +1339 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButton.html +1634 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkButtonBox.html +776 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCList.html +5399 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCTree.html +3279 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCalendar.html +1463 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellEditable.html +362 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellLayout.html +702 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRenderer.html +1492 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererAccel.html +350 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererCombo.html +282 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererPixbuf.html +278 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererProgress.html +243 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpin.html +196 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererSpinner.html +186 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererText.html +868 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellRendererToggle.html +493 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCellView.html +612 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCheckButton.html +283 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorButton.html +615 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelection.html +1120 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkColorSelectionDialog.html +302 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCombo.html +678 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBox.html +2138 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxEntry.html +374 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkComboBoxText.html +414 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkContainer.html +2054 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkCurve.html +591 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDialog.html +1627 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkDrawingArea.html +287 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEditable.html +896 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntry.html +4578 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryBuffer.html +792 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEntryCompletion.html +1574 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkEventBox.html +362 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkExpander.html +1024 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooser.html +4065 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserButton.html +666 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserDialog.html +353 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileChooserWidget.html +211 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFileSelection.html +740 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFixed.html +419 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontButton.html +804 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelection.html +728 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFontSelectionDialog.html +546 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkFrame.html +610 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkGammaCurve.html +144 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHBox.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHButtonBox.html +287 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHPaned.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHRuler.html +143 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSV.html +605 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScale.html +210 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHScrollbar.html +150 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHSeparator.html +150 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkHandleBox.html +665 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContext.html +1204 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMContextSimple.html +186 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIMMulticontext.html +231 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconTheme.html +1796 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkIconView.html +3740 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImage.html +1961 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkImageMenuItem.html +613 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInfoBar.html +908 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInputDialog.html +255 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkInvisible.html +267 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItem.html +350 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkItemFactory.html +1537 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLabel.html +2825 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLayout.html +797 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkLinkButton.html +520 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkList.html +1370 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListItem.html +652 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkListStore.html +1361 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenu.html +1887 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuBar.html +555 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuItem.html +1279 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuShell.html +1028 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMenuToolButton.html +561 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMessageDialog.html +945 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkMisc.html +411 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkNotebook.html +3748 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkObject.html +1672 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOffscreenWindow.html +221 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOldEditable.html +756 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkOptionMenu.html +477 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetup.html +1278 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPageSetupUnixDialog.html +312 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaned.html +1032 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPaperSize.html +1172 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPixmap.html +306 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPlug.html +496 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPreview.html +822 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintContext.html +655 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintJob.html +725 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintSettings.html +3872 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrintUnixDialog.html +1143 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkPrinter.html +1321 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgress.html +766 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkProgressBar.html +1179 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioAction.html +480 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioButton.html +681 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioMenuItem.html +609 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRadioToolButton.html +432 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRange.html +1913 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentAction.html +338 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooser.html +1919 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserDialog.html +260 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserMenu.html +313 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentChooserWidget.html +182 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentFilter.html +823 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRecentManager.html +2084 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkRuler.html +444 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScale.html +724 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScaleButton.html +783 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrollbar.html +232 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkScrolledWindow.html +1035 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparator.html +96 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorMenuItem.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSeparatorToolItem.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSettings.html +1679 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSizeGroup.html +579 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSocket.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinButton.html +1793 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkSpinner.html +265 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusIcon.html +2339 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStatusbar.html +662 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkStyle.html +5004 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTable.html +1081 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTearoffMenuItem.html +158 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkText.html +900 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextBuffer.html +4895 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextIter.html +4244 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextMark.html +444 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTag.html +1680 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextTagTable.html +516 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTextView.html +4124 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTipsQuery.html +625 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleAction.html +440 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleButton.html +698 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToggleToolButton.html +359 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolButton.html +929 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItem.html +1599 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolItemGroup.html +1025 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolPalette.html +1314 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolShell.html +532 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkToolbar.html +2507 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltip.html +554 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTooltips.html +548 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTree.html +1060 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeItem.html +361 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModel.html +3330 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelFilter.html +885 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeModelSort.html +697 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSelection.html +1144 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeSortable.html +595 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeStore.html +1384 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeView.html +6534 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkTreeViewColumn.html +2679 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkUIManager.html +1631 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVBox.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVButtonBox.html +259 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVPaned.html +123 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVRuler.html +135 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScale.html +202 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVScrollbar.html +144 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVSeparator.html +125 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkViewport.html +564 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkVolumeButton.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWidget.html +13779 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindow.html +5354 -0
- data/vendor/local/share/gtk-doc/html/gtk2/GtkWindowGroup.html +246 -0
- data/vendor/local/share/gtk-doc/html/gtk2/LayoutContainers.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtk2/MenusAndCombos.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtk2/MiscObjects.html +68 -0
- data/vendor/local/share/gtk-doc/html/gtk2/NumericEntry.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk2/Ornaments.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk2/PlugSocket.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk2/Printing.html +59 -0
- data/vendor/local/share/gtk-doc/html/gtk2/RecentDocuments.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtk2/ScrollingWidgets.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk2/SelectorWidgets.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtk2/SpecialObjects.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidget.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk2/TextWidgetObjects.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidget.html +556 -0
- data/vendor/local/share/gtk-doc/html/gtk2/TreeWidgetObjects.html +104 -0
- data/vendor/local/share/gtk-doc/html/gtk2/WindowWidgets.html +57 -0
- data/vendor/local/share/gtk-doc/html/gtk2/aboutdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/accel-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/annotation-glossary.html +69 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-10.html +2090 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-12.html +785 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-14.html +781 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-16.html +597 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-18.html +513 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-2.html +286 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-20.html +460 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-22.html +176 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-24.html +131 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-4.html +1853 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-6.html +1085 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-2-8.html +381 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-deprecated.html +3531 -0
- data/vendor/local/share/gtk-doc/html/gtk2/api-index-full.html +22945 -0
- data/vendor/local/share/gtk-doc/html/gtk2/application-exit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/assistant.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/ch01.html +246 -0
- data/vendor/local/share/gtk-doc/html/gtk2/ch02.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtk2/chap-drawing-model.html +496 -0
- data/vendor/local/share/gtk-doc/html/gtk2/check-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/checklist-gdkeventexpose-region.html +84 -0
- data/vendor/local/share/gtk-doc/html/gtk2/checklist-modifiers.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk2/checklist-named-icons.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk2/color-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/colorsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/combo-box-entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/combo-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/decorating-the-assistant-pages.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtk2/dialog-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/dialog-information.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/dialog-password.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/dialog-question.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/dialog-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-new.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-open.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-print-preview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-print.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-properties.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-revert-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-revert-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-save-as.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/document-save.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/drive-harddisk.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-clear.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-copy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-cut.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-delete.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-find-replace.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-find.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-paste.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-redo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-redo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-select-all.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-undo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/edit-undo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/figure-hierarchical-drawing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/figure-windowed-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/file-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/filechooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/folder.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/font-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/fontsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-indent-less-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-indent-less-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-indent-more-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-indent-more-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-justify-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-justify-fill.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-justify-left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-justify-right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-text-bold.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-text-italic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-text-strikethrough.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/format-text-underline.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/frame.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/glossary.html +335 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-bottom.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-first-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-first-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-jump-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-jump-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-last-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-last-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-next-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-next-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-previous-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-previous-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-top.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/go-up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-apply.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-builder-convert.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-building.html +441 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-cancel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-caps-lock-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-1-2.html +568 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-changes-2-0.html +1175 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-color-picker.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-compiling.html +111 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-connect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-convert.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-directfb.html +60 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-disconnect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-dnd-multiple.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-dnd.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-edit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-font.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-index.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-ClientSideWindows.html +85 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAboutDialog.html +160 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAction.html +91 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkAssistant.html +102 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkBuilder.html +118 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkColorButton.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkComboBox.html +256 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkFileChooser.html +80 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkIconView.html +264 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkLinkButton.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-GtkRecentChooser.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-checklist.html +157 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-entry-icons.html +293 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-label-links.html +45 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-migrating-tooltips.html +124 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-no.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-ok.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-orientation-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-orientation-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-orientation-reverse-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-orientation-reverse-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-osx.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-page-setup.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-preferences.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-query-immodules-2.0.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-question-index.html +1427 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-resources.html +146 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-running.html +348 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-select-color.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-undelete-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-undelete-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-update-icon-cache.html +114 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-windows.html +87 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-x11.html +134 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk-yes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk.html +162 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Accelerator-Maps.html +744 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Bindings.html +1146 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Clipboards.html +2018 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Drag-and-Drop.html +1962 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Feature-Test-Macros.html +358 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Filesystem-utilities.html +454 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-General.html +2349 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Graphics-Contexts.html +165 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-GtkTreeView-drag-and-drop.html +566 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-High-level-Printing-API.html +3267 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Keyboard-Accelerators.html +1329 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Orientable.html +219 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Resource-Files.html +2234 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Selections.html +2236 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Signals.html +1991 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Standard-Enumerations.html +2183 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Stock-Items.html +1724 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Testing.html +833 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Themeable-Stock-Images.html +1998 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-Types.html +2138 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkcheckmenuitem.html +693 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2-gtkfilefilter.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtk2.devhelp2 +6133 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtkbase.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-installing-extra-widgets.html +40 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-installing-preview.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-new-features.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtkfilechooser-selection-modes.html +51 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtkobjects.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-advanced.html +206 -0
- data/vendor/local/share/gtk-doc/html/gtk2/gtkrecent-chooser.html +97 -0
- data/vendor/local/share/gtk-doc/html/gtk2/help-about.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/help-contents.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/icon-view.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/image-missing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/image.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/index.html +875 -0
- data/vendor/local/share/gtk-doc/html/gtk2/index.sgml +8276 -0
- data/vendor/local/share/gtk-doc/html/gtk2/label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/layout-btlr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/layout-btrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/layout-lrbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/layout-lrtb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/layout-rlbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/layout-rltb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/layout-tblr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/layout-tbrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/left-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/link-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/list-add.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/list-and-tree.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/list-remove.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-floppy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-optical.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-playback-pause.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-playback-start-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-playback-start-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-playback-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-record.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-seek-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-seek-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-seek-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-seek-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-skip-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-skip-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-skip-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/media-skip-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/menubar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/messagedialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-GtkCombo.html +94 -0
- data/vendor/local/share/gtk-doc/html/gtk2/migrating-gnomeuiinfo.html +351 -0
- data/vendor/local/share/gtk-doc/html/gtk2/migrating.html +104 -0
- data/vendor/local/share/gtk-doc/html/gtk2/multiline-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/network-idle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/new-features-GtkComboBox.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtk2/notebook.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/pagesetupdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/panes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/printdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/printer-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/printer-info.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/printer-paused.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/printer-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/process-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/progressbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/pt05.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtk2/radio-group.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/recentchooserdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/right-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/scales.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/scrolledwindow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/separator.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/setting-the-page-flow.html +77 -0
- data/vendor/local/share/gtk-doc/html/gtk2/spinbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/spinner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/statusbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/style.css +476 -0
- data/vendor/local/share/gtk-doc/html/gtk2/system-run.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/text-x-generic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/toggle-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/toolbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/toolpalette.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/tools-check-spelling.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/tree-view-coordinates.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/ui-manager.html +45 -0
- data/vendor/local/share/gtk-doc/html/gtk2/up-insensitive.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/view-fullscreen.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/view-refresh.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/view-restore.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/view-sort-ascending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/view-sort-descending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/volumebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/window-close.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/window.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/zoom-fit-best.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/zoom-in.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/zoom-original.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk2/zoom-out.png +0 -0
- data/vendor/local/share/icons/hicolor/index.theme +1830 -0
- data/vendor/local/share/license/gtk+/AUTHORS +65 -0
- data/vendor/local/share/license/gtk+/COPYING +482 -0
- data/vendor/local/share/license/hicolor-icon-theme/COPYING +345 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/af/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/am/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ang/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/az_IR/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/br/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/crh/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ga/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ia/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/io/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/is/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/li/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ms/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/my/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nds/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/nso/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/rw/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/si/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/tk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/ur/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/uz/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/uz@cyrillic/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/wa/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/yi/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/themes/Default/gtk-2.0-key/gtkrc +3 -0
- data/vendor/local/share/themes/Emacs/gtk-2.0-key/gtkrc +113 -0
- data/vendor/local/share/themes/MS-Windows/gtk-2.0/gtkrc +66 -0
- data/vendor/local/share/themes/Raleigh/gtk-2.0/gtkrc +3 -0
- metadata +1750 -0
@@ -0,0 +1,4065 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GTK+ 2 Reference Manual: GtkFileChooser</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
|
7
|
+
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
|
+
<link rel="up" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
|
9
|
+
<link rel="prev" href="GtkHSV.html" title="GtkHSV">
|
10
|
+
<link rel="next" href="GtkFileChooserButton.html" title="GtkFileChooserButton">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.21.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="5"><tr valign="middle">
|
16
|
+
<td width="100%" align="left" class="shortcuts">
|
17
|
+
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
|
18
|
+
<a href="#GtkFileChooser.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
|
19
|
+
<a href="#GtkFileChooser.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites"> <span class="dim">|</span>
|
20
|
+
<a href="#GtkFileChooser.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations"> <span class="dim">|</span>
|
21
|
+
<a href="#GtkFileChooser.implementations" class="shortcut">Known Implementations</a></span><span id="nav_properties"> <span class="dim">|</span>
|
22
|
+
<a href="#GtkFileChooser.properties" class="shortcut">Properties</a></span><span id="nav_signals"> <span class="dim">|</span>
|
23
|
+
<a href="#GtkFileChooser.signals" class="shortcut">Signals</a></span>
|
24
|
+
</td>
|
25
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
26
|
+
<td><a accesskey="u" href="SelectorWidgets.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
27
|
+
<td><a accesskey="p" href="GtkHSV.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
28
|
+
<td><a accesskey="n" href="GtkFileChooserButton.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
29
|
+
</tr></table>
|
30
|
+
<div class="refentry">
|
31
|
+
<a name="GtkFileChooser"></a><div class="titlepage"></div>
|
32
|
+
<div class="refnamediv"><table width="100%"><tr>
|
33
|
+
<td valign="top">
|
34
|
+
<h2><span class="refentrytitle"><a name="GtkFileChooser.top_of_page"></a>GtkFileChooser</span></h2>
|
35
|
+
<p>GtkFileChooser — File chooser interface used by GtkFileChooserWidget and GtkFileChooserDialog</p>
|
36
|
+
</td>
|
37
|
+
<td class="gallery_image" valign="top" align="right"></td>
|
38
|
+
</tr></table></div>
|
39
|
+
<div class="refsect1">
|
40
|
+
<a name="GtkFileChooser.functions"></a><h2>Functions</h2>
|
41
|
+
<div class="informaltable"><table width="100%" border="0">
|
42
|
+
<colgroup>
|
43
|
+
<col width="150px" class="functions_return">
|
44
|
+
<col class="functions_name">
|
45
|
+
</colgroup>
|
46
|
+
<tbody>
|
47
|
+
<tr>
|
48
|
+
<td class="define_keyword">#define</td>
|
49
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ERROR:CAPS" title="GTK_FILE_CHOOSER_ERROR">GTK_FILE_CHOOSER_ERROR</a></td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="function_type">
|
53
|
+
<span class="returnvalue">void</span>
|
54
|
+
</td>
|
55
|
+
<td class="function_name">
|
56
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-action" title="gtk_file_chooser_set_action ()">gtk_file_chooser_set_action</a> <span class="c_punctuation">()</span>
|
57
|
+
</td>
|
58
|
+
</tr>
|
59
|
+
<tr>
|
60
|
+
<td class="function_type">
|
61
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="returnvalue">GtkFileChooserAction</span></a>
|
62
|
+
</td>
|
63
|
+
<td class="function_name">
|
64
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-action" title="gtk_file_chooser_get_action ()">gtk_file_chooser_get_action</a> <span class="c_punctuation">()</span>
|
65
|
+
</td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="function_type">
|
69
|
+
<span class="returnvalue">void</span>
|
70
|
+
</td>
|
71
|
+
<td class="function_name">
|
72
|
+
<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> <span class="c_punctuation">()</span>
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
<tr>
|
76
|
+
<td class="function_type">
|
77
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
78
|
+
</td>
|
79
|
+
<td class="function_name">
|
80
|
+
<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> <span class="c_punctuation">()</span>
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td class="function_type">
|
85
|
+
<span class="returnvalue">void</span>
|
86
|
+
</td>
|
87
|
+
<td class="function_name">
|
88
|
+
<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> <span class="c_punctuation">()</span>
|
89
|
+
</td>
|
90
|
+
</tr>
|
91
|
+
<tr>
|
92
|
+
<td class="function_type">
|
93
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
94
|
+
</td>
|
95
|
+
<td class="function_name">
|
96
|
+
<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> <span class="c_punctuation">()</span>
|
97
|
+
</td>
|
98
|
+
</tr>
|
99
|
+
<tr>
|
100
|
+
<td class="function_type">
|
101
|
+
<span class="returnvalue">void</span>
|
102
|
+
</td>
|
103
|
+
<td class="function_name">
|
104
|
+
<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> <span class="c_punctuation">()</span>
|
105
|
+
</td>
|
106
|
+
</tr>
|
107
|
+
<tr>
|
108
|
+
<td class="function_type">
|
109
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
110
|
+
</td>
|
111
|
+
<td class="function_name">
|
112
|
+
<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> <span class="c_punctuation">()</span>
|
113
|
+
</td>
|
114
|
+
</tr>
|
115
|
+
<tr>
|
116
|
+
<td class="function_type">
|
117
|
+
<span class="returnvalue">void</span>
|
118
|
+
</td>
|
119
|
+
<td class="function_name">
|
120
|
+
<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> <span class="c_punctuation">()</span>
|
121
|
+
</td>
|
122
|
+
</tr>
|
123
|
+
<tr>
|
124
|
+
<td class="function_type">
|
125
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
126
|
+
</td>
|
127
|
+
<td class="function_name">
|
128
|
+
<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> <span class="c_punctuation">()</span>
|
129
|
+
</td>
|
130
|
+
</tr>
|
131
|
+
<tr>
|
132
|
+
<td class="function_type">
|
133
|
+
<span class="returnvalue">void</span>
|
134
|
+
</td>
|
135
|
+
<td class="function_name">
|
136
|
+
<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> <span class="c_punctuation">()</span>
|
137
|
+
</td>
|
138
|
+
</tr>
|
139
|
+
<tr>
|
140
|
+
<td class="function_type">
|
141
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
142
|
+
</td>
|
143
|
+
<td class="function_name">
|
144
|
+
<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> <span class="c_punctuation">()</span>
|
145
|
+
</td>
|
146
|
+
</tr>
|
147
|
+
<tr>
|
148
|
+
<td class="function_type">
|
149
|
+
<span class="returnvalue">void</span>
|
150
|
+
</td>
|
151
|
+
<td class="function_name">
|
152
|
+
<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> <span class="c_punctuation">()</span>
|
153
|
+
</td>
|
154
|
+
</tr>
|
155
|
+
<tr>
|
156
|
+
<td class="function_type">
|
157
|
+
<span class="returnvalue">void</span>
|
158
|
+
</td>
|
159
|
+
<td class="function_name">
|
160
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-all" title="gtk_file_chooser_select_all ()">gtk_file_chooser_select_all</a> <span class="c_punctuation">()</span>
|
161
|
+
</td>
|
162
|
+
</tr>
|
163
|
+
<tr>
|
164
|
+
<td class="function_type">
|
165
|
+
<span class="returnvalue">void</span>
|
166
|
+
</td>
|
167
|
+
<td class="function_name">
|
168
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()">gtk_file_chooser_unselect_all</a> <span class="c_punctuation">()</span>
|
169
|
+
</td>
|
170
|
+
</tr>
|
171
|
+
<tr>
|
172
|
+
<td class="function_type">
|
173
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
174
|
+
</td>
|
175
|
+
<td class="function_name">
|
176
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()">gtk_file_chooser_get_uri</a> <span class="c_punctuation">()</span>
|
177
|
+
</td>
|
178
|
+
</tr>
|
179
|
+
<tr>
|
180
|
+
<td class="function_type">
|
181
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
182
|
+
</td>
|
183
|
+
<td class="function_name">
|
184
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-uri" title="gtk_file_chooser_set_uri ()">gtk_file_chooser_set_uri</a> <span class="c_punctuation">()</span>
|
185
|
+
</td>
|
186
|
+
</tr>
|
187
|
+
<tr>
|
188
|
+
<td class="function_type">
|
189
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
190
|
+
</td>
|
191
|
+
<td class="function_name">
|
192
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()">gtk_file_chooser_select_uri</a> <span class="c_punctuation">()</span>
|
193
|
+
</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td class="function_type">
|
197
|
+
<span class="returnvalue">void</span>
|
198
|
+
</td>
|
199
|
+
<td class="function_name">
|
200
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-uri" title="gtk_file_chooser_unselect_uri ()">gtk_file_chooser_unselect_uri</a> <span class="c_punctuation">()</span>
|
201
|
+
</td>
|
202
|
+
</tr>
|
203
|
+
<tr>
|
204
|
+
<td class="function_type">
|
205
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
206
|
+
</td>
|
207
|
+
<td class="function_name">
|
208
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()">gtk_file_chooser_get_uris</a> <span class="c_punctuation">()</span>
|
209
|
+
</td>
|
210
|
+
</tr>
|
211
|
+
<tr>
|
212
|
+
<td class="function_type">
|
213
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
214
|
+
</td>
|
215
|
+
<td class="function_name">
|
216
|
+
<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> <span class="c_punctuation">()</span>
|
217
|
+
</td>
|
218
|
+
</tr>
|
219
|
+
<tr>
|
220
|
+
<td class="function_type">
|
221
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
222
|
+
</td>
|
223
|
+
<td class="function_name">
|
224
|
+
<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> <span class="c_punctuation">()</span>
|
225
|
+
</td>
|
226
|
+
</tr>
|
227
|
+
<tr>
|
228
|
+
<td class="function_type">
|
229
|
+
<span class="returnvalue">void</span>
|
230
|
+
</td>
|
231
|
+
<td class="function_name">
|
232
|
+
<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> <span class="c_punctuation">()</span>
|
233
|
+
</td>
|
234
|
+
</tr>
|
235
|
+
<tr>
|
236
|
+
<td class="function_type">
|
237
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
238
|
+
</td>
|
239
|
+
<td class="function_name">
|
240
|
+
<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> <span class="c_punctuation">()</span>
|
241
|
+
</td>
|
242
|
+
</tr>
|
243
|
+
<tr>
|
244
|
+
<td class="function_type">
|
245
|
+
<span class="returnvalue">void</span>
|
246
|
+
</td>
|
247
|
+
<td class="function_name">
|
248
|
+
<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> <span class="c_punctuation">()</span>
|
249
|
+
</td>
|
250
|
+
</tr>
|
251
|
+
<tr>
|
252
|
+
<td class="function_type">
|
253
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
254
|
+
</td>
|
255
|
+
<td class="function_name">
|
256
|
+
<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> <span class="c_punctuation">()</span>
|
257
|
+
</td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td class="function_type">
|
261
|
+
<span class="returnvalue">void</span>
|
262
|
+
</td>
|
263
|
+
<td class="function_name">
|
264
|
+
<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> <span class="c_punctuation">()</span>
|
265
|
+
</td>
|
266
|
+
</tr>
|
267
|
+
<tr>
|
268
|
+
<td class="function_type">
|
269
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
270
|
+
</td>
|
271
|
+
<td class="function_name">
|
272
|
+
<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> <span class="c_punctuation">()</span>
|
273
|
+
</td>
|
274
|
+
</tr>
|
275
|
+
<tr>
|
276
|
+
<td class="function_type">
|
277
|
+
<span class="returnvalue">char</span> *
|
278
|
+
</td>
|
279
|
+
<td class="function_name">
|
280
|
+
<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> <span class="c_punctuation">()</span>
|
281
|
+
</td>
|
282
|
+
</tr>
|
283
|
+
<tr>
|
284
|
+
<td class="function_type">
|
285
|
+
<span class="returnvalue">void</span>
|
286
|
+
</td>
|
287
|
+
<td class="function_name">
|
288
|
+
<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> <span class="c_punctuation">()</span>
|
289
|
+
</td>
|
290
|
+
</tr>
|
291
|
+
<tr>
|
292
|
+
<td class="function_type">
|
293
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
294
|
+
</td>
|
295
|
+
<td class="function_name">
|
296
|
+
<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> <span class="c_punctuation">()</span>
|
297
|
+
</td>
|
298
|
+
</tr>
|
299
|
+
<tr>
|
300
|
+
<td class="function_type">
|
301
|
+
<span class="returnvalue">void</span>
|
302
|
+
</td>
|
303
|
+
<td class="function_name">
|
304
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-filter" title="gtk_file_chooser_add_filter ()">gtk_file_chooser_add_filter</a> <span class="c_punctuation">()</span>
|
305
|
+
</td>
|
306
|
+
</tr>
|
307
|
+
<tr>
|
308
|
+
<td class="function_type">
|
309
|
+
<span class="returnvalue">void</span>
|
310
|
+
</td>
|
311
|
+
<td class="function_name">
|
312
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-filter" title="gtk_file_chooser_remove_filter ()">gtk_file_chooser_remove_filter</a> <span class="c_punctuation">()</span>
|
313
|
+
</td>
|
314
|
+
</tr>
|
315
|
+
<tr>
|
316
|
+
<td class="function_type">
|
317
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
318
|
+
</td>
|
319
|
+
<td class="function_name">
|
320
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-list-filters" title="gtk_file_chooser_list_filters ()">gtk_file_chooser_list_filters</a> <span class="c_punctuation">()</span>
|
321
|
+
</td>
|
322
|
+
</tr>
|
323
|
+
<tr>
|
324
|
+
<td class="function_type">
|
325
|
+
<span class="returnvalue">void</span>
|
326
|
+
</td>
|
327
|
+
<td class="function_name">
|
328
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filter" title="gtk_file_chooser_set_filter ()">gtk_file_chooser_set_filter</a> <span class="c_punctuation">()</span>
|
329
|
+
</td>
|
330
|
+
</tr>
|
331
|
+
<tr>
|
332
|
+
<td class="function_type">
|
333
|
+
<a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="returnvalue">GtkFileFilter</span></a> *
|
334
|
+
</td>
|
335
|
+
<td class="function_name">
|
336
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filter" title="gtk_file_chooser_get_filter ()">gtk_file_chooser_get_filter</a> <span class="c_punctuation">()</span>
|
337
|
+
</td>
|
338
|
+
</tr>
|
339
|
+
<tr>
|
340
|
+
<td class="function_type">
|
341
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
342
|
+
</td>
|
343
|
+
<td class="function_name">
|
344
|
+
<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> <span class="c_punctuation">()</span>
|
345
|
+
</td>
|
346
|
+
</tr>
|
347
|
+
<tr>
|
348
|
+
<td class="function_type">
|
349
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
350
|
+
</td>
|
351
|
+
<td class="function_name">
|
352
|
+
<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> <span class="c_punctuation">()</span>
|
353
|
+
</td>
|
354
|
+
</tr>
|
355
|
+
<tr>
|
356
|
+
<td class="function_type">
|
357
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
358
|
+
</td>
|
359
|
+
<td class="function_name">
|
360
|
+
<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> <span class="c_punctuation">()</span>
|
361
|
+
</td>
|
362
|
+
</tr>
|
363
|
+
<tr>
|
364
|
+
<td class="function_type">
|
365
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
366
|
+
</td>
|
367
|
+
<td class="function_name">
|
368
|
+
<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> <span class="c_punctuation">()</span>
|
369
|
+
</td>
|
370
|
+
</tr>
|
371
|
+
<tr>
|
372
|
+
<td class="function_type">
|
373
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
374
|
+
</td>
|
375
|
+
<td class="function_name">
|
376
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-file" title="gtk_file_chooser_get_file ()">gtk_file_chooser_get_file</a> <span class="c_punctuation">()</span>
|
377
|
+
</td>
|
378
|
+
</tr>
|
379
|
+
<tr>
|
380
|
+
<td class="function_type">
|
381
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
382
|
+
</td>
|
383
|
+
<td class="function_name">
|
384
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-files" title="gtk_file_chooser_get_files ()">gtk_file_chooser_get_files</a> <span class="c_punctuation">()</span>
|
385
|
+
</td>
|
386
|
+
</tr>
|
387
|
+
<tr>
|
388
|
+
<td class="function_type">
|
389
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
390
|
+
</td>
|
391
|
+
<td class="function_name">
|
392
|
+
<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> <span class="c_punctuation">()</span>
|
393
|
+
</td>
|
394
|
+
</tr>
|
395
|
+
<tr>
|
396
|
+
<td class="function_type">
|
397
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
398
|
+
</td>
|
399
|
+
<td class="function_name">
|
400
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-file" title="gtk_file_chooser_select_file ()">gtk_file_chooser_select_file</a> <span class="c_punctuation">()</span>
|
401
|
+
</td>
|
402
|
+
</tr>
|
403
|
+
<tr>
|
404
|
+
<td class="function_type">
|
405
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
406
|
+
</td>
|
407
|
+
<td class="function_name">
|
408
|
+
<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> <span class="c_punctuation">()</span>
|
409
|
+
</td>
|
410
|
+
</tr>
|
411
|
+
<tr>
|
412
|
+
<td class="function_type">
|
413
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
414
|
+
</td>
|
415
|
+
<td class="function_name">
|
416
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-file" title="gtk_file_chooser_set_file ()">gtk_file_chooser_set_file</a> <span class="c_punctuation">()</span>
|
417
|
+
</td>
|
418
|
+
</tr>
|
419
|
+
<tr>
|
420
|
+
<td class="function_type">
|
421
|
+
<span class="returnvalue">void</span>
|
422
|
+
</td>
|
423
|
+
<td class="function_name">
|
424
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-file" title="gtk_file_chooser_unselect_file ()">gtk_file_chooser_unselect_file</a> <span class="c_punctuation">()</span>
|
425
|
+
</td>
|
426
|
+
</tr>
|
427
|
+
</tbody>
|
428
|
+
</table></div>
|
429
|
+
</div>
|
430
|
+
<div class="refsect1">
|
431
|
+
<a name="GtkFileChooser.properties"></a><h2>Properties</h2>
|
432
|
+
<div class="informaltable"><table border="0">
|
433
|
+
<colgroup>
|
434
|
+
<col width="150px" class="properties_type">
|
435
|
+
<col width="300px" class="properties_name">
|
436
|
+
<col width="200px" class="properties_flags">
|
437
|
+
</colgroup>
|
438
|
+
<tbody>
|
439
|
+
<tr>
|
440
|
+
<td class="property_type"><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a></td>
|
441
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--action" title="The “action” property">action</a></td>
|
442
|
+
<td class="property_flags">Read / Write</td>
|
443
|
+
</tr>
|
444
|
+
<tr>
|
445
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
446
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--create-folders" title="The “create-folders” property">create-folders</a></td>
|
447
|
+
<td class="property_flags">Read / Write</td>
|
448
|
+
</tr>
|
449
|
+
<tr>
|
450
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
451
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--do-overwrite-confirmation" title="The “do-overwrite-confirmation” property">do-overwrite-confirmation</a></td>
|
452
|
+
<td class="property_flags">Read / Write</td>
|
453
|
+
</tr>
|
454
|
+
<tr>
|
455
|
+
<td class="property_type">
|
456
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</td>
|
457
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--extra-widget" title="The “extra-widget” property">extra-widget</a></td>
|
458
|
+
<td class="property_flags">Read / Write</td>
|
459
|
+
</tr>
|
460
|
+
<tr>
|
461
|
+
<td class="property_type">
|
462
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
463
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--file-system-backend" title="The “file-system-backend” property">file-system-backend</a></td>
|
464
|
+
<td class="property_flags">Write / Construct Only</td>
|
465
|
+
</tr>
|
466
|
+
<tr>
|
467
|
+
<td class="property_type">
|
468
|
+
<a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *</td>
|
469
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--filter" title="The “filter” property">filter</a></td>
|
470
|
+
<td class="property_flags">Read / Write</td>
|
471
|
+
</tr>
|
472
|
+
<tr>
|
473
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
474
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--local-only" title="The “local-only” property">local-only</a></td>
|
475
|
+
<td class="property_flags">Read / Write</td>
|
476
|
+
</tr>
|
477
|
+
<tr>
|
478
|
+
<td class="property_type">
|
479
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</td>
|
480
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--preview-widget" title="The “preview-widget” property">preview-widget</a></td>
|
481
|
+
<td class="property_flags">Read / Write</td>
|
482
|
+
</tr>
|
483
|
+
<tr>
|
484
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
485
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--preview-widget-active" title="The “preview-widget-active” property">preview-widget-active</a></td>
|
486
|
+
<td class="property_flags">Read / Write</td>
|
487
|
+
</tr>
|
488
|
+
<tr>
|
489
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
490
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--select-multiple" title="The “select-multiple” property">select-multiple</a></td>
|
491
|
+
<td class="property_flags">Read / Write</td>
|
492
|
+
</tr>
|
493
|
+
<tr>
|
494
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
495
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--show-hidden" title="The “show-hidden” property">show-hidden</a></td>
|
496
|
+
<td class="property_flags">Read / Write</td>
|
497
|
+
</tr>
|
498
|
+
<tr>
|
499
|
+
<td class="property_type"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
500
|
+
<td class="property_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser--use-preview-label" title="The “use-preview-label” property">use-preview-label</a></td>
|
501
|
+
<td class="property_flags">Read / Write</td>
|
502
|
+
</tr>
|
503
|
+
</tbody>
|
504
|
+
</table></div>
|
505
|
+
</div>
|
506
|
+
<div class="refsect1">
|
507
|
+
<a name="GtkFileChooser.signals"></a><h2>Signals</h2>
|
508
|
+
<div class="informaltable"><table border="0">
|
509
|
+
<colgroup>
|
510
|
+
<col width="150px" class="signals_return">
|
511
|
+
<col width="300px" class="signals_name">
|
512
|
+
<col width="200px" class="signals_flags">
|
513
|
+
</colgroup>
|
514
|
+
<tbody>
|
515
|
+
<tr>
|
516
|
+
<td class="signal_type"><a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="returnvalue">GtkFileChooserConfirmation</span></a></td>
|
517
|
+
<td class="signal_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title="The “confirm-overwrite” signal">confirm-overwrite</a></td>
|
518
|
+
<td class="signal_flags">Run Last</td>
|
519
|
+
</tr>
|
520
|
+
<tr>
|
521
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
522
|
+
<td class="signal_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser-current-folder-changed" title="The “current-folder-changed” signal">current-folder-changed</a></td>
|
523
|
+
<td class="signal_flags">Run Last</td>
|
524
|
+
</tr>
|
525
|
+
<tr>
|
526
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
527
|
+
<td class="signal_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser-file-activated" title="The “file-activated” signal">file-activated</a></td>
|
528
|
+
<td class="signal_flags">Run Last</td>
|
529
|
+
</tr>
|
530
|
+
<tr>
|
531
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
532
|
+
<td class="signal_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser-selection-changed" title="The “selection-changed” signal">selection-changed</a></td>
|
533
|
+
<td class="signal_flags">Run Last</td>
|
534
|
+
</tr>
|
535
|
+
<tr>
|
536
|
+
<td class="signal_type"><span class="returnvalue">void</span></td>
|
537
|
+
<td class="signal_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title="The “update-preview” signal">update-preview</a></td>
|
538
|
+
<td class="signal_flags">Run Last</td>
|
539
|
+
</tr>
|
540
|
+
</tbody>
|
541
|
+
</table></div>
|
542
|
+
</div>
|
543
|
+
<div class="refsect1">
|
544
|
+
<a name="GtkFileChooser.other"></a><h2>Types and Values</h2>
|
545
|
+
<div class="informaltable"><table width="100%" border="0">
|
546
|
+
<colgroup>
|
547
|
+
<col width="150px" class="name">
|
548
|
+
<col class="description">
|
549
|
+
</colgroup>
|
550
|
+
<tbody>
|
551
|
+
<tr>
|
552
|
+
<td class="datatype_keyword"> </td>
|
553
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#GtkFileChooser-struct" title="GtkFileChooser">GtkFileChooser</a></td>
|
554
|
+
</tr>
|
555
|
+
<tr>
|
556
|
+
<td class="datatype_keyword">enum</td>
|
557
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction">GtkFileChooserAction</a></td>
|
558
|
+
</tr>
|
559
|
+
<tr>
|
560
|
+
<td class="datatype_keyword">enum</td>
|
561
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation">GtkFileChooserConfirmation</a></td>
|
562
|
+
</tr>
|
563
|
+
<tr>
|
564
|
+
<td class="datatype_keyword">enum</td>
|
565
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#GtkFileChooserError" title="enum GtkFileChooserError">GtkFileChooserError</a></td>
|
566
|
+
</tr>
|
567
|
+
<tr>
|
568
|
+
<td class="define_keyword">#define</td>
|
569
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename">gtk_file_chooser_get_filename</a></td>
|
570
|
+
</tr>
|
571
|
+
<tr>
|
572
|
+
<td class="define_keyword">#define</td>
|
573
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filename" title="gtk_file_chooser_set_filename">gtk_file_chooser_set_filename</a></td>
|
574
|
+
</tr>
|
575
|
+
<tr>
|
576
|
+
<td class="define_keyword">#define</td>
|
577
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename">gtk_file_chooser_select_filename</a></td>
|
578
|
+
</tr>
|
579
|
+
<tr>
|
580
|
+
<td class="define_keyword">#define</td>
|
581
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-filename" title="gtk_file_chooser_unselect_filename">gtk_file_chooser_unselect_filename</a></td>
|
582
|
+
</tr>
|
583
|
+
<tr>
|
584
|
+
<td class="define_keyword">#define</td>
|
585
|
+
<td class="function_name"><a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames">gtk_file_chooser_get_filenames</a></td>
|
586
|
+
</tr>
|
587
|
+
<tr>
|
588
|
+
<td class="define_keyword">#define</td>
|
589
|
+
<td class="function_name"><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></td>
|
590
|
+
</tr>
|
591
|
+
<tr>
|
592
|
+
<td class="define_keyword">#define</td>
|
593
|
+
<td class="function_name"><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></td>
|
594
|
+
</tr>
|
595
|
+
<tr>
|
596
|
+
<td class="define_keyword">#define</td>
|
597
|
+
<td class="function_name"><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></td>
|
598
|
+
</tr>
|
599
|
+
<tr>
|
600
|
+
<td class="define_keyword">#define</td>
|
601
|
+
<td class="function_name"><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></td>
|
602
|
+
</tr>
|
603
|
+
<tr>
|
604
|
+
<td class="define_keyword">#define</td>
|
605
|
+
<td class="function_name"><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></td>
|
606
|
+
</tr>
|
607
|
+
<tr>
|
608
|
+
<td class="define_keyword">#define</td>
|
609
|
+
<td class="function_name"><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></td>
|
610
|
+
</tr>
|
611
|
+
</tbody>
|
612
|
+
</table></div>
|
613
|
+
</div>
|
614
|
+
<div class="refsect1">
|
615
|
+
<a name="GtkFileChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
616
|
+
<pre class="screen"> GInterface
|
617
|
+
<span class="lineart">╰──</span> GtkFileChooser
|
618
|
+
</pre>
|
619
|
+
</div>
|
620
|
+
<div class="refsect1">
|
621
|
+
<a name="GtkFileChooser.prerequisites"></a><h2>Prerequisites</h2>
|
622
|
+
<p>
|
623
|
+
GtkFileChooser requires
|
624
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
|
625
|
+
</div>
|
626
|
+
<div class="refsect1">
|
627
|
+
<a name="GtkFileChooser.implementations"></a><h2>Known Implementations</h2>
|
628
|
+
<p>
|
629
|
+
GtkFileChooser is implemented by
|
630
|
+
<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>
|
631
|
+
</div>
|
632
|
+
<div class="refsect1">
|
633
|
+
<a name="GtkFileChooser.includes"></a><h2>Includes</h2>
|
634
|
+
<pre class="synopsis">#include <gtk/gtk.h>
|
635
|
+
</pre>
|
636
|
+
</div>
|
637
|
+
<div class="refsect1">
|
638
|
+
<a name="GtkFileChooser.description"></a><h2>Description</h2>
|
639
|
+
<p><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is an interface that can be implemented by file
|
640
|
+
selection widgets. In GTK+, the main objects that implement this
|
641
|
+
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
|
642
|
+
<a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a>. You do not need to write an object that
|
643
|
+
implements the <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> interface unless you are trying to
|
644
|
+
adapt an existing file selector to expose a standard programming
|
645
|
+
interface.</p>
|
646
|
+
<p><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> allows for shortcuts to various places in the filesystem.
|
647
|
+
In the default implementation these are displayed in the left pane. It
|
648
|
+
may be a bit confusing at first that these shortcuts come from various
|
649
|
+
sources and in various flavours, so lets explain the terminology here:</p>
|
650
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
651
|
+
<colgroup>
|
652
|
+
<col align="left" valign="top">
|
653
|
+
<col>
|
654
|
+
</colgroup>
|
655
|
+
<tbody>
|
656
|
+
<tr>
|
657
|
+
<td><p><span class="term">Bookmarks</span></p></td>
|
658
|
+
<td>
|
659
|
+
are created by the user, by dragging folders from the
|
660
|
+
right pane to the left pane, or by using the "Add". Bookmarks
|
661
|
+
can be renamed and deleted by the user.
|
662
|
+
</td>
|
663
|
+
</tr>
|
664
|
+
<tr>
|
665
|
+
<td><p><span class="term">Shortcuts</span></p></td>
|
666
|
+
<td>
|
667
|
+
can be provided by the application or by the underlying filesystem
|
668
|
+
abstraction (e.g. both the gnome-vfs and the Windows filesystems
|
669
|
+
provide "Desktop" shortcuts). Shortcuts cannot be modified by the
|
670
|
+
user.
|
671
|
+
</td>
|
672
|
+
</tr>
|
673
|
+
<tr>
|
674
|
+
<td><p><span class="term">Volumes</span></p></td>
|
675
|
+
<td>
|
676
|
+
are provided by the underlying filesystem abstraction. They are
|
677
|
+
the "roots" of the filesystem.
|
678
|
+
</td>
|
679
|
+
</tr>
|
680
|
+
</tbody>
|
681
|
+
</table></div>
|
682
|
+
<div class="refsect2">
|
683
|
+
<a name="gtkfilechooser-encodings"></a><h3>File Names and Encodings</h3>
|
684
|
+
When the user is finished selecting files in a
|
685
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>, your program can get the selected names
|
686
|
+
either as filenames or as URIs. For URIs, the normal escaping
|
687
|
+
rules are applied if the URI contains non-ASCII characters.
|
688
|
+
However, filenames are <span class="emphasis"><em>always</em></span> returned in
|
689
|
+
the character set specified by the
|
690
|
+
<code class="envar">G_FILENAME_ENCODING</code> environment variable.
|
691
|
+
Please see the Glib documentation for more details about this
|
692
|
+
variable.
|
693
|
+
<div class="note">
|
694
|
+
This means that while you can pass the result of
|
695
|
+
<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
|
696
|
+
<code class="function">open(2)</code> or
|
697
|
+
<code class="function">fopen(3)</code>, you may not be able to
|
698
|
+
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
|
699
|
+
convert it first to UTF-8, which all GTK+ widgets expect.
|
700
|
+
You should use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html#g-filename-to-utf8"><code class="function">g_filename_to_utf8()</code></a> to convert filenames
|
701
|
+
into strings that can be passed to GTK+ widgets.
|
702
|
+
</div>
|
703
|
+
</div>
|
704
|
+
<hr>
|
705
|
+
<div class="refsect2">
|
706
|
+
<a name="gtkfilechooser-preview"></a><h3>Adding a Preview Widget</h3>
|
707
|
+
<p>
|
708
|
+
You can add a custom preview widget to a file chooser and then
|
709
|
+
get notification about when the preview needs to be updated.
|
710
|
+
To install a preview widget, use
|
711
|
+
<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
|
712
|
+
<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
|
713
|
+
you need to update the contents of the preview.
|
714
|
+
</p>
|
715
|
+
<p>
|
716
|
+
Your callback should use
|
717
|
+
<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
|
718
|
+
previewing. Once you have generated the preview for the
|
719
|
+
corresponding file, you must call
|
720
|
+
<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
|
721
|
+
flag that indicates whether your callback could successfully
|
722
|
+
generate a preview.
|
723
|
+
</p>
|
724
|
+
<div class="example">
|
725
|
+
<a name="example-gtkfilechooser-preview"></a><p class="title"><b>Example 40. Sample Usage</b></p>
|
726
|
+
<div class="example-contents">
|
727
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
728
|
+
<tbody>
|
729
|
+
<tr>
|
730
|
+
<td class="listing_lines" align="right"><pre>1
|
731
|
+
2
|
732
|
+
3
|
733
|
+
4
|
734
|
+
5
|
735
|
+
6
|
736
|
+
7
|
737
|
+
8
|
738
|
+
9
|
739
|
+
10
|
740
|
+
11
|
741
|
+
12
|
742
|
+
13
|
743
|
+
14
|
744
|
+
15
|
745
|
+
16
|
746
|
+
17
|
747
|
+
18
|
748
|
+
19
|
749
|
+
20
|
750
|
+
21
|
751
|
+
22
|
752
|
+
23
|
753
|
+
24
|
754
|
+
25
|
755
|
+
26
|
756
|
+
27
|
757
|
+
28
|
758
|
+
29
|
759
|
+
30
|
760
|
+
31
|
761
|
+
32
|
762
|
+
33</pre></td>
|
763
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
764
|
+
<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>
|
765
|
+
|
766
|
+
<span class="normal"> </span><span class="symbol">...</span>
|
767
|
+
|
768
|
+
<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>
|
769
|
+
|
770
|
+
<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>
|
771
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_file_chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"update-preview"</span><span class="symbol">,</span>
|
772
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">update_preview_cb</span><span class="symbol">),</span><span class="normal"> preview</span><span class="symbol">);</span>
|
773
|
+
<span class="cbracket">}</span>
|
774
|
+
|
775
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
776
|
+
<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>
|
777
|
+
<span class="cbracket">{</span>
|
778
|
+
<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>
|
779
|
+
<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>
|
780
|
+
<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>
|
781
|
+
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> have_preview</span><span class="symbol">;</span>
|
782
|
+
|
783
|
+
<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>
|
784
|
+
<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>
|
785
|
+
|
786
|
+
<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/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
787
|
+
<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/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
788
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">);</span>
|
789
|
+
|
790
|
+
<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>
|
791
|
+
<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>
|
792
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
793
|
+
|
794
|
+
<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>
|
795
|
+
<span class="cbracket">}</span></pre></td>
|
796
|
+
</tr>
|
797
|
+
</tbody>
|
798
|
+
</table>
|
799
|
+
</div>
|
800
|
+
|
801
|
+
</div>
|
802
|
+
<br class="example-break">
|
803
|
+
</div>
|
804
|
+
<hr>
|
805
|
+
<div class="refsect2">
|
806
|
+
<a name="gtkfilechooser-extra"></a><h3>Adding Extra Widgets</h3>
|
807
|
+
<p>
|
808
|
+
You can add extra widgets to a file chooser to provide options
|
809
|
+
that are not present in the default design. For example, you
|
810
|
+
can add a toggle button to give the user the option to open a
|
811
|
+
file in read-only mode. You can use
|
812
|
+
<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
|
813
|
+
widgets in a file chooser.
|
814
|
+
</p>
|
815
|
+
<div class="example">
|
816
|
+
<a name="example-gtkfilechooser-extra"></a><p class="title"><b>Example 41. Sample Usage</b></p>
|
817
|
+
<div class="example-contents">
|
818
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
819
|
+
<tbody>
|
820
|
+
<tr>
|
821
|
+
<td class="listing_lines" align="right"><pre>1
|
822
|
+
2
|
823
|
+
3
|
824
|
+
4
|
825
|
+
5
|
826
|
+
6
|
827
|
+
7
|
828
|
+
8</pre></td>
|
829
|
+
<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>
|
830
|
+
|
831
|
+
<span class="symbol">...</span>
|
832
|
+
|
833
|
+
<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>
|
834
|
+
<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>
|
835
|
+
<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>
|
836
|
+
<span class="cbracket">}</span></pre></td>
|
837
|
+
</tr>
|
838
|
+
</tbody>
|
839
|
+
</table>
|
840
|
+
</div>
|
841
|
+
|
842
|
+
</div>
|
843
|
+
<br class="example-break"><div class="note">
|
844
|
+
If you want to set more than one extra widget in the file
|
845
|
+
chooser, you can a container such as a <a class="link" href="GtkVBox.html" title="GtkVBox"><span class="type">GtkVBox</span></a> or a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>
|
846
|
+
and include your widgets in it. Then, set the container as
|
847
|
+
the whole extra widget.
|
848
|
+
</div>
|
849
|
+
</div>
|
850
|
+
<hr>
|
851
|
+
<div class="refsect2">
|
852
|
+
<a name="gtkfilechooser-key-bindings"></a><h3>Key Bindings</h3>
|
853
|
+
<p>
|
854
|
+
Internally, GTK+ implements a file chooser's graphical user
|
855
|
+
interface with the private
|
856
|
+
<code class="classname">GtkFileChooserDefaultClass</code>. This
|
857
|
+
widget has several <GTKDOCLINK HREF="gtk-Bindings">key
|
858
|
+
bindings</GTKDOCLINK> and their associated signals. This section
|
859
|
+
describes the available key binding signals.
|
860
|
+
</p>
|
861
|
+
<div class="example">
|
862
|
+
<a name="gtkfilechooser-key-binding-example"></a><p class="title"><b>Example 42. GtkFileChooser key binding example</b></p>
|
863
|
+
<div class="example-contents">
|
864
|
+
<p>
|
865
|
+
The default keys that activate the key-binding signals in
|
866
|
+
<code class="classname">GtkFileChooserDefaultClass</code> are as
|
867
|
+
follows:
|
868
|
+
</p>
|
869
|
+
<div class="informaltable"><table border="1">
|
870
|
+
<colgroup>
|
871
|
+
<col>
|
872
|
+
<col>
|
873
|
+
</colgroup>
|
874
|
+
<tbody>
|
875
|
+
<tr>
|
876
|
+
<td>Signal name</td>
|
877
|
+
<td>Default key combinations</td>
|
878
|
+
</tr>
|
879
|
+
<tr>
|
880
|
+
<td>location-popup</td>
|
881
|
+
<td>
|
882
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span> (empty path);
|
883
|
+
<span class="keycap"><strong>/</strong></span> (path of "/")
|
884
|
+
<a href="#ftn.id-1.4.12.6.11.8.3.3.1.1.2.2.3" class="footnote" name="id-1.4.12.6.11.8.3.3.1.1.2.2.3"><sup class="footnote">[a]</sup></a>;
|
885
|
+
<span class="keycap"><strong>~</strong></span> (path of "~")
|
886
|
+
</td>
|
887
|
+
</tr>
|
888
|
+
<tr>
|
889
|
+
<td>up-folder</td>
|
890
|
+
<td>
|
891
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span>;
|
892
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Up</strong></span>
|
893
|
+
<a href="#ftn.id-1.4.12.6.11.8.3.3.1.1.3.2.3" class="footnote" name="id-1.4.12.6.11.8.3.3.1.1.3.2.3"><sup class="footnote">[b]</sup></a>;
|
894
|
+
<span class="keycap"><strong>Backspace</strong></span>
|
895
|
+
</td>
|
896
|
+
</tr>
|
897
|
+
<tr>
|
898
|
+
<td>down-folder</td>
|
899
|
+
<td>
|
900
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span>;
|
901
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Down</strong></span>
|
902
|
+
<a href="#ftn.id-1.4.12.6.11.8.3.3.1.1.4.2.3" class="footnote" name="id-1.4.12.6.11.8.3.3.1.1.4.2.3"><sup class="footnote">[c]</sup></a>
|
903
|
+
</td>
|
904
|
+
</tr>
|
905
|
+
<tr>
|
906
|
+
<td>home-folder</td>
|
907
|
+
<td>
|
908
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Home</strong></span>
|
909
|
+
</td>
|
910
|
+
</tr>
|
911
|
+
<tr>
|
912
|
+
<td>desktop-folder</td>
|
913
|
+
<td>
|
914
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>D</strong></span>
|
915
|
+
</td>
|
916
|
+
</tr>
|
917
|
+
<tr>
|
918
|
+
<td>quick-bookmark</td>
|
919
|
+
<td>
|
920
|
+
<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>
|
921
|
+
</td>
|
922
|
+
</tr>
|
923
|
+
</tbody>
|
924
|
+
<tbody class="footnotes"><tr><td colspan="2">
|
925
|
+
<div id="ftn.id-1.4.12.6.11.8.3.3.1.1.2.2.3" class="footnote"><span class="keycap"><strong><a href="#id-1.4.12.6.11.8.3.3.1.1.2.2.3" class="keycap"><sup>[a] </sup></a>/</strong></span></div>
|
926
|
+
<div id="ftn.id-1.4.12.6.11.8.3.3.1.1.3.2.3" class="footnote"></div>
|
927
|
+
<div id="ftn.id-1.4.12.6.11.8.3.3.1.1.4.2.3" class="footnote"></div>
|
928
|
+
</td></tr></tbody>
|
929
|
+
</table></div>
|
930
|
+
<p>
|
931
|
+
You can change these defaults to something else. For
|
932
|
+
example, to add a <span class="keycap"><strong>Shift</strong></span> modifier to a few
|
933
|
+
of the default bindings, you can include the following
|
934
|
+
fragment in your <code class="filename">.gtkrc-3.0</code> file:
|
935
|
+
</p>
|
936
|
+
<pre class="programlisting">
|
937
|
+
binding "my-own-gtkfilechooser-bindings" {
|
938
|
+
bind "<Alt><Shift>Up" {
|
939
|
+
"up-folder" ()
|
940
|
+
}
|
941
|
+
bind "<Alt><Shift>Down" {
|
942
|
+
"down-folder" ()
|
943
|
+
}
|
944
|
+
bind "<Alt><Shift>Home" {
|
945
|
+
"home-folder" ()
|
946
|
+
}
|
947
|
+
}
|
948
|
+
|
949
|
+
class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
|
950
|
+
</pre>
|
951
|
+
</div>
|
952
|
+
</div>
|
953
|
+
<br class="example-break"><div class="refsect3">
|
954
|
+
<a name="GtkFileChooserDefault-location-popup"></a><h4>The "GtkFileChooserDefault::location-popup" signal</h4>
|
955
|
+
<pre class="programlisting">
|
956
|
+
void user_function (GtkFileChooserDefault *chooser,
|
957
|
+
const char *path,
|
958
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
959
|
+
</pre>
|
960
|
+
<p>
|
961
|
+
This is used to make the file chooser show a "Location"
|
962
|
+
dialog which the user can use to manually type the name of
|
963
|
+
the file he wishes to select. The
|
964
|
+
<em class="parameter"><code>path</code></em> argument is a string that gets
|
965
|
+
put in the text entry for the file name. By default this is bound to
|
966
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span>
|
967
|
+
with a <em class="parameter"><code>path</code></em> string of "" (the empty
|
968
|
+
string). It is also bound to <span class="keycap"><strong>/</strong></span> with a
|
969
|
+
<em class="parameter"><code>path</code></em> string of "<code class="literal">/</code>"
|
970
|
+
(a slash): this lets you type <span class="keycap"><strong>/</strong></span> and
|
971
|
+
immediately type a path name. On Unix systems, this is bound to
|
972
|
+
<span class="keycap"><strong>~</strong></span> (tilde) with a <em class="parameter"><code>path</code></em> string
|
973
|
+
of "~" itself for access to home directories.
|
974
|
+
</p>
|
975
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
976
|
+
<colgroup>
|
977
|
+
<col align="left" valign="top">
|
978
|
+
<col>
|
979
|
+
</colgroup>
|
980
|
+
<tbody>
|
981
|
+
<tr>
|
982
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
983
|
+
<td>
|
984
|
+
the object which received the signal.
|
985
|
+
</td>
|
986
|
+
</tr>
|
987
|
+
<tr>
|
988
|
+
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
|
989
|
+
<td>
|
990
|
+
default contents for the text entry for the file name
|
991
|
+
</td>
|
992
|
+
</tr>
|
993
|
+
<tr>
|
994
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
995
|
+
<td>
|
996
|
+
user data set when the signal handler was connected.
|
997
|
+
</td>
|
998
|
+
</tr>
|
999
|
+
</tbody>
|
1000
|
+
</table></div>
|
1001
|
+
<div class="note">
|
1002
|
+
You can create your own bindings for the
|
1003
|
+
<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
|
1004
|
+
<em class="parameter"><code>path</code></em> strings, and have a crude form
|
1005
|
+
of easily-to-type bookmarks. For example, say you access
|
1006
|
+
the path <code class="filename">/home/username/misc</code> very
|
1007
|
+
frequently. You could then create an <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>M</strong></span>
|
1008
|
+
shortcut by including the following in your
|
1009
|
+
<code class="filename">.gtkrc-3.0</code>:
|
1010
|
+
<pre class="programlisting">
|
1011
|
+
binding "misc-shortcut" {
|
1012
|
+
bind "<Alt>M" {
|
1013
|
+
"location-popup" ("/home/username/misc")
|
1014
|
+
}
|
1015
|
+
}
|
1016
|
+
|
1017
|
+
class "GtkFileChooserDefault" binding "misc-shortcut"
|
1018
|
+
</pre>
|
1019
|
+
</div>
|
1020
|
+
</div>
|
1021
|
+
<div class="refsect3">
|
1022
|
+
<a name="GtkFileChooserDefault-up-folder"></a><h4>The "GtkFileChooserDefault::up-folder" signal</h4>
|
1023
|
+
<pre class="programlisting">
|
1024
|
+
void user_function (GtkFileChooserDefault *chooser,
|
1025
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
1026
|
+
</pre>
|
1027
|
+
<p>
|
1028
|
+
This is used to make the file chooser go to the parent of
|
1029
|
+
the current folder in the file hierarchy. By default this
|
1030
|
+
is bound to <span class="keycap"><strong>Backspace</strong></span> and
|
1031
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span>
|
1032
|
+
(the Up key in the numeric keypad also works).
|
1033
|
+
</p>
|
1034
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1035
|
+
<colgroup>
|
1036
|
+
<col align="left" valign="top">
|
1037
|
+
<col>
|
1038
|
+
</colgroup>
|
1039
|
+
<tbody>
|
1040
|
+
<tr>
|
1041
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1042
|
+
<td>
|
1043
|
+
the object which received the signal.
|
1044
|
+
</td>
|
1045
|
+
</tr>
|
1046
|
+
<tr>
|
1047
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1048
|
+
<td>
|
1049
|
+
user data set when the signal handler was connected.
|
1050
|
+
</td>
|
1051
|
+
</tr>
|
1052
|
+
</tbody>
|
1053
|
+
</table></div>
|
1054
|
+
</div>
|
1055
|
+
<div class="refsect3">
|
1056
|
+
<a name="GtkFileChooserDefault-down-folder"></a><h4>The "GtkFileChooserDefault::down-folder" signal</h4>
|
1057
|
+
<pre class="programlisting">
|
1058
|
+
void user_function (GtkFileChooserDefault *chooser,
|
1059
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
1060
|
+
</pre>
|
1061
|
+
<p>
|
1062
|
+
This is used to make the file chooser go to a child of the
|
1063
|
+
current folder in the file hierarchy. The subfolder that
|
1064
|
+
will be used is displayed in the path bar widget of the file
|
1065
|
+
chooser. For example, if the path bar is showing
|
1066
|
+
"/foo/<span class="emphasis"><em>bar/</em></span>baz", then this will cause
|
1067
|
+
the file chooser to switch to the "baz" subfolder. By
|
1068
|
+
default this is bound to
|
1069
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span>
|
1070
|
+
(the Down key in the numeric keypad also works).
|
1071
|
+
</p>
|
1072
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1073
|
+
<colgroup>
|
1074
|
+
<col align="left" valign="top">
|
1075
|
+
<col>
|
1076
|
+
</colgroup>
|
1077
|
+
<tbody>
|
1078
|
+
<tr>
|
1079
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1080
|
+
<td>
|
1081
|
+
the object which received the signal.
|
1082
|
+
</td>
|
1083
|
+
</tr>
|
1084
|
+
<tr>
|
1085
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1086
|
+
<td>
|
1087
|
+
user data set when the signal handler was connected.
|
1088
|
+
</td>
|
1089
|
+
</tr>
|
1090
|
+
</tbody>
|
1091
|
+
</table></div>
|
1092
|
+
</div>
|
1093
|
+
<div class="refsect3">
|
1094
|
+
<a name="GtkFileChooserDefault-home-folder"></a><h4>The "GtkFileChooserDefault::home-folder" signal</h4>
|
1095
|
+
<pre class="programlisting">
|
1096
|
+
void user_function (GtkFileChooserDefault *chooser,
|
1097
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
1098
|
+
</pre>
|
1099
|
+
<p>
|
1100
|
+
This is used to make the file chooser show the user's home
|
1101
|
+
folder in the file list. By default this is bound to
|
1102
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Home</strong></span>
|
1103
|
+
(the Home key in the numeric keypad also works).
|
1104
|
+
</p>
|
1105
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1106
|
+
<colgroup>
|
1107
|
+
<col align="left" valign="top">
|
1108
|
+
<col>
|
1109
|
+
</colgroup>
|
1110
|
+
<tbody>
|
1111
|
+
<tr>
|
1112
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1113
|
+
<td>
|
1114
|
+
the object which received the signal.
|
1115
|
+
</td>
|
1116
|
+
</tr>
|
1117
|
+
<tr>
|
1118
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1119
|
+
<td>
|
1120
|
+
user data set when the signal handler was connected.
|
1121
|
+
</td>
|
1122
|
+
</tr>
|
1123
|
+
</tbody>
|
1124
|
+
</table></div>
|
1125
|
+
</div>
|
1126
|
+
<div class="refsect3">
|
1127
|
+
<a name="GtkFileChooserDefault-desktop-folder"></a><h4>The "GtkFileChooserDefault::desktop-folder" signal</h4>
|
1128
|
+
<pre class="programlisting">
|
1129
|
+
void user_function (GtkFileChooserDefault *chooser,
|
1130
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
1131
|
+
</pre>
|
1132
|
+
<p>
|
1133
|
+
This is used to make the file chooser show the user's Desktop
|
1134
|
+
folder in the file list. By default this is bound to
|
1135
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>D</strong></span>.
|
1136
|
+
</p>
|
1137
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1138
|
+
<colgroup>
|
1139
|
+
<col align="left" valign="top">
|
1140
|
+
<col>
|
1141
|
+
</colgroup>
|
1142
|
+
<tbody>
|
1143
|
+
<tr>
|
1144
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1145
|
+
<td>
|
1146
|
+
the object which received the signal.
|
1147
|
+
</td>
|
1148
|
+
</tr>
|
1149
|
+
<tr>
|
1150
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1151
|
+
<td>
|
1152
|
+
user data set when the signal handler was connected.
|
1153
|
+
</td>
|
1154
|
+
</tr>
|
1155
|
+
</tbody>
|
1156
|
+
</table></div>
|
1157
|
+
</div>
|
1158
|
+
<div class="refsect3">
|
1159
|
+
<a name="GtkFileChooserDefault-quick-bookmark"></a><h4>The "GtkFileChooserDefault::quick-bookmark" signal</h4>
|
1160
|
+
<pre class="programlisting">
|
1161
|
+
void user_function (GtkFileChooserDefault *chooser,
|
1162
|
+
gint bookmark_index,
|
1163
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
1164
|
+
</pre>
|
1165
|
+
<p>
|
1166
|
+
This is used to make the file chooser switch to the bookmark
|
1167
|
+
specified in the <em class="parameter"><code>bookmark_index</code></em> parameter.
|
1168
|
+
For example, if you have three bookmarks, you can pass 0, 1, 2 to
|
1169
|
+
this signal to switch to each of them, respectively. By default this is bound to
|
1170
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span>,
|
1171
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>2</strong></span>,
|
1172
|
+
etc. until
|
1173
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span>. Note
|
1174
|
+
that in the default binding,
|
1175
|
+
that <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span> is
|
1176
|
+
actually defined to switch to the bookmark at index 0, and so on
|
1177
|
+
successively;
|
1178
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span> is
|
1179
|
+
defined to switch to the bookmark at index 10.
|
1180
|
+
</p>
|
1181
|
+
<div class="variablelist"><table border="0" class="variablelist">
|
1182
|
+
<colgroup>
|
1183
|
+
<col align="left" valign="top">
|
1184
|
+
<col>
|
1185
|
+
</colgroup>
|
1186
|
+
<tbody>
|
1187
|
+
<tr>
|
1188
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1189
|
+
<td>
|
1190
|
+
the object which received the signal.
|
1191
|
+
</td>
|
1192
|
+
</tr>
|
1193
|
+
<tr>
|
1194
|
+
<td><p><span class="term"><em class="parameter"><code>bookmark_indes</code></em> :</span></p></td>
|
1195
|
+
<td>
|
1196
|
+
index of the bookmark to switch to; the indices start at 0.
|
1197
|
+
</td>
|
1198
|
+
</tr>
|
1199
|
+
<tr>
|
1200
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
1201
|
+
<td>
|
1202
|
+
user data set when the signal handler was connected.
|
1203
|
+
</td>
|
1204
|
+
</tr>
|
1205
|
+
</tbody>
|
1206
|
+
</table></div>
|
1207
|
+
</div>
|
1208
|
+
</div>
|
1209
|
+
<hr>
|
1210
|
+
<div class="refsect2">
|
1211
|
+
<a name="gtkfilechooser-configuration-options"></a><h3>Configuration Options</h3>
|
1212
|
+
<p>
|
1213
|
+
In GTK+ 2.x, the file chooser saves its state and configuration options in a
|
1214
|
+
<code class="filename">gtk-2.0/gtkfilechooser.ini</code> file under the directory that
|
1215
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html#g-get-user-config-dir"><code class="function">g_get_user_config_dir()</code></a> returns. (On Unix, this usually resolves to
|
1216
|
+
<code class="filename">$HOME/username/.config/gtk-2.0/gtkfilechooser.ini</code>.) While some of
|
1217
|
+
the available options can be changed directly through the file chooser's user
|
1218
|
+
interface, a couple are only editable by hand or by third-party tools (such
|
1219
|
+
as <a class="ulink" href="https://wiki.gnome.org/action/show/Apps/GnomeTweakTool" target="_top">gnome-tweak-tool</a>).
|
1220
|
+
This section describes the available options.
|
1221
|
+
</p>
|
1222
|
+
<p>
|
1223
|
+
This is a sample of the contents of a <code class="filename">gtkfilechooser.ini</code>
|
1224
|
+
file. Note that all the following options go under a
|
1225
|
+
<code class="literal">[Filechooser Settings]</code> heading.
|
1226
|
+
</p>
|
1227
|
+
<pre class="programlisting">
|
1228
|
+
[Filechooser Settings]
|
1229
|
+
LocationMode=filename-entry
|
1230
|
+
ShowHidden=false
|
1231
|
+
ExpandFolders=true
|
1232
|
+
GeometryX=570
|
1233
|
+
GeometryY=273
|
1234
|
+
GeometryWidth=780
|
1235
|
+
GeometryHeight=585
|
1236
|
+
ShowSizeColumn=true
|
1237
|
+
SortColumn=name
|
1238
|
+
SortOrder=ascending
|
1239
|
+
StartupMode=recent
|
1240
|
+
</pre>
|
1241
|
+
<div class="refsect3">
|
1242
|
+
<a name="gtkfilechooser-settings-location-mode"></a><h4>LocationMode key</h4>
|
1243
|
+
<p>
|
1244
|
+
The <code class="literal">LocationMode</code> key controls whether the file chooser
|
1245
|
+
shows just a path bar, or a visible entry for the filename as well, for the
|
1246
|
+
benefit of typing-oriented users. The possible string values for these modes
|
1247
|
+
are <code class="literal">path-bar</code> and <code class="literal">filename-entry</code>,
|
1248
|
+
respectively.
|
1249
|
+
</p>
|
1250
|
+
</div>
|
1251
|
+
<div class="refsect3">
|
1252
|
+
<a name="gtkfilechooser-settings-show-hidden"></a><h4>ShowHidden key</h4>
|
1253
|
+
<p>
|
1254
|
+
The <code class="literal">ShowHidden</code> key controls whether the file chooser shows
|
1255
|
+
hidden files or not. The value can be be <code class="literal">true</code> or
|
1256
|
+
<code class="literal">false</code>.
|
1257
|
+
</p>
|
1258
|
+
</div>
|
1259
|
+
<div class="refsect3">
|
1260
|
+
<a name="gtkfilechooser-settings-show-size-column"></a><h4>ShowSizeColumn key</h4>
|
1261
|
+
<p>
|
1262
|
+
The <code class="literal">ShowSize</code> key controls whether the file chooser shows
|
1263
|
+
a column with file sizes. The value can be be <code class="literal">true</code> or
|
1264
|
+
<code class="literal">false</code>.
|
1265
|
+
</p>
|
1266
|
+
</div>
|
1267
|
+
<div class="refsect3">
|
1268
|
+
<a name="gtkfilechooser-settings-geometry-keys"></a><h4>Geometry keys</h4>
|
1269
|
+
<p>
|
1270
|
+
The four keys <code class="literal">GeometryX</code>, <code class="literal">GeometryY</code>,
|
1271
|
+
<code class="literal">GeometryWidth</code>, <code class="literal">GeometryHeight</code> save the
|
1272
|
+
position and dimensions of the <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a>'s window.
|
1273
|
+
</p>
|
1274
|
+
</div>
|
1275
|
+
<div class="refsect3">
|
1276
|
+
<a name="gtkfilechooser-settings-sort-column"></a><h4>SortColumn key</h4>
|
1277
|
+
<p>
|
1278
|
+
The <code class="literal">SortColumn</code> key can be one of the strings
|
1279
|
+
<code class="literal">name</code>, <code class="literal">modified</code>, or
|
1280
|
+
<code class="literal">size</code>. It controls which of the columns in the file
|
1281
|
+
chooser is used for sorting the list of files.
|
1282
|
+
</p>
|
1283
|
+
</div>
|
1284
|
+
<div class="refsect3">
|
1285
|
+
<a name="gtkfilechooser-settings-sort-order"></a><h4>SortOrder key</h4>
|
1286
|
+
<p>
|
1287
|
+
The <code class="literal">SortOrder</code> key can be one of the strings
|
1288
|
+
<code class="literal">ascending</code> or <code class="literal">descending</code>.
|
1289
|
+
</p>
|
1290
|
+
</div>
|
1291
|
+
<div class="refsect3">
|
1292
|
+
<a name="gtkfilechooser-settings-startup-mode"></a><h4>StartupMode key</h4>
|
1293
|
+
<p>
|
1294
|
+
The <code class="literal">StartupMode</code> key controls whether the file chooser
|
1295
|
+
starts up showing the list of recently-used files, or the contents of the
|
1296
|
+
current working directory. Respectively, the values can be
|
1297
|
+
<code class="literal">recent</code> or <code class="literal">cwd</code>.
|
1298
|
+
</p>
|
1299
|
+
</div>
|
1300
|
+
</div>
|
1301
|
+
</div>
|
1302
|
+
<div class="refsect1">
|
1303
|
+
<a name="GtkFileChooser.functions_details"></a><h2>Functions</h2>
|
1304
|
+
<div class="refsect2">
|
1305
|
+
<a name="GTK-FILE-CHOOSER-ERROR:CAPS"></a><h3>GTK_FILE_CHOOSER_ERROR</h3>
|
1306
|
+
<pre class="programlisting">#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
|
1307
|
+
</pre>
|
1308
|
+
<p>Used to get the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> quark for <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> errors.</p>
|
1309
|
+
</div>
|
1310
|
+
<hr>
|
1311
|
+
<div class="refsect2">
|
1312
|
+
<a name="gtk-file-chooser-set-action"></a><h3>gtk_file_chooser_set_action ()</h3>
|
1313
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1314
|
+
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>,
|
1315
|
+
<em class="parameter"><code><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> action</code></em>);</pre>
|
1316
|
+
<p>Sets the type of operation that the chooser is performing; the
|
1317
|
+
user interface is adapted to suit the selected action. For example,
|
1318
|
+
an option to create a new folder might be shown if the action is
|
1319
|
+
<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
|
1320
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a>.</p>
|
1321
|
+
<div class="refsect3">
|
1322
|
+
<a name="id-1.4.12.6.12.3.5"></a><h4>Parameters</h4>
|
1323
|
+
<div class="informaltable"><table width="100%" border="0">
|
1324
|
+
<colgroup>
|
1325
|
+
<col width="150px" class="parameters_name">
|
1326
|
+
<col class="parameters_description">
|
1327
|
+
<col width="200px" class="parameters_annotations">
|
1328
|
+
</colgroup>
|
1329
|
+
<tbody>
|
1330
|
+
<tr>
|
1331
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1332
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1333
|
+
<td class="parameter_annotations"> </td>
|
1334
|
+
</tr>
|
1335
|
+
<tr>
|
1336
|
+
<td class="parameter_name"><p>action</p></td>
|
1337
|
+
<td class="parameter_description"><p>the action that the file selector is performing</p></td>
|
1338
|
+
<td class="parameter_annotations"> </td>
|
1339
|
+
</tr>
|
1340
|
+
</tbody>
|
1341
|
+
</table></div>
|
1342
|
+
</div>
|
1343
|
+
<p class="since">Since 2.4</p>
|
1344
|
+
</div>
|
1345
|
+
<hr>
|
1346
|
+
<div class="refsect2">
|
1347
|
+
<a name="gtk-file-chooser-get-action"></a><h3>gtk_file_chooser_get_action ()</h3>
|
1348
|
+
<pre class="programlisting"><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="returnvalue">GtkFileChooserAction</span></a>
|
1349
|
+
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>
|
1350
|
+
<p>Gets the type of operation that the file chooser is performing; see
|
1351
|
+
<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>.</p>
|
1352
|
+
<div class="refsect3">
|
1353
|
+
<a name="id-1.4.12.6.12.4.5"></a><h4>Parameters</h4>
|
1354
|
+
<div class="informaltable"><table width="100%" border="0">
|
1355
|
+
<colgroup>
|
1356
|
+
<col width="150px" class="parameters_name">
|
1357
|
+
<col class="parameters_description">
|
1358
|
+
<col width="200px" class="parameters_annotations">
|
1359
|
+
</colgroup>
|
1360
|
+
<tbody><tr>
|
1361
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1362
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1363
|
+
<td class="parameter_annotations"> </td>
|
1364
|
+
</tr></tbody>
|
1365
|
+
</table></div>
|
1366
|
+
</div>
|
1367
|
+
<div class="refsect3">
|
1368
|
+
<a name="id-1.4.12.6.12.4.6"></a><h4>Returns</h4>
|
1369
|
+
<p> the action that the file selector is performing</p>
|
1370
|
+
<p></p>
|
1371
|
+
</div>
|
1372
|
+
<p class="since">Since 2.4</p>
|
1373
|
+
</div>
|
1374
|
+
<hr>
|
1375
|
+
<div class="refsect2">
|
1376
|
+
<a name="gtk-file-chooser-set-local-only"></a><h3>gtk_file_chooser_set_local_only ()</h3>
|
1377
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1378
|
+
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>,
|
1379
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local_only</code></em>);</pre>
|
1380
|
+
<p>Sets whether only local files can be selected in the
|
1381
|
+
file selector. If <em class="parameter"><code>local_only</code></em>
|
1382
|
+
is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default),
|
1383
|
+
then the selected file are files are guaranteed to be
|
1384
|
+
accessible through the operating systems native file
|
1385
|
+
file system and therefore the application only
|
1386
|
+
needs to worry about the filename functions in
|
1387
|
+
<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>,
|
1388
|
+
rather than the URI functions like
|
1389
|
+
<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>,</p>
|
1390
|
+
<p>On some systems non-native files may still be
|
1391
|
+
available using the native filesystem via a userspace
|
1392
|
+
filesystem (FUSE).</p>
|
1393
|
+
<div class="refsect3">
|
1394
|
+
<a name="id-1.4.12.6.12.5.6"></a><h4>Parameters</h4>
|
1395
|
+
<div class="informaltable"><table width="100%" border="0">
|
1396
|
+
<colgroup>
|
1397
|
+
<col width="150px" class="parameters_name">
|
1398
|
+
<col class="parameters_description">
|
1399
|
+
<col width="200px" class="parameters_annotations">
|
1400
|
+
</colgroup>
|
1401
|
+
<tbody>
|
1402
|
+
<tr>
|
1403
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1404
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1405
|
+
<td class="parameter_annotations"> </td>
|
1406
|
+
</tr>
|
1407
|
+
<tr>
|
1408
|
+
<td class="parameter_name"><p>local_only</p></td>
|
1409
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if only local files can be selected</p></td>
|
1410
|
+
<td class="parameter_annotations"> </td>
|
1411
|
+
</tr>
|
1412
|
+
</tbody>
|
1413
|
+
</table></div>
|
1414
|
+
</div>
|
1415
|
+
<p class="since">Since 2.4</p>
|
1416
|
+
</div>
|
1417
|
+
<hr>
|
1418
|
+
<div class="refsect2">
|
1419
|
+
<a name="gtk-file-chooser-get-local-only"></a><h3>gtk_file_chooser_get_local_only ()</h3>
|
1420
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1421
|
+
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>
|
1422
|
+
<p>Gets whether only local files can be selected in the
|
1423
|
+
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></p>
|
1424
|
+
<div class="refsect3">
|
1425
|
+
<a name="id-1.4.12.6.12.6.5"></a><h4>Parameters</h4>
|
1426
|
+
<div class="informaltable"><table width="100%" border="0">
|
1427
|
+
<colgroup>
|
1428
|
+
<col width="150px" class="parameters_name">
|
1429
|
+
<col class="parameters_description">
|
1430
|
+
<col width="200px" class="parameters_annotations">
|
1431
|
+
</colgroup>
|
1432
|
+
<tbody><tr>
|
1433
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1434
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1435
|
+
<td class="parameter_annotations"> </td>
|
1436
|
+
</tr></tbody>
|
1437
|
+
</table></div>
|
1438
|
+
</div>
|
1439
|
+
<div class="refsect3">
|
1440
|
+
<a name="id-1.4.12.6.12.6.6"></a><h4>Returns</h4>
|
1441
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if only local files can be selected.</p>
|
1442
|
+
<p></p>
|
1443
|
+
</div>
|
1444
|
+
<p class="since">Since 2.4</p>
|
1445
|
+
</div>
|
1446
|
+
<hr>
|
1447
|
+
<div class="refsect2">
|
1448
|
+
<a name="gtk-file-chooser-set-select-multiple"></a><h3>gtk_file_chooser_set_select_multiple ()</h3>
|
1449
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1450
|
+
gtk_file_chooser_set_select_multiple (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1451
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> select_multiple</code></em>);</pre>
|
1452
|
+
<p>Sets whether multiple files can be selected in the file selector. This is
|
1453
|
+
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
|
1454
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></a>.</p>
|
1455
|
+
<div class="refsect3">
|
1456
|
+
<a name="id-1.4.12.6.12.7.5"></a><h4>Parameters</h4>
|
1457
|
+
<div class="informaltable"><table width="100%" border="0">
|
1458
|
+
<colgroup>
|
1459
|
+
<col width="150px" class="parameters_name">
|
1460
|
+
<col class="parameters_description">
|
1461
|
+
<col width="200px" class="parameters_annotations">
|
1462
|
+
</colgroup>
|
1463
|
+
<tbody>
|
1464
|
+
<tr>
|
1465
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1466
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1467
|
+
<td class="parameter_annotations"> </td>
|
1468
|
+
</tr>
|
1469
|
+
<tr>
|
1470
|
+
<td class="parameter_name"><p>select_multiple</p></td>
|
1471
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if multiple files can be selected.</p></td>
|
1472
|
+
<td class="parameter_annotations"> </td>
|
1473
|
+
</tr>
|
1474
|
+
</tbody>
|
1475
|
+
</table></div>
|
1476
|
+
</div>
|
1477
|
+
<p class="since">Since 2.4</p>
|
1478
|
+
</div>
|
1479
|
+
<hr>
|
1480
|
+
<div class="refsect2">
|
1481
|
+
<a name="gtk-file-chooser-get-select-multiple"></a><h3>gtk_file_chooser_get_select_multiple ()</h3>
|
1482
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1483
|
+
gtk_file_chooser_get_select_multiple (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1484
|
+
<p>Gets whether multiple files can be selected in the file
|
1485
|
+
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>.</p>
|
1486
|
+
<div class="refsect3">
|
1487
|
+
<a name="id-1.4.12.6.12.8.5"></a><h4>Parameters</h4>
|
1488
|
+
<div class="informaltable"><table width="100%" border="0">
|
1489
|
+
<colgroup>
|
1490
|
+
<col width="150px" class="parameters_name">
|
1491
|
+
<col class="parameters_description">
|
1492
|
+
<col width="200px" class="parameters_annotations">
|
1493
|
+
</colgroup>
|
1494
|
+
<tbody><tr>
|
1495
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1496
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1497
|
+
<td class="parameter_annotations"> </td>
|
1498
|
+
</tr></tbody>
|
1499
|
+
</table></div>
|
1500
|
+
</div>
|
1501
|
+
<div class="refsect3">
|
1502
|
+
<a name="id-1.4.12.6.12.8.6"></a><h4>Returns</h4>
|
1503
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if multiple files can be selected.</p>
|
1504
|
+
<p></p>
|
1505
|
+
</div>
|
1506
|
+
<p class="since">Since 2.4</p>
|
1507
|
+
</div>
|
1508
|
+
<hr>
|
1509
|
+
<div class="refsect2">
|
1510
|
+
<a name="gtk-file-chooser-set-show-hidden"></a><h3>gtk_file_chooser_set_show_hidden ()</h3>
|
1511
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1512
|
+
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>,
|
1513
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_hidden</code></em>);</pre>
|
1514
|
+
<p>Sets whether hidden files and folders are displayed in the file selector.</p>
|
1515
|
+
<div class="refsect3">
|
1516
|
+
<a name="id-1.4.12.6.12.9.5"></a><h4>Parameters</h4>
|
1517
|
+
<div class="informaltable"><table width="100%" border="0">
|
1518
|
+
<colgroup>
|
1519
|
+
<col width="150px" class="parameters_name">
|
1520
|
+
<col class="parameters_description">
|
1521
|
+
<col width="200px" class="parameters_annotations">
|
1522
|
+
</colgroup>
|
1523
|
+
<tbody>
|
1524
|
+
<tr>
|
1525
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1526
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1527
|
+
<td class="parameter_annotations"> </td>
|
1528
|
+
</tr>
|
1529
|
+
<tr>
|
1530
|
+
<td class="parameter_name"><p>show_hidden</p></td>
|
1531
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if hidden files and folders should be displayed.</p></td>
|
1532
|
+
<td class="parameter_annotations"> </td>
|
1533
|
+
</tr>
|
1534
|
+
</tbody>
|
1535
|
+
</table></div>
|
1536
|
+
</div>
|
1537
|
+
<p class="since">Since 2.6</p>
|
1538
|
+
</div>
|
1539
|
+
<hr>
|
1540
|
+
<div class="refsect2">
|
1541
|
+
<a name="gtk-file-chooser-get-show-hidden"></a><h3>gtk_file_chooser_get_show_hidden ()</h3>
|
1542
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1543
|
+
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>
|
1544
|
+
<p>Gets whether hidden files and folders are displayed in the file selector.
|
1545
|
+
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>.</p>
|
1546
|
+
<div class="refsect3">
|
1547
|
+
<a name="id-1.4.12.6.12.10.5"></a><h4>Parameters</h4>
|
1548
|
+
<div class="informaltable"><table width="100%" border="0">
|
1549
|
+
<colgroup>
|
1550
|
+
<col width="150px" class="parameters_name">
|
1551
|
+
<col class="parameters_description">
|
1552
|
+
<col width="200px" class="parameters_annotations">
|
1553
|
+
</colgroup>
|
1554
|
+
<tbody><tr>
|
1555
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1556
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1557
|
+
<td class="parameter_annotations"> </td>
|
1558
|
+
</tr></tbody>
|
1559
|
+
</table></div>
|
1560
|
+
</div>
|
1561
|
+
<div class="refsect3">
|
1562
|
+
<a name="id-1.4.12.6.12.10.6"></a><h4>Returns</h4>
|
1563
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if hidden files and folders are displayed.</p>
|
1564
|
+
<p></p>
|
1565
|
+
</div>
|
1566
|
+
<p class="since">Since 2.6</p>
|
1567
|
+
</div>
|
1568
|
+
<hr>
|
1569
|
+
<div class="refsect2">
|
1570
|
+
<a name="gtk-file-chooser-set-do-overwrite-confirmation"></a><h3>gtk_file_chooser_set_do_overwrite_confirmation ()</h3>
|
1571
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1572
|
+
gtk_file_chooser_set_do_overwrite_confirmation
|
1573
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1574
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> do_overwrite_confirmation</code></em>);</pre>
|
1575
|
+
<p>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
|
1576
|
+
a confirmation dialog if the user types a file name that already exists. This
|
1577
|
+
is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> by default.</p>
|
1578
|
+
<p>Regardless of this setting, the <em class="parameter"><code>chooser</code></em>
|
1579
|
+
will emit the
|
1580
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title="The “confirm-overwrite” signal"><span class="type">“confirm-overwrite”</span></a> signal when appropriate.</p>
|
1581
|
+
<p>If all you need is the stock confirmation dialog, set this property to <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1582
|
+
You can override the way confirmation is done by actually handling the
|
1583
|
+
<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
|
1584
|
+
for the details.</p>
|
1585
|
+
<div class="refsect3">
|
1586
|
+
<a name="id-1.4.12.6.12.11.7"></a><h4>Parameters</h4>
|
1587
|
+
<div class="informaltable"><table width="100%" border="0">
|
1588
|
+
<colgroup>
|
1589
|
+
<col width="150px" class="parameters_name">
|
1590
|
+
<col class="parameters_description">
|
1591
|
+
<col width="200px" class="parameters_annotations">
|
1592
|
+
</colgroup>
|
1593
|
+
<tbody>
|
1594
|
+
<tr>
|
1595
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1596
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1597
|
+
<td class="parameter_annotations"> </td>
|
1598
|
+
</tr>
|
1599
|
+
<tr>
|
1600
|
+
<td class="parameter_name"><p>do_overwrite_confirmation</p></td>
|
1601
|
+
<td class="parameter_description"><p>whether to confirm overwriting in save mode</p></td>
|
1602
|
+
<td class="parameter_annotations"> </td>
|
1603
|
+
</tr>
|
1604
|
+
</tbody>
|
1605
|
+
</table></div>
|
1606
|
+
</div>
|
1607
|
+
<p class="since">Since 2.8</p>
|
1608
|
+
</div>
|
1609
|
+
<hr>
|
1610
|
+
<div class="refsect2">
|
1611
|
+
<a name="gtk-file-chooser-get-do-overwrite-confirmation"></a><h3>gtk_file_chooser_get_do_overwrite_confirmation ()</h3>
|
1612
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1613
|
+
gtk_file_chooser_get_do_overwrite_confirmation
|
1614
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1615
|
+
<p>Queries whether a file chooser is set to confirm for overwriting when the user
|
1616
|
+
types a file name that already exists.</p>
|
1617
|
+
<div class="refsect3">
|
1618
|
+
<a name="id-1.4.12.6.12.12.5"></a><h4>Parameters</h4>
|
1619
|
+
<div class="informaltable"><table width="100%" border="0">
|
1620
|
+
<colgroup>
|
1621
|
+
<col width="150px" class="parameters_name">
|
1622
|
+
<col class="parameters_description">
|
1623
|
+
<col width="200px" class="parameters_annotations">
|
1624
|
+
</colgroup>
|
1625
|
+
<tbody><tr>
|
1626
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1627
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1628
|
+
<td class="parameter_annotations"> </td>
|
1629
|
+
</tr></tbody>
|
1630
|
+
</table></div>
|
1631
|
+
</div>
|
1632
|
+
<div class="refsect3">
|
1633
|
+
<a name="id-1.4.12.6.12.12.6"></a><h4>Returns</h4>
|
1634
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file chooser will present a confirmation dialog;
|
1635
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
1636
|
+
<p></p>
|
1637
|
+
</div>
|
1638
|
+
<p class="since">Since 2.8</p>
|
1639
|
+
</div>
|
1640
|
+
<hr>
|
1641
|
+
<div class="refsect2">
|
1642
|
+
<a name="gtk-file-chooser-set-create-folders"></a><h3>gtk_file_chooser_set_create_folders ()</h3>
|
1643
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1644
|
+
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>,
|
1645
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> create_folders</code></em>);</pre>
|
1646
|
+
<p>Sets whether file choser will offer to create new folders.
|
1647
|
+
This is only relevant if the action is not set to be
|
1648
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a>.</p>
|
1649
|
+
<div class="refsect3">
|
1650
|
+
<a name="id-1.4.12.6.12.13.5"></a><h4>Parameters</h4>
|
1651
|
+
<div class="informaltable"><table width="100%" border="0">
|
1652
|
+
<colgroup>
|
1653
|
+
<col width="150px" class="parameters_name">
|
1654
|
+
<col class="parameters_description">
|
1655
|
+
<col width="200px" class="parameters_annotations">
|
1656
|
+
</colgroup>
|
1657
|
+
<tbody>
|
1658
|
+
<tr>
|
1659
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1660
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1661
|
+
<td class="parameter_annotations"> </td>
|
1662
|
+
</tr>
|
1663
|
+
<tr>
|
1664
|
+
<td class="parameter_name"><p>create_folders</p></td>
|
1665
|
+
<td class="parameter_description"><p><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the New Folder button should be displayed</p></td>
|
1666
|
+
<td class="parameter_annotations"> </td>
|
1667
|
+
</tr>
|
1668
|
+
</tbody>
|
1669
|
+
</table></div>
|
1670
|
+
</div>
|
1671
|
+
<p class="since">Since 2.18</p>
|
1672
|
+
</div>
|
1673
|
+
<hr>
|
1674
|
+
<div class="refsect2">
|
1675
|
+
<a name="gtk-file-chooser-get-create-folders"></a><h3>gtk_file_chooser_get_create_folders ()</h3>
|
1676
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1677
|
+
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>
|
1678
|
+
<p>Gets whether file choser will offer to create new folders.
|
1679
|
+
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>.</p>
|
1680
|
+
<div class="refsect3">
|
1681
|
+
<a name="id-1.4.12.6.12.14.5"></a><h4>Parameters</h4>
|
1682
|
+
<div class="informaltable"><table width="100%" border="0">
|
1683
|
+
<colgroup>
|
1684
|
+
<col width="150px" class="parameters_name">
|
1685
|
+
<col class="parameters_description">
|
1686
|
+
<col width="200px" class="parameters_annotations">
|
1687
|
+
</colgroup>
|
1688
|
+
<tbody><tr>
|
1689
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1690
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1691
|
+
<td class="parameter_annotations"> </td>
|
1692
|
+
</tr></tbody>
|
1693
|
+
</table></div>
|
1694
|
+
</div>
|
1695
|
+
<div class="refsect3">
|
1696
|
+
<a name="id-1.4.12.6.12.14.6"></a><h4>Returns</h4>
|
1697
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the New Folder button should be displayed.</p>
|
1698
|
+
<p></p>
|
1699
|
+
</div>
|
1700
|
+
<p class="since">Since 2.18</p>
|
1701
|
+
</div>
|
1702
|
+
<hr>
|
1703
|
+
<div class="refsect2">
|
1704
|
+
<a name="gtk-file-chooser-set-current-name"></a><h3>gtk_file_chooser_set_current_name ()</h3>
|
1705
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1706
|
+
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>,
|
1707
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
1708
|
+
<p>Sets the current name in the file selector, as if entered
|
1709
|
+
by the user. Note that the name passed in here is a UTF-8
|
1710
|
+
string rather than a filename. This function is meant for
|
1711
|
+
such uses as a suggested name in a "Save As..." dialog.</p>
|
1712
|
+
<p>If you want to preselect a particular existing file, you should use
|
1713
|
+
<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.
|
1714
|
+
Please see the documentation for those functions for an example of using
|
1715
|
+
<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.</p>
|
1716
|
+
<div class="refsect3">
|
1717
|
+
<a name="id-1.4.12.6.12.15.6"></a><h4>Parameters</h4>
|
1718
|
+
<div class="informaltable"><table width="100%" border="0">
|
1719
|
+
<colgroup>
|
1720
|
+
<col width="150px" class="parameters_name">
|
1721
|
+
<col class="parameters_description">
|
1722
|
+
<col width="200px" class="parameters_annotations">
|
1723
|
+
</colgroup>
|
1724
|
+
<tbody>
|
1725
|
+
<tr>
|
1726
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1727
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1728
|
+
<td class="parameter_annotations"> </td>
|
1729
|
+
</tr>
|
1730
|
+
<tr>
|
1731
|
+
<td class="parameter_name"><p>name</p></td>
|
1732
|
+
<td class="parameter_description"><p> the filename to use, as a UTF-8 string. </p></td>
|
1733
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
1734
|
+
</tr>
|
1735
|
+
</tbody>
|
1736
|
+
</table></div>
|
1737
|
+
</div>
|
1738
|
+
<p class="since">Since 2.4</p>
|
1739
|
+
</div>
|
1740
|
+
<hr>
|
1741
|
+
<div class="refsect2">
|
1742
|
+
<a name="gtk-file-chooser-select-all"></a><h3>gtk_file_chooser_select_all ()</h3>
|
1743
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1744
|
+
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>
|
1745
|
+
<p>Selects all the files in the current folder of a file chooser.</p>
|
1746
|
+
<div class="refsect3">
|
1747
|
+
<a name="id-1.4.12.6.12.16.5"></a><h4>Parameters</h4>
|
1748
|
+
<div class="informaltable"><table width="100%" border="0">
|
1749
|
+
<colgroup>
|
1750
|
+
<col width="150px" class="parameters_name">
|
1751
|
+
<col class="parameters_description">
|
1752
|
+
<col width="200px" class="parameters_annotations">
|
1753
|
+
</colgroup>
|
1754
|
+
<tbody><tr>
|
1755
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1756
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1757
|
+
<td class="parameter_annotations"> </td>
|
1758
|
+
</tr></tbody>
|
1759
|
+
</table></div>
|
1760
|
+
</div>
|
1761
|
+
<p class="since">Since 2.4</p>
|
1762
|
+
</div>
|
1763
|
+
<hr>
|
1764
|
+
<div class="refsect2">
|
1765
|
+
<a name="gtk-file-chooser-unselect-all"></a><h3>gtk_file_chooser_unselect_all ()</h3>
|
1766
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1767
|
+
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>
|
1768
|
+
<p>Unselects all the files in the current folder of a file chooser.</p>
|
1769
|
+
<div class="refsect3">
|
1770
|
+
<a name="id-1.4.12.6.12.17.5"></a><h4>Parameters</h4>
|
1771
|
+
<div class="informaltable"><table width="100%" border="0">
|
1772
|
+
<colgroup>
|
1773
|
+
<col width="150px" class="parameters_name">
|
1774
|
+
<col class="parameters_description">
|
1775
|
+
<col width="200px" class="parameters_annotations">
|
1776
|
+
</colgroup>
|
1777
|
+
<tbody><tr>
|
1778
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1779
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1780
|
+
<td class="parameter_annotations"> </td>
|
1781
|
+
</tr></tbody>
|
1782
|
+
</table></div>
|
1783
|
+
</div>
|
1784
|
+
<p class="since">Since 2.4</p>
|
1785
|
+
</div>
|
1786
|
+
<hr>
|
1787
|
+
<div class="refsect2">
|
1788
|
+
<a name="gtk-file-chooser-get-uri"></a><h3>gtk_file_chooser_get_uri ()</h3>
|
1789
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
1790
|
+
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>
|
1791
|
+
<p>Gets the URI for the currently selected file in
|
1792
|
+
the file selector. If multiple files are selected,
|
1793
|
+
one of the filenames will be returned at random.</p>
|
1794
|
+
<p>If the file chooser is in folder mode, this function returns the selected
|
1795
|
+
folder.</p>
|
1796
|
+
<div class="refsect3">
|
1797
|
+
<a name="id-1.4.12.6.12.18.6"></a><h4>Parameters</h4>
|
1798
|
+
<div class="informaltable"><table width="100%" border="0">
|
1799
|
+
<colgroup>
|
1800
|
+
<col width="150px" class="parameters_name">
|
1801
|
+
<col class="parameters_description">
|
1802
|
+
<col width="200px" class="parameters_annotations">
|
1803
|
+
</colgroup>
|
1804
|
+
<tbody><tr>
|
1805
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1806
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1807
|
+
<td class="parameter_annotations"> </td>
|
1808
|
+
</tr></tbody>
|
1809
|
+
</table></div>
|
1810
|
+
</div>
|
1811
|
+
<div class="refsect3">
|
1812
|
+
<a name="id-1.4.12.6.12.18.7"></a><h4>Returns</h4>
|
1813
|
+
<p> The currently selected URI, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1814
|
+
if no file is selected. If <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> is set to <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>
|
1815
|
+
(the default) a local URI will be returned for any FUSE locations.
|
1816
|
+
Free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a></p>
|
1817
|
+
<p></p>
|
1818
|
+
</div>
|
1819
|
+
<p class="since">Since 2.4</p>
|
1820
|
+
</div>
|
1821
|
+
<hr>
|
1822
|
+
<div class="refsect2">
|
1823
|
+
<a name="gtk-file-chooser-set-uri"></a><h3>gtk_file_chooser_set_uri ()</h3>
|
1824
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1825
|
+
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>,
|
1826
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1827
|
+
<p>Sets the file referred to by <em class="parameter"><code>uri</code></em>
|
1828
|
+
as the current file for the file chooser,
|
1829
|
+
by changing to the URI's parent folder and actually selecting the URI in the
|
1830
|
+
list. If the <em class="parameter"><code>chooser</code></em>
|
1831
|
+
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
|
1832
|
+
name will also appear in the dialog's file name entry.</p>
|
1833
|
+
<p>If the URI isn't in the current folder of <em class="parameter"><code>chooser</code></em>
|
1834
|
+
, then the current folder
|
1835
|
+
of <em class="parameter"><code>chooser</code></em>
|
1836
|
+
will be changed to the folder containing <em class="parameter"><code>uri</code></em>
|
1837
|
+
. This is equivalent
|
1838
|
+
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
|
1839
|
+
<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>.</p>
|
1840
|
+
<p>Note that the URI must exist, or nothing will be done except for the
|
1841
|
+
directory change.
|
1842
|
+
If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
|
1843
|
+
you should use this function if you already have a file name to which the
|
1844
|
+
user may save; for example, when the user opens an existing file and then
|
1845
|
+
does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
|
1846
|
+
a file name already — for example, if the user just created a new
|
1847
|
+
file and is saving it for the first time, do not call this function.
|
1848
|
+
Instead, use something similar to this:</p>
|
1849
|
+
<div class="informalexample">
|
1850
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1851
|
+
<tbody>
|
1852
|
+
<tr>
|
1853
|
+
<td class="listing_lines" align="right"><pre>1
|
1854
|
+
2
|
1855
|
+
3
|
1856
|
+
4
|
1857
|
+
5
|
1858
|
+
6
|
1859
|
+
7
|
1860
|
+
8
|
1861
|
+
9
|
1862
|
+
10
|
1863
|
+
11</pre></td>
|
1864
|
+
<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>
|
1865
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1866
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
1867
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri">gtk_file_chooser_set_current_folder_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> default_folder_for_saving</span><span class="symbol">);</span>
|
1868
|
+
<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>
|
1869
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1870
|
+
<span class="keyword">else</span>
|
1871
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1872
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span><span class="normal"> </span>
|
1873
|
+
<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>
|
1874
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
1875
|
+
</tr>
|
1876
|
+
</tbody>
|
1877
|
+
</table>
|
1878
|
+
</div>
|
1879
|
+
|
1880
|
+
<p></p>
|
1881
|
+
<div class="refsect3">
|
1882
|
+
<a name="id-1.4.12.6.12.19.9"></a><h4>Parameters</h4>
|
1883
|
+
<div class="informaltable"><table width="100%" border="0">
|
1884
|
+
<colgroup>
|
1885
|
+
<col width="150px" class="parameters_name">
|
1886
|
+
<col class="parameters_description">
|
1887
|
+
<col width="200px" class="parameters_annotations">
|
1888
|
+
</colgroup>
|
1889
|
+
<tbody>
|
1890
|
+
<tr>
|
1891
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1892
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1893
|
+
<td class="parameter_annotations"> </td>
|
1894
|
+
</tr>
|
1895
|
+
<tr>
|
1896
|
+
<td class="parameter_name"><p>uri</p></td>
|
1897
|
+
<td class="parameter_description"><p>the URI to set as current</p></td>
|
1898
|
+
<td class="parameter_annotations"> </td>
|
1899
|
+
</tr>
|
1900
|
+
</tbody>
|
1901
|
+
</table></div>
|
1902
|
+
</div>
|
1903
|
+
<div class="refsect3">
|
1904
|
+
<a name="id-1.4.12.6.12.19.10"></a><h4>Returns</h4>
|
1905
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the URI was
|
1906
|
+
selected successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
1907
|
+
<p></p>
|
1908
|
+
</div>
|
1909
|
+
<p class="since">Since 2.4</p>
|
1910
|
+
</div>
|
1911
|
+
<hr>
|
1912
|
+
<div class="refsect2">
|
1913
|
+
<a name="gtk-file-chooser-select-uri"></a><h3>gtk_file_chooser_select_uri ()</h3>
|
1914
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
1915
|
+
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>,
|
1916
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1917
|
+
<p>Selects the file to by <em class="parameter"><code>uri</code></em>
|
1918
|
+
. If the URI doesn't refer to a
|
1919
|
+
file in the current folder of <em class="parameter"><code>chooser</code></em>
|
1920
|
+
, then the current folder of
|
1921
|
+
<em class="parameter"><code>chooser</code></em>
|
1922
|
+
will be changed to the folder containing <em class="parameter"><code>filename</code></em>
|
1923
|
+
.</p>
|
1924
|
+
<div class="refsect3">
|
1925
|
+
<a name="id-1.4.12.6.12.20.5"></a><h4>Parameters</h4>
|
1926
|
+
<div class="informaltable"><table width="100%" border="0">
|
1927
|
+
<colgroup>
|
1928
|
+
<col width="150px" class="parameters_name">
|
1929
|
+
<col class="parameters_description">
|
1930
|
+
<col width="200px" class="parameters_annotations">
|
1931
|
+
</colgroup>
|
1932
|
+
<tbody>
|
1933
|
+
<tr>
|
1934
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1935
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1936
|
+
<td class="parameter_annotations"> </td>
|
1937
|
+
</tr>
|
1938
|
+
<tr>
|
1939
|
+
<td class="parameter_name"><p>uri</p></td>
|
1940
|
+
<td class="parameter_description"><p>the URI to select</p></td>
|
1941
|
+
<td class="parameter_annotations"> </td>
|
1942
|
+
</tr>
|
1943
|
+
</tbody>
|
1944
|
+
</table></div>
|
1945
|
+
</div>
|
1946
|
+
<div class="refsect3">
|
1947
|
+
<a name="id-1.4.12.6.12.20.6"></a><h4>Returns</h4>
|
1948
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the URI was
|
1949
|
+
selected successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
1950
|
+
<p></p>
|
1951
|
+
</div>
|
1952
|
+
<p class="since">Since 2.4</p>
|
1953
|
+
</div>
|
1954
|
+
<hr>
|
1955
|
+
<div class="refsect2">
|
1956
|
+
<a name="gtk-file-chooser-unselect-uri"></a><h3>gtk_file_chooser_unselect_uri ()</h3>
|
1957
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
1958
|
+
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>,
|
1959
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1960
|
+
<p>Unselects the file referred to by <em class="parameter"><code>uri</code></em>
|
1961
|
+
. If the file
|
1962
|
+
is not in the current directory, does not exist, or
|
1963
|
+
is otherwise not currently selected, does nothing.</p>
|
1964
|
+
<div class="refsect3">
|
1965
|
+
<a name="id-1.4.12.6.12.21.5"></a><h4>Parameters</h4>
|
1966
|
+
<div class="informaltable"><table width="100%" border="0">
|
1967
|
+
<colgroup>
|
1968
|
+
<col width="150px" class="parameters_name">
|
1969
|
+
<col class="parameters_description">
|
1970
|
+
<col width="200px" class="parameters_annotations">
|
1971
|
+
</colgroup>
|
1972
|
+
<tbody>
|
1973
|
+
<tr>
|
1974
|
+
<td class="parameter_name"><p>chooser</p></td>
|
1975
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
1976
|
+
<td class="parameter_annotations"> </td>
|
1977
|
+
</tr>
|
1978
|
+
<tr>
|
1979
|
+
<td class="parameter_name"><p>uri</p></td>
|
1980
|
+
<td class="parameter_description"><p>the URI to unselect</p></td>
|
1981
|
+
<td class="parameter_annotations"> </td>
|
1982
|
+
</tr>
|
1983
|
+
</tbody>
|
1984
|
+
</table></div>
|
1985
|
+
</div>
|
1986
|
+
<p class="since">Since 2.4</p>
|
1987
|
+
</div>
|
1988
|
+
<hr>
|
1989
|
+
<div class="refsect2">
|
1990
|
+
<a name="gtk-file-chooser-get-uris"></a><h3>gtk_file_chooser_get_uris ()</h3>
|
1991
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
1992
|
+
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>
|
1993
|
+
<p>Lists all the selected files and subfolders in the current folder of
|
1994
|
+
<em class="parameter"><code>chooser</code></em>
|
1995
|
+
. The returned names are full absolute URIs.</p>
|
1996
|
+
<div class="refsect3">
|
1997
|
+
<a name="id-1.4.12.6.12.22.5"></a><h4>Parameters</h4>
|
1998
|
+
<div class="informaltable"><table width="100%" border="0">
|
1999
|
+
<colgroup>
|
2000
|
+
<col width="150px" class="parameters_name">
|
2001
|
+
<col class="parameters_description">
|
2002
|
+
<col width="200px" class="parameters_annotations">
|
2003
|
+
</colgroup>
|
2004
|
+
<tbody><tr>
|
2005
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2006
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2007
|
+
<td class="parameter_annotations"> </td>
|
2008
|
+
</tr></tbody>
|
2009
|
+
</table></div>
|
2010
|
+
</div>
|
2011
|
+
<div class="refsect3">
|
2012
|
+
<a name="id-1.4.12.6.12.22.6"></a><h4>Returns</h4>
|
2013
|
+
<p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing the URIs of all selected
|
2014
|
+
files and subfolders in the current folder. Free the returned list
|
2015
|
+
with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the filenames with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
2016
|
+
<p><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></p>
|
2017
|
+
</div>
|
2018
|
+
<p class="since">Since 2.4</p>
|
2019
|
+
</div>
|
2020
|
+
<hr>
|
2021
|
+
<div class="refsect2">
|
2022
|
+
<a name="gtk-file-chooser-set-current-folder-uri"></a><h3>gtk_file_chooser_set_current_folder_uri ()</h3>
|
2023
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2024
|
+
gtk_file_chooser_set_current_folder_uri
|
2025
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2026
|
+
<em class="parameter"><code>const <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
|
2027
|
+
<p>Sets the current folder for <em class="parameter"><code>chooser</code></em>
|
2028
|
+
from an URI.
|
2029
|
+
The user will be shown the full contents of the current folder,
|
2030
|
+
plus user interface elements for navigating to other folders.</p>
|
2031
|
+
<div class="refsect3">
|
2032
|
+
<a name="id-1.4.12.6.12.23.5"></a><h4>Parameters</h4>
|
2033
|
+
<div class="informaltable"><table width="100%" border="0">
|
2034
|
+
<colgroup>
|
2035
|
+
<col width="150px" class="parameters_name">
|
2036
|
+
<col class="parameters_description">
|
2037
|
+
<col width="200px" class="parameters_annotations">
|
2038
|
+
</colgroup>
|
2039
|
+
<tbody>
|
2040
|
+
<tr>
|
2041
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2042
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2043
|
+
<td class="parameter_annotations"> </td>
|
2044
|
+
</tr>
|
2045
|
+
<tr>
|
2046
|
+
<td class="parameter_name"><p>uri</p></td>
|
2047
|
+
<td class="parameter_description"><p>the URI for the new current folder</p></td>
|
2048
|
+
<td class="parameter_annotations"> </td>
|
2049
|
+
</tr>
|
2050
|
+
</tbody>
|
2051
|
+
</table></div>
|
2052
|
+
</div>
|
2053
|
+
<div class="refsect3">
|
2054
|
+
<a name="id-1.4.12.6.12.23.6"></a><h4>Returns</h4>
|
2055
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2056
|
+
otherwise.</p>
|
2057
|
+
<p></p>
|
2058
|
+
</div>
|
2059
|
+
<p class="since">Since 2.4</p>
|
2060
|
+
</div>
|
2061
|
+
<hr>
|
2062
|
+
<div class="refsect2">
|
2063
|
+
<a name="gtk-file-chooser-get-current-folder-uri"></a><h3>gtk_file_chooser_get_current_folder_uri ()</h3>
|
2064
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
2065
|
+
gtk_file_chooser_get_current_folder_uri
|
2066
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2067
|
+
<p>Gets the current folder of <em class="parameter"><code>chooser</code></em>
|
2068
|
+
as an URI.
|
2069
|
+
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>.</p>
|
2070
|
+
<p>Note that this is the folder that the file chooser is currently displaying
|
2071
|
+
(e.g. "file:///home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
|
2072
|
+
as the currently-selected folder if the chooser is in
|
2073
|
+
<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
|
2074
|
+
(e.g. "file:///home/username/Documents/selected-folder/". To get the
|
2075
|
+
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
|
2076
|
+
usual way to get the selection.</p>
|
2077
|
+
<div class="refsect3">
|
2078
|
+
<a name="id-1.4.12.6.12.24.6"></a><h4>Parameters</h4>
|
2079
|
+
<div class="informaltable"><table width="100%" border="0">
|
2080
|
+
<colgroup>
|
2081
|
+
<col width="150px" class="parameters_name">
|
2082
|
+
<col class="parameters_description">
|
2083
|
+
<col width="200px" class="parameters_annotations">
|
2084
|
+
</colgroup>
|
2085
|
+
<tbody><tr>
|
2086
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2087
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2088
|
+
<td class="parameter_annotations"> </td>
|
2089
|
+
</tr></tbody>
|
2090
|
+
</table></div>
|
2091
|
+
</div>
|
2092
|
+
<div class="refsect3">
|
2093
|
+
<a name="id-1.4.12.6.12.24.7"></a><h4>Returns</h4>
|
2094
|
+
<p> the URI for the current folder. Free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. This
|
2095
|
+
function will also return <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the file chooser was unable to load the
|
2096
|
+
last folder that was requested from it; for example, as would be for calling
|
2097
|
+
<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.</p>
|
2098
|
+
<p></p>
|
2099
|
+
</div>
|
2100
|
+
<p class="since">Since 2.4</p>
|
2101
|
+
</div>
|
2102
|
+
<hr>
|
2103
|
+
<div class="refsect2">
|
2104
|
+
<a name="gtk-file-chooser-set-preview-widget"></a><h3>gtk_file_chooser_set_preview_widget ()</h3>
|
2105
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2106
|
+
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>,
|
2107
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);</pre>
|
2108
|
+
<p>Sets an application-supplied widget to use to display a custom preview
|
2109
|
+
of the currently selected file. To implement a preview, after setting the
|
2110
|
+
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>
|
2111
|
+
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
|
2112
|
+
<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
|
2113
|
+
display a preview of the new file, update your widget and
|
2114
|
+
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>.
|
2115
|
+
Otherwise, set the preview inactive.</p>
|
2116
|
+
<p>When there is no application-supplied preview widget, or the
|
2117
|
+
application-supplied preview widget is not active, the file chooser
|
2118
|
+
may display an internally generated preview of the current file or
|
2119
|
+
it may display no preview at all.</p>
|
2120
|
+
<div class="refsect3">
|
2121
|
+
<a name="id-1.4.12.6.12.25.6"></a><h4>Parameters</h4>
|
2122
|
+
<div class="informaltable"><table width="100%" border="0">
|
2123
|
+
<colgroup>
|
2124
|
+
<col width="150px" class="parameters_name">
|
2125
|
+
<col class="parameters_description">
|
2126
|
+
<col width="200px" class="parameters_annotations">
|
2127
|
+
</colgroup>
|
2128
|
+
<tbody>
|
2129
|
+
<tr>
|
2130
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2131
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2132
|
+
<td class="parameter_annotations"> </td>
|
2133
|
+
</tr>
|
2134
|
+
<tr>
|
2135
|
+
<td class="parameter_name"><p>preview_widget</p></td>
|
2136
|
+
<td class="parameter_description"><p>widget for displaying preview.</p></td>
|
2137
|
+
<td class="parameter_annotations"> </td>
|
2138
|
+
</tr>
|
2139
|
+
</tbody>
|
2140
|
+
</table></div>
|
2141
|
+
</div>
|
2142
|
+
<p class="since">Since 2.4</p>
|
2143
|
+
</div>
|
2144
|
+
<hr>
|
2145
|
+
<div class="refsect2">
|
2146
|
+
<a name="gtk-file-chooser-get-preview-widget"></a><h3>gtk_file_chooser_get_preview_widget ()</h3>
|
2147
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
2148
|
+
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>
|
2149
|
+
<p>Gets the current preview widget; see
|
2150
|
+
<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>.</p>
|
2151
|
+
<div class="refsect3">
|
2152
|
+
<a name="id-1.4.12.6.12.26.5"></a><h4>Parameters</h4>
|
2153
|
+
<div class="informaltable"><table width="100%" border="0">
|
2154
|
+
<colgroup>
|
2155
|
+
<col width="150px" class="parameters_name">
|
2156
|
+
<col class="parameters_description">
|
2157
|
+
<col width="200px" class="parameters_annotations">
|
2158
|
+
</colgroup>
|
2159
|
+
<tbody><tr>
|
2160
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2161
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2162
|
+
<td class="parameter_annotations"> </td>
|
2163
|
+
</tr></tbody>
|
2164
|
+
</table></div>
|
2165
|
+
</div>
|
2166
|
+
<div class="refsect3">
|
2167
|
+
<a name="id-1.4.12.6.12.26.6"></a><h4>Returns</h4>
|
2168
|
+
<p> the current preview widget, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2169
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2170
|
+
</div>
|
2171
|
+
<p class="since">Since 2.4</p>
|
2172
|
+
</div>
|
2173
|
+
<hr>
|
2174
|
+
<div class="refsect2">
|
2175
|
+
<a name="gtk-file-chooser-set-preview-widget-active"></a><h3>gtk_file_chooser_set_preview_widget_active ()</h3>
|
2176
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2177
|
+
gtk_file_chooser_set_preview_widget_active
|
2178
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2179
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);</pre>
|
2180
|
+
<p>Sets whether the preview widget set by
|
2181
|
+
<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
|
2182
|
+
current filename. When <em class="parameter"><code>active</code></em>
|
2183
|
+
is set to false, the file chooser
|
2184
|
+
may display an internally generated preview of the current file
|
2185
|
+
or it may display no preview at all. See
|
2186
|
+
<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.</p>
|
2187
|
+
<div class="refsect3">
|
2188
|
+
<a name="id-1.4.12.6.12.27.5"></a><h4>Parameters</h4>
|
2189
|
+
<div class="informaltable"><table width="100%" border="0">
|
2190
|
+
<colgroup>
|
2191
|
+
<col width="150px" class="parameters_name">
|
2192
|
+
<col class="parameters_description">
|
2193
|
+
<col width="200px" class="parameters_annotations">
|
2194
|
+
</colgroup>
|
2195
|
+
<tbody>
|
2196
|
+
<tr>
|
2197
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2198
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2199
|
+
<td class="parameter_annotations"> </td>
|
2200
|
+
</tr>
|
2201
|
+
<tr>
|
2202
|
+
<td class="parameter_name"><p>active</p></td>
|
2203
|
+
<td class="parameter_description"><p>whether to display the user-specified preview widget</p></td>
|
2204
|
+
<td class="parameter_annotations"> </td>
|
2205
|
+
</tr>
|
2206
|
+
</tbody>
|
2207
|
+
</table></div>
|
2208
|
+
</div>
|
2209
|
+
<p class="since">Since 2.4</p>
|
2210
|
+
</div>
|
2211
|
+
<hr>
|
2212
|
+
<div class="refsect2">
|
2213
|
+
<a name="gtk-file-chooser-get-preview-widget-active"></a><h3>gtk_file_chooser_get_preview_widget_active ()</h3>
|
2214
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2215
|
+
gtk_file_chooser_get_preview_widget_active
|
2216
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2217
|
+
<p>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>
|
2218
|
+
should be shown for the current filename. See
|
2219
|
+
<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>.</p>
|
2220
|
+
<div class="refsect3">
|
2221
|
+
<a name="id-1.4.12.6.12.28.5"></a><h4>Parameters</h4>
|
2222
|
+
<div class="informaltable"><table width="100%" border="0">
|
2223
|
+
<colgroup>
|
2224
|
+
<col width="150px" class="parameters_name">
|
2225
|
+
<col class="parameters_description">
|
2226
|
+
<col width="200px" class="parameters_annotations">
|
2227
|
+
</colgroup>
|
2228
|
+
<tbody><tr>
|
2229
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2230
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2231
|
+
<td class="parameter_annotations"> </td>
|
2232
|
+
</tr></tbody>
|
2233
|
+
</table></div>
|
2234
|
+
</div>
|
2235
|
+
<div class="refsect3">
|
2236
|
+
<a name="id-1.4.12.6.12.28.6"></a><h4>Returns</h4>
|
2237
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the preview widget is active for the current filename.</p>
|
2238
|
+
<p></p>
|
2239
|
+
</div>
|
2240
|
+
<p class="since">Since 2.4</p>
|
2241
|
+
</div>
|
2242
|
+
<hr>
|
2243
|
+
<div class="refsect2">
|
2244
|
+
<a name="gtk-file-chooser-set-use-preview-label"></a><h3>gtk_file_chooser_set_use_preview_label ()</h3>
|
2245
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2246
|
+
gtk_file_chooser_set_use_preview_label
|
2247
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2248
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_label</code></em>);</pre>
|
2249
|
+
<p>Sets whether the file chooser should display a stock label with the name of
|
2250
|
+
the file that is being previewed; the default is <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. Applications that
|
2251
|
+
want to draw the whole preview area themselves should set this to <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and
|
2252
|
+
display the name themselves in their preview widget.</p>
|
2253
|
+
<p>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></p>
|
2254
|
+
<div class="refsect3">
|
2255
|
+
<a name="id-1.4.12.6.12.29.6"></a><h4>Parameters</h4>
|
2256
|
+
<div class="informaltable"><table width="100%" border="0">
|
2257
|
+
<colgroup>
|
2258
|
+
<col width="150px" class="parameters_name">
|
2259
|
+
<col class="parameters_description">
|
2260
|
+
<col width="200px" class="parameters_annotations">
|
2261
|
+
</colgroup>
|
2262
|
+
<tbody>
|
2263
|
+
<tr>
|
2264
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2265
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2266
|
+
<td class="parameter_annotations"> </td>
|
2267
|
+
</tr>
|
2268
|
+
<tr>
|
2269
|
+
<td class="parameter_name"><p>use_label</p></td>
|
2270
|
+
<td class="parameter_description"><p>whether to display a stock label with the name of the previewed file</p></td>
|
2271
|
+
<td class="parameter_annotations"> </td>
|
2272
|
+
</tr>
|
2273
|
+
</tbody>
|
2274
|
+
</table></div>
|
2275
|
+
</div>
|
2276
|
+
<p class="since">Since 2.4</p>
|
2277
|
+
</div>
|
2278
|
+
<hr>
|
2279
|
+
<div class="refsect2">
|
2280
|
+
<a name="gtk-file-chooser-get-use-preview-label"></a><h3>gtk_file_chooser_get_use_preview_label ()</h3>
|
2281
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2282
|
+
gtk_file_chooser_get_use_preview_label
|
2283
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2284
|
+
<p>Gets whether a stock label should be drawn with the name of the previewed
|
2285
|
+
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>.</p>
|
2286
|
+
<div class="refsect3">
|
2287
|
+
<a name="id-1.4.12.6.12.30.5"></a><h4>Parameters</h4>
|
2288
|
+
<div class="informaltable"><table width="100%" border="0">
|
2289
|
+
<colgroup>
|
2290
|
+
<col width="150px" class="parameters_name">
|
2291
|
+
<col class="parameters_description">
|
2292
|
+
<col width="200px" class="parameters_annotations">
|
2293
|
+
</colgroup>
|
2294
|
+
<tbody><tr>
|
2295
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2296
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2297
|
+
<td class="parameter_annotations"> </td>
|
2298
|
+
</tr></tbody>
|
2299
|
+
</table></div>
|
2300
|
+
</div>
|
2301
|
+
<div class="refsect3">
|
2302
|
+
<a name="id-1.4.12.6.12.30.6"></a><h4>Returns</h4>
|
2303
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file chooser is set to display a label with the
|
2304
|
+
name of the previewed file, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2305
|
+
<p></p>
|
2306
|
+
</div>
|
2307
|
+
</div>
|
2308
|
+
<hr>
|
2309
|
+
<div class="refsect2">
|
2310
|
+
<a name="gtk-file-chooser-get-preview-uri"></a><h3>gtk_file_chooser_get_preview_uri ()</h3>
|
2311
|
+
<pre class="programlisting"><span class="returnvalue">char</span> *
|
2312
|
+
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>
|
2313
|
+
<p>Gets the URI that should be previewed in a custom preview
|
2314
|
+
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>.</p>
|
2315
|
+
<div class="refsect3">
|
2316
|
+
<a name="id-1.4.12.6.12.31.5"></a><h4>Parameters</h4>
|
2317
|
+
<div class="informaltable"><table width="100%" border="0">
|
2318
|
+
<colgroup>
|
2319
|
+
<col width="150px" class="parameters_name">
|
2320
|
+
<col class="parameters_description">
|
2321
|
+
<col width="200px" class="parameters_annotations">
|
2322
|
+
</colgroup>
|
2323
|
+
<tbody><tr>
|
2324
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2325
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2326
|
+
<td class="parameter_annotations"> </td>
|
2327
|
+
</tr></tbody>
|
2328
|
+
</table></div>
|
2329
|
+
</div>
|
2330
|
+
<div class="refsect3">
|
2331
|
+
<a name="id-1.4.12.6.12.31.6"></a><h4>Returns</h4>
|
2332
|
+
<p> the URI for the file to preview, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no file is
|
2333
|
+
selected. Free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
|
2334
|
+
<p></p>
|
2335
|
+
</div>
|
2336
|
+
<p class="since">Since 2.4</p>
|
2337
|
+
</div>
|
2338
|
+
<hr>
|
2339
|
+
<div class="refsect2">
|
2340
|
+
<a name="gtk-file-chooser-set-extra-widget"></a><h3>gtk_file_chooser_set_extra_widget ()</h3>
|
2341
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2342
|
+
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>,
|
2343
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);</pre>
|
2344
|
+
<p>Sets an application-supplied widget to provide extra options to the user.</p>
|
2345
|
+
<div class="refsect3">
|
2346
|
+
<a name="id-1.4.12.6.12.32.5"></a><h4>Parameters</h4>
|
2347
|
+
<div class="informaltable"><table width="100%" border="0">
|
2348
|
+
<colgroup>
|
2349
|
+
<col width="150px" class="parameters_name">
|
2350
|
+
<col class="parameters_description">
|
2351
|
+
<col width="200px" class="parameters_annotations">
|
2352
|
+
</colgroup>
|
2353
|
+
<tbody>
|
2354
|
+
<tr>
|
2355
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2356
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2357
|
+
<td class="parameter_annotations"> </td>
|
2358
|
+
</tr>
|
2359
|
+
<tr>
|
2360
|
+
<td class="parameter_name"><p>extra_widget</p></td>
|
2361
|
+
<td class="parameter_description"><p>widget for extra options</p></td>
|
2362
|
+
<td class="parameter_annotations"> </td>
|
2363
|
+
</tr>
|
2364
|
+
</tbody>
|
2365
|
+
</table></div>
|
2366
|
+
</div>
|
2367
|
+
<p class="since">Since 2.4</p>
|
2368
|
+
</div>
|
2369
|
+
<hr>
|
2370
|
+
<div class="refsect2">
|
2371
|
+
<a name="gtk-file-chooser-get-extra-widget"></a><h3>gtk_file_chooser_get_extra_widget ()</h3>
|
2372
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
2373
|
+
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>
|
2374
|
+
<p>Gets the current preview widget; see
|
2375
|
+
<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>.</p>
|
2376
|
+
<div class="refsect3">
|
2377
|
+
<a name="id-1.4.12.6.12.33.5"></a><h4>Parameters</h4>
|
2378
|
+
<div class="informaltable"><table width="100%" border="0">
|
2379
|
+
<colgroup>
|
2380
|
+
<col width="150px" class="parameters_name">
|
2381
|
+
<col class="parameters_description">
|
2382
|
+
<col width="200px" class="parameters_annotations">
|
2383
|
+
</colgroup>
|
2384
|
+
<tbody><tr>
|
2385
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2386
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2387
|
+
<td class="parameter_annotations"> </td>
|
2388
|
+
</tr></tbody>
|
2389
|
+
</table></div>
|
2390
|
+
</div>
|
2391
|
+
<div class="refsect3">
|
2392
|
+
<a name="id-1.4.12.6.12.33.6"></a><h4>Returns</h4>
|
2393
|
+
<p> the current extra widget, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2394
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2395
|
+
</div>
|
2396
|
+
<p class="since">Since 2.4</p>
|
2397
|
+
</div>
|
2398
|
+
<hr>
|
2399
|
+
<div class="refsect2">
|
2400
|
+
<a name="gtk-file-chooser-add-filter"></a><h3>gtk_file_chooser_add_filter ()</h3>
|
2401
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2402
|
+
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>,
|
2403
|
+
<em class="parameter"><code><a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2404
|
+
<p>Adds <em class="parameter"><code>filter</code></em>
|
2405
|
+
to the list of filters that the user can select between.
|
2406
|
+
When a filter is selected, only files that are passed by that
|
2407
|
+
filter are displayed. </p>
|
2408
|
+
<p>Note that the <em class="parameter"><code>chooser</code></em>
|
2409
|
+
takes ownership of the filter, so you have to
|
2410
|
+
ref and sink it if you want to keep a reference.</p>
|
2411
|
+
<div class="refsect3">
|
2412
|
+
<a name="id-1.4.12.6.12.34.6"></a><h4>Parameters</h4>
|
2413
|
+
<div class="informaltable"><table width="100%" border="0">
|
2414
|
+
<colgroup>
|
2415
|
+
<col width="150px" class="parameters_name">
|
2416
|
+
<col class="parameters_description">
|
2417
|
+
<col width="200px" class="parameters_annotations">
|
2418
|
+
</colgroup>
|
2419
|
+
<tbody>
|
2420
|
+
<tr>
|
2421
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2422
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2423
|
+
<td class="parameter_annotations"> </td>
|
2424
|
+
</tr>
|
2425
|
+
<tr>
|
2426
|
+
<td class="parameter_name"><p>filter</p></td>
|
2427
|
+
<td class="parameter_description"><p>a <a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a></p></td>
|
2428
|
+
<td class="parameter_annotations"> </td>
|
2429
|
+
</tr>
|
2430
|
+
</tbody>
|
2431
|
+
</table></div>
|
2432
|
+
</div>
|
2433
|
+
<p class="since">Since 2.4</p>
|
2434
|
+
</div>
|
2435
|
+
<hr>
|
2436
|
+
<div class="refsect2">
|
2437
|
+
<a name="gtk-file-chooser-remove-filter"></a><h3>gtk_file_chooser_remove_filter ()</h3>
|
2438
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2439
|
+
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>,
|
2440
|
+
<em class="parameter"><code><a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2441
|
+
<p>Removes <em class="parameter"><code>filter</code></em>
|
2442
|
+
from the list of filters that the user can select between.</p>
|
2443
|
+
<div class="refsect3">
|
2444
|
+
<a name="id-1.4.12.6.12.35.5"></a><h4>Parameters</h4>
|
2445
|
+
<div class="informaltable"><table width="100%" border="0">
|
2446
|
+
<colgroup>
|
2447
|
+
<col width="150px" class="parameters_name">
|
2448
|
+
<col class="parameters_description">
|
2449
|
+
<col width="200px" class="parameters_annotations">
|
2450
|
+
</colgroup>
|
2451
|
+
<tbody>
|
2452
|
+
<tr>
|
2453
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2454
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2455
|
+
<td class="parameter_annotations"> </td>
|
2456
|
+
</tr>
|
2457
|
+
<tr>
|
2458
|
+
<td class="parameter_name"><p>filter</p></td>
|
2459
|
+
<td class="parameter_description"><p>a <a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a></p></td>
|
2460
|
+
<td class="parameter_annotations"> </td>
|
2461
|
+
</tr>
|
2462
|
+
</tbody>
|
2463
|
+
</table></div>
|
2464
|
+
</div>
|
2465
|
+
<p class="since">Since 2.4</p>
|
2466
|
+
</div>
|
2467
|
+
<hr>
|
2468
|
+
<div class="refsect2">
|
2469
|
+
<a name="gtk-file-chooser-list-filters"></a><h3>gtk_file_chooser_list_filters ()</h3>
|
2470
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
2471
|
+
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>
|
2472
|
+
<p>Lists the current set of user-selectable filters; see
|
2473
|
+
<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>.</p>
|
2474
|
+
<div class="refsect3">
|
2475
|
+
<a name="id-1.4.12.6.12.36.5"></a><h4>Parameters</h4>
|
2476
|
+
<div class="informaltable"><table width="100%" border="0">
|
2477
|
+
<colgroup>
|
2478
|
+
<col width="150px" class="parameters_name">
|
2479
|
+
<col class="parameters_description">
|
2480
|
+
<col width="200px" class="parameters_annotations">
|
2481
|
+
</colgroup>
|
2482
|
+
<tbody><tr>
|
2483
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2484
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2485
|
+
<td class="parameter_annotations"> </td>
|
2486
|
+
</tr></tbody>
|
2487
|
+
</table></div>
|
2488
|
+
</div>
|
2489
|
+
<div class="refsect3">
|
2490
|
+
<a name="id-1.4.12.6.12.36.6"></a><h4>Returns</h4>
|
2491
|
+
<p> a
|
2492
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing the current set of user selectable filters. The
|
2493
|
+
contents of the list are owned by GTK+, but you must free the list
|
2494
|
+
itself with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> when you are done with it. </p>
|
2495
|
+
<p><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></p>
|
2496
|
+
</div>
|
2497
|
+
<p class="since">Since 2.4</p>
|
2498
|
+
</div>
|
2499
|
+
<hr>
|
2500
|
+
<div class="refsect2">
|
2501
|
+
<a name="gtk-file-chooser-set-filter"></a><h3>gtk_file_chooser_set_filter ()</h3>
|
2502
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
2503
|
+
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>,
|
2504
|
+
<em class="parameter"><code><a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2505
|
+
<p>Sets the current filter; only the files that pass the
|
2506
|
+
filter will be displayed. If the user-selectable list of filters
|
2507
|
+
is non-empty, then the filter should be one of the filters
|
2508
|
+
in that list. Setting the current filter when the list of
|
2509
|
+
filters is empty is useful if you want to restrict the displayed
|
2510
|
+
set of files without letting the user change it.</p>
|
2511
|
+
<div class="refsect3">
|
2512
|
+
<a name="id-1.4.12.6.12.37.5"></a><h4>Parameters</h4>
|
2513
|
+
<div class="informaltable"><table width="100%" border="0">
|
2514
|
+
<colgroup>
|
2515
|
+
<col width="150px" class="parameters_name">
|
2516
|
+
<col class="parameters_description">
|
2517
|
+
<col width="200px" class="parameters_annotations">
|
2518
|
+
</colgroup>
|
2519
|
+
<tbody>
|
2520
|
+
<tr>
|
2521
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2522
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2523
|
+
<td class="parameter_annotations"> </td>
|
2524
|
+
</tr>
|
2525
|
+
<tr>
|
2526
|
+
<td class="parameter_name"><p>filter</p></td>
|
2527
|
+
<td class="parameter_description"><p>a <a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a></p></td>
|
2528
|
+
<td class="parameter_annotations"> </td>
|
2529
|
+
</tr>
|
2530
|
+
</tbody>
|
2531
|
+
</table></div>
|
2532
|
+
</div>
|
2533
|
+
<p class="since">Since 2.4</p>
|
2534
|
+
</div>
|
2535
|
+
<hr>
|
2536
|
+
<div class="refsect2">
|
2537
|
+
<a name="gtk-file-chooser-get-filter"></a><h3>gtk_file_chooser_get_filter ()</h3>
|
2538
|
+
<pre class="programlisting"><a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="returnvalue">GtkFileFilter</span></a> *
|
2539
|
+
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>
|
2540
|
+
<p>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>.</p>
|
2541
|
+
<div class="refsect3">
|
2542
|
+
<a name="id-1.4.12.6.12.38.5"></a><h4>Parameters</h4>
|
2543
|
+
<div class="informaltable"><table width="100%" border="0">
|
2544
|
+
<colgroup>
|
2545
|
+
<col width="150px" class="parameters_name">
|
2546
|
+
<col class="parameters_description">
|
2547
|
+
<col width="200px" class="parameters_annotations">
|
2548
|
+
</colgroup>
|
2549
|
+
<tbody><tr>
|
2550
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2551
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2552
|
+
<td class="parameter_annotations"> </td>
|
2553
|
+
</tr></tbody>
|
2554
|
+
</table></div>
|
2555
|
+
</div>
|
2556
|
+
<div class="refsect3">
|
2557
|
+
<a name="id-1.4.12.6.12.38.6"></a><h4>Returns</h4>
|
2558
|
+
<p> the current filter, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
2559
|
+
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
2560
|
+
</div>
|
2561
|
+
<p class="since">Since 2.4</p>
|
2562
|
+
</div>
|
2563
|
+
<hr>
|
2564
|
+
<div class="refsect2">
|
2565
|
+
<a name="gtk-file-chooser-add-shortcut-folder-uri"></a><h3>gtk_file_chooser_add_shortcut_folder_uri ()</h3>
|
2566
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2567
|
+
gtk_file_chooser_add_shortcut_folder_uri
|
2568
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2569
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
2570
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2571
|
+
<p>Adds a folder URI to be displayed with the shortcut folders in a file
|
2572
|
+
chooser. Note that shortcut folders do not get saved, as they are provided
|
2573
|
+
by the application. For example, you can use this to add a
|
2574
|
+
"file:///usr/share/mydrawprogram/Clipart" folder to the volume list.</p>
|
2575
|
+
<div class="refsect3">
|
2576
|
+
<a name="id-1.4.12.6.12.39.5"></a><h4>Parameters</h4>
|
2577
|
+
<div class="informaltable"><table width="100%" border="0">
|
2578
|
+
<colgroup>
|
2579
|
+
<col width="150px" class="parameters_name">
|
2580
|
+
<col class="parameters_description">
|
2581
|
+
<col width="200px" class="parameters_annotations">
|
2582
|
+
</colgroup>
|
2583
|
+
<tbody>
|
2584
|
+
<tr>
|
2585
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2586
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2587
|
+
<td class="parameter_annotations"> </td>
|
2588
|
+
</tr>
|
2589
|
+
<tr>
|
2590
|
+
<td class="parameter_name"><p>uri</p></td>
|
2591
|
+
<td class="parameter_description"><p>URI of the folder to add</p></td>
|
2592
|
+
<td class="parameter_annotations"> </td>
|
2593
|
+
</tr>
|
2594
|
+
<tr>
|
2595
|
+
<td class="parameter_name"><p>error</p></td>
|
2596
|
+
<td class="parameter_description"><p> location to store error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2597
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2598
|
+
</tr>
|
2599
|
+
</tbody>
|
2600
|
+
</table></div>
|
2601
|
+
</div>
|
2602
|
+
<div class="refsect3">
|
2603
|
+
<a name="id-1.4.12.6.12.39.6"></a><h4>Returns</h4>
|
2604
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be added successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2605
|
+
otherwise. In the latter case, the <em class="parameter"><code>error</code></em>
|
2606
|
+
will be set as appropriate.</p>
|
2607
|
+
<p></p>
|
2608
|
+
</div>
|
2609
|
+
<p class="since">Since 2.4</p>
|
2610
|
+
</div>
|
2611
|
+
<hr>
|
2612
|
+
<div class="refsect2">
|
2613
|
+
<a name="gtk-file-chooser-remove-shortcut-folder-uri"></a><h3>gtk_file_chooser_remove_shortcut_folder_uri ()</h3>
|
2614
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2615
|
+
gtk_file_chooser_remove_shortcut_folder_uri
|
2616
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2617
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
2618
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2619
|
+
<p>Removes a folder URI from a file chooser's list of shortcut folders.</p>
|
2620
|
+
<div class="refsect3">
|
2621
|
+
<a name="id-1.4.12.6.12.40.5"></a><h4>Parameters</h4>
|
2622
|
+
<div class="informaltable"><table width="100%" border="0">
|
2623
|
+
<colgroup>
|
2624
|
+
<col width="150px" class="parameters_name">
|
2625
|
+
<col class="parameters_description">
|
2626
|
+
<col width="200px" class="parameters_annotations">
|
2627
|
+
</colgroup>
|
2628
|
+
<tbody>
|
2629
|
+
<tr>
|
2630
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2631
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2632
|
+
<td class="parameter_annotations"> </td>
|
2633
|
+
</tr>
|
2634
|
+
<tr>
|
2635
|
+
<td class="parameter_name"><p>uri</p></td>
|
2636
|
+
<td class="parameter_description"><p>URI of the folder to remove</p></td>
|
2637
|
+
<td class="parameter_annotations"> </td>
|
2638
|
+
</tr>
|
2639
|
+
<tr>
|
2640
|
+
<td class="parameter_name"><p>error</p></td>
|
2641
|
+
<td class="parameter_description"><p> location to store error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2642
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2643
|
+
</tr>
|
2644
|
+
</tbody>
|
2645
|
+
</table></div>
|
2646
|
+
</div>
|
2647
|
+
<div class="refsect3">
|
2648
|
+
<a name="id-1.4.12.6.12.40.6"></a><h4>Returns</h4>
|
2649
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeds, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
2650
|
+
In the latter case, the <em class="parameter"><code>error</code></em>
|
2651
|
+
will be set as appropriate.</p>
|
2652
|
+
<p>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></p>
|
2653
|
+
<p></p>
|
2654
|
+
</div>
|
2655
|
+
<p class="since">Since 2.4</p>
|
2656
|
+
</div>
|
2657
|
+
<hr>
|
2658
|
+
<div class="refsect2">
|
2659
|
+
<a name="gtk-file-chooser-list-shortcut-folder-uris"></a><h3>gtk_file_chooser_list_shortcut_folder_uris ()</h3>
|
2660
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
2661
|
+
gtk_file_chooser_list_shortcut_folder_uris
|
2662
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2663
|
+
<p>Queries the list of shortcut folders in the file chooser, as set by
|
2664
|
+
<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>.</p>
|
2665
|
+
<div class="refsect3">
|
2666
|
+
<a name="id-1.4.12.6.12.41.5"></a><h4>Parameters</h4>
|
2667
|
+
<div class="informaltable"><table width="100%" border="0">
|
2668
|
+
<colgroup>
|
2669
|
+
<col width="150px" class="parameters_name">
|
2670
|
+
<col class="parameters_description">
|
2671
|
+
<col width="200px" class="parameters_annotations">
|
2672
|
+
</colgroup>
|
2673
|
+
<tbody><tr>
|
2674
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2675
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2676
|
+
<td class="parameter_annotations"> </td>
|
2677
|
+
</tr></tbody>
|
2678
|
+
</table></div>
|
2679
|
+
</div>
|
2680
|
+
<div class="refsect3">
|
2681
|
+
<a name="id-1.4.12.6.12.41.6"></a><h4>Returns</h4>
|
2682
|
+
<p> A list of folder
|
2683
|
+
URIs, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are no shortcut folders. Free the returned
|
2684
|
+
list with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the URIs with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
2685
|
+
<p><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></p>
|
2686
|
+
</div>
|
2687
|
+
<p class="since">Since 2.4</p>
|
2688
|
+
</div>
|
2689
|
+
<hr>
|
2690
|
+
<div class="refsect2">
|
2691
|
+
<a name="gtk-file-chooser-get-current-folder-file"></a><h3>gtk_file_chooser_get_current_folder_file ()</h3>
|
2692
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
2693
|
+
gtk_file_chooser_get_current_folder_file
|
2694
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2695
|
+
<p>Gets the current folder of <em class="parameter"><code>chooser</code></em>
|
2696
|
+
as <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>.
|
2697
|
+
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>.</p>
|
2698
|
+
<div class="refsect3">
|
2699
|
+
<a name="id-1.4.12.6.12.42.5"></a><h4>Parameters</h4>
|
2700
|
+
<div class="informaltable"><table width="100%" border="0">
|
2701
|
+
<colgroup>
|
2702
|
+
<col width="150px" class="parameters_name">
|
2703
|
+
<col class="parameters_description">
|
2704
|
+
<col width="200px" class="parameters_annotations">
|
2705
|
+
</colgroup>
|
2706
|
+
<tbody><tr>
|
2707
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2708
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2709
|
+
<td class="parameter_annotations"> </td>
|
2710
|
+
</tr></tbody>
|
2711
|
+
</table></div>
|
2712
|
+
</div>
|
2713
|
+
<div class="refsect3">
|
2714
|
+
<a name="id-1.4.12.6.12.42.6"></a><h4>Returns</h4>
|
2715
|
+
<p> the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> for the current folder. </p>
|
2716
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2717
|
+
</div>
|
2718
|
+
<p class="since">Since 2.14</p>
|
2719
|
+
</div>
|
2720
|
+
<hr>
|
2721
|
+
<div class="refsect2">
|
2722
|
+
<a name="gtk-file-chooser-get-file"></a><h3>gtk_file_chooser_get_file ()</h3>
|
2723
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
2724
|
+
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>
|
2725
|
+
<p>Gets the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> for the currently selected file in
|
2726
|
+
the file selector. If multiple files are selected,
|
2727
|
+
one of the files will be returned at random.</p>
|
2728
|
+
<p>If the file chooser is in folder mode, this function returns the selected
|
2729
|
+
folder.</p>
|
2730
|
+
<div class="refsect3">
|
2731
|
+
<a name="id-1.4.12.6.12.43.6"></a><h4>Parameters</h4>
|
2732
|
+
<div class="informaltable"><table width="100%" border="0">
|
2733
|
+
<colgroup>
|
2734
|
+
<col width="150px" class="parameters_name">
|
2735
|
+
<col class="parameters_description">
|
2736
|
+
<col width="200px" class="parameters_annotations">
|
2737
|
+
</colgroup>
|
2738
|
+
<tbody><tr>
|
2739
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2740
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2741
|
+
<td class="parameter_annotations"> </td>
|
2742
|
+
</tr></tbody>
|
2743
|
+
</table></div>
|
2744
|
+
</div>
|
2745
|
+
<div class="refsect3">
|
2746
|
+
<a name="id-1.4.12.6.12.43.7"></a><h4>Returns</h4>
|
2747
|
+
<p> a selected <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>. You own the returned file;
|
2748
|
+
use <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> to release it. </p>
|
2749
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2750
|
+
</div>
|
2751
|
+
<p class="since">Since 2.14</p>
|
2752
|
+
</div>
|
2753
|
+
<hr>
|
2754
|
+
<div class="refsect2">
|
2755
|
+
<a name="gtk-file-chooser-get-files"></a><h3>gtk_file_chooser_get_files ()</h3>
|
2756
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
|
2757
|
+
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>
|
2758
|
+
<p>Lists all the selected files and subfolders in the current folder of <em class="parameter"><code>chooser</code></em>
|
2759
|
+
|
2760
|
+
as <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>. An internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>.</p>
|
2761
|
+
<div class="refsect3">
|
2762
|
+
<a name="id-1.4.12.6.12.44.5"></a><h4>Parameters</h4>
|
2763
|
+
<div class="informaltable"><table width="100%" border="0">
|
2764
|
+
<colgroup>
|
2765
|
+
<col width="150px" class="parameters_name">
|
2766
|
+
<col class="parameters_description">
|
2767
|
+
<col width="200px" class="parameters_annotations">
|
2768
|
+
</colgroup>
|
2769
|
+
<tbody><tr>
|
2770
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2771
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2772
|
+
<td class="parameter_annotations"> </td>
|
2773
|
+
</tr></tbody>
|
2774
|
+
</table></div>
|
2775
|
+
</div>
|
2776
|
+
<div class="refsect3">
|
2777
|
+
<a name="id-1.4.12.6.12.44.6"></a><h4>Returns</h4>
|
2778
|
+
<p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
|
2779
|
+
containing a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> for each selected file and subfolder in the
|
2780
|
+
current folder. Free the returned list with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and
|
2781
|
+
the files with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
2782
|
+
<p><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></p>
|
2783
|
+
</div>
|
2784
|
+
<p class="since">Since 2.14</p>
|
2785
|
+
</div>
|
2786
|
+
<hr>
|
2787
|
+
<div class="refsect2">
|
2788
|
+
<a name="gtk-file-chooser-get-preview-file"></a><h3>gtk_file_chooser_get_preview_file ()</h3>
|
2789
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="returnvalue">GFile</span></a> *
|
2790
|
+
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>Gets the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> that should be previewed in a custom preview
|
2792
|
+
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>.</p>
|
2793
|
+
<div class="refsect3">
|
2794
|
+
<a name="id-1.4.12.6.12.45.5"></a><h4>Parameters</h4>
|
2795
|
+
<div class="informaltable"><table width="100%" border="0">
|
2796
|
+
<colgroup>
|
2797
|
+
<col width="150px" class="parameters_name">
|
2798
|
+
<col class="parameters_description">
|
2799
|
+
<col width="200px" class="parameters_annotations">
|
2800
|
+
</colgroup>
|
2801
|
+
<tbody><tr>
|
2802
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2803
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2804
|
+
<td class="parameter_annotations"> </td>
|
2805
|
+
</tr></tbody>
|
2806
|
+
</table></div>
|
2807
|
+
</div>
|
2808
|
+
<div class="refsect3">
|
2809
|
+
<a name="id-1.4.12.6.12.45.6"></a><h4>Returns</h4>
|
2810
|
+
<p> the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> for the file to preview,
|
2811
|
+
or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no file is selected. Free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
|
2812
|
+
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
2813
|
+
</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"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2820
|
+
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>,
|
2821
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
2822
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2823
|
+
<p>Selects the file referred to by <em class="parameter"><code>file</code></em>
|
2824
|
+
. An internal function. See
|
2825
|
+
<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>.</p>
|
2826
|
+
<div class="refsect3">
|
2827
|
+
<a name="id-1.4.12.6.12.46.5"></a><h4>Parameters</h4>
|
2828
|
+
<div class="informaltable"><table width="100%" border="0">
|
2829
|
+
<colgroup>
|
2830
|
+
<col width="150px" class="parameters_name">
|
2831
|
+
<col class="parameters_description">
|
2832
|
+
<col width="200px" class="parameters_annotations">
|
2833
|
+
</colgroup>
|
2834
|
+
<tbody>
|
2835
|
+
<tr>
|
2836
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2837
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2838
|
+
<td class="parameter_annotations"> </td>
|
2839
|
+
</tr>
|
2840
|
+
<tr>
|
2841
|
+
<td class="parameter_name"><p>file</p></td>
|
2842
|
+
<td class="parameter_description"><p>the file to select</p></td>
|
2843
|
+
<td class="parameter_annotations"> </td>
|
2844
|
+
</tr>
|
2845
|
+
<tr>
|
2846
|
+
<td class="parameter_name"><p>error</p></td>
|
2847
|
+
<td class="parameter_description"><p> location to store error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2848
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2849
|
+
</tr>
|
2850
|
+
</tbody>
|
2851
|
+
</table></div>
|
2852
|
+
</div>
|
2853
|
+
<div class="refsect3">
|
2854
|
+
<a name="id-1.4.12.6.12.46.6"></a><h4>Returns</h4>
|
2855
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the path was
|
2856
|
+
selected successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2857
|
+
<p></p>
|
2858
|
+
</div>
|
2859
|
+
<p class="since">Since 2.14</p>
|
2860
|
+
</div>
|
2861
|
+
<hr>
|
2862
|
+
<div class="refsect2">
|
2863
|
+
<a name="gtk-file-chooser-set-current-folder-file"></a><h3>gtk_file_chooser_set_current_folder_file ()</h3>
|
2864
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2865
|
+
gtk_file_chooser_set_current_folder_file
|
2866
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2867
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
2868
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2869
|
+
<p>Sets the current folder for <em class="parameter"><code>chooser</code></em>
|
2870
|
+
from a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a>.
|
2871
|
+
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>.</p>
|
2872
|
+
<div class="refsect3">
|
2873
|
+
<a name="id-1.4.12.6.12.47.5"></a><h4>Parameters</h4>
|
2874
|
+
<div class="informaltable"><table width="100%" border="0">
|
2875
|
+
<colgroup>
|
2876
|
+
<col width="150px" class="parameters_name">
|
2877
|
+
<col class="parameters_description">
|
2878
|
+
<col width="200px" class="parameters_annotations">
|
2879
|
+
</colgroup>
|
2880
|
+
<tbody>
|
2881
|
+
<tr>
|
2882
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2883
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2884
|
+
<td class="parameter_annotations"> </td>
|
2885
|
+
</tr>
|
2886
|
+
<tr>
|
2887
|
+
<td class="parameter_name"><p>file</p></td>
|
2888
|
+
<td class="parameter_description"><p>the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> for the new folder</p></td>
|
2889
|
+
<td class="parameter_annotations"> </td>
|
2890
|
+
</tr>
|
2891
|
+
<tr>
|
2892
|
+
<td class="parameter_name"><p>error</p></td>
|
2893
|
+
<td class="parameter_description"><p> location to store error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
2894
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2895
|
+
</tr>
|
2896
|
+
</tbody>
|
2897
|
+
</table></div>
|
2898
|
+
</div>
|
2899
|
+
<div class="refsect3">
|
2900
|
+
<a name="id-1.4.12.6.12.47.6"></a><h4>Returns</h4>
|
2901
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2902
|
+
otherwise.</p>
|
2903
|
+
<p></p>
|
2904
|
+
</div>
|
2905
|
+
<p class="since">Since 2.14</p>
|
2906
|
+
</div>
|
2907
|
+
<hr>
|
2908
|
+
<div class="refsect2">
|
2909
|
+
<a name="gtk-file-chooser-set-file"></a><h3>gtk_file_chooser_set_file ()</h3>
|
2910
|
+
<pre class="programlisting"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
2911
|
+
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>,
|
2912
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
2913
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2914
|
+
<p>Sets <em class="parameter"><code>file</code></em>
|
2915
|
+
as the current filename for the file chooser, by changing
|
2916
|
+
to the file's parent folder and actually selecting the file in list. If
|
2917
|
+
the <em class="parameter"><code>chooser</code></em>
|
2918
|
+
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
|
2919
|
+
will also appear in the dialog's file name entry.</p>
|
2920
|
+
<p>If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>
|
2921
|
+
, then the current
|
2922
|
+
folder of <em class="parameter"><code>chooser</code></em>
|
2923
|
+
will be changed to the folder containing <em class="parameter"><code>filename</code></em>
|
2924
|
+
. This
|
2925
|
+
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
|
2926
|
+
<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>.</p>
|
2927
|
+
<p>Note that the file must exist, or nothing will be done except
|
2928
|
+
for the directory change.</p>
|
2929
|
+
<p>If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
|
2930
|
+
you should use this function if you already have a file name to which the
|
2931
|
+
user may save; for example, when the user opens an existing file and then
|
2932
|
+
does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
|
2933
|
+
a file name already — for example, if the user just created a new
|
2934
|
+
file and is saving it for the first time, do not call this function.
|
2935
|
+
Instead, use something similar to this:</p>
|
2936
|
+
<div class="informalexample">
|
2937
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2938
|
+
<tbody>
|
2939
|
+
<tr>
|
2940
|
+
<td class="listing_lines" align="right"><pre>1
|
2941
|
+
2
|
2942
|
+
3
|
2943
|
+
4
|
2944
|
+
5
|
2945
|
+
6
|
2946
|
+
7
|
2947
|
+
8
|
2948
|
+
9
|
2949
|
+
10
|
2950
|
+
11</pre></td>
|
2951
|
+
<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>
|
2952
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
2953
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
2954
|
+
<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>
|
2955
|
+
<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>
|
2956
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
2957
|
+
<span class="keyword">else</span>
|
2958
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
2959
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span>
|
2960
|
+
<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>
|
2961
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
2962
|
+
</tr>
|
2963
|
+
</tbody>
|
2964
|
+
</table>
|
2965
|
+
</div>
|
2966
|
+
|
2967
|
+
<p></p>
|
2968
|
+
<div class="refsect3">
|
2969
|
+
<a name="id-1.4.12.6.12.48.10"></a><h4>Parameters</h4>
|
2970
|
+
<div class="informaltable"><table width="100%" border="0">
|
2971
|
+
<colgroup>
|
2972
|
+
<col width="150px" class="parameters_name">
|
2973
|
+
<col class="parameters_description">
|
2974
|
+
<col width="200px" class="parameters_annotations">
|
2975
|
+
</colgroup>
|
2976
|
+
<tbody>
|
2977
|
+
<tr>
|
2978
|
+
<td class="parameter_name"><p>chooser</p></td>
|
2979
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
2980
|
+
<td class="parameter_annotations"> </td>
|
2981
|
+
</tr>
|
2982
|
+
<tr>
|
2983
|
+
<td class="parameter_name"><p>file</p></td>
|
2984
|
+
<td class="parameter_description"><p>the <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> to set as current</p></td>
|
2985
|
+
<td class="parameter_annotations"> </td>
|
2986
|
+
</tr>
|
2987
|
+
<tr>
|
2988
|
+
<td class="parameter_name"><p>error</p></td>
|
2989
|
+
<td class="parameter_description"><p> location to store the error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. </p></td>
|
2990
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
2991
|
+
</tr>
|
2992
|
+
</tbody>
|
2993
|
+
</table></div>
|
2994
|
+
</div>
|
2995
|
+
<div class="refsect3">
|
2996
|
+
<a name="id-1.4.12.6.12.48.11"></a><h4>Returns</h4>
|
2997
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
|
2998
|
+
selected successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
2999
|
+
<p></p>
|
3000
|
+
</div>
|
3001
|
+
<p class="since">Since 2.14</p>
|
3002
|
+
</div>
|
3003
|
+
<hr>
|
3004
|
+
<div class="refsect2">
|
3005
|
+
<a name="gtk-file-chooser-unselect-file"></a><h3>gtk_file_chooser_unselect_file ()</h3>
|
3006
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3007
|
+
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>,
|
3008
|
+
<em class="parameter"><code><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a> *file</code></em>);</pre>
|
3009
|
+
<p>Unselects the file referred to by <em class="parameter"><code>file</code></em>
|
3010
|
+
. If the file is not in the current
|
3011
|
+
directory, does not exist, or is otherwise not currently selected, does nothing.</p>
|
3012
|
+
<div class="refsect3">
|
3013
|
+
<a name="id-1.4.12.6.12.49.5"></a><h4>Parameters</h4>
|
3014
|
+
<div class="informaltable"><table width="100%" border="0">
|
3015
|
+
<colgroup>
|
3016
|
+
<col width="150px" class="parameters_name">
|
3017
|
+
<col class="parameters_description">
|
3018
|
+
<col width="200px" class="parameters_annotations">
|
3019
|
+
</colgroup>
|
3020
|
+
<tbody>
|
3021
|
+
<tr>
|
3022
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3023
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3024
|
+
<td class="parameter_annotations"> </td>
|
3025
|
+
</tr>
|
3026
|
+
<tr>
|
3027
|
+
<td class="parameter_name"><p>file</p></td>
|
3028
|
+
<td class="parameter_description"><p>a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gio/GFile.html"><span class="type">GFile</span></a></p></td>
|
3029
|
+
<td class="parameter_annotations"> </td>
|
3030
|
+
</tr>
|
3031
|
+
</tbody>
|
3032
|
+
</table></div>
|
3033
|
+
</div>
|
3034
|
+
<p class="since">Since 2.14</p>
|
3035
|
+
</div>
|
3036
|
+
</div>
|
3037
|
+
<div class="refsect1">
|
3038
|
+
<a name="GtkFileChooser.other_details"></a><h2>Types and Values</h2>
|
3039
|
+
<div class="refsect2">
|
3040
|
+
<a name="GtkFileChooser-struct"></a><h3>GtkFileChooser</h3>
|
3041
|
+
<pre class="programlisting">typedef struct _GtkFileChooser GtkFileChooser;</pre>
|
3042
|
+
<p>
|
3043
|
+
</p>
|
3044
|
+
</div>
|
3045
|
+
<hr>
|
3046
|
+
<div class="refsect2">
|
3047
|
+
<a name="GtkFileChooserAction"></a><h3>enum GtkFileChooserAction</h3>
|
3048
|
+
<p>Describes whether a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is being used to open existing files
|
3049
|
+
or to save to a possibly new file.</p>
|
3050
|
+
<div class="refsect3">
|
3051
|
+
<a name="id-1.4.12.6.13.3.4"></a><h4>Members</h4>
|
3052
|
+
<div class="informaltable"><table width="100%" border="0">
|
3053
|
+
<colgroup>
|
3054
|
+
<col width="300px" class="enum_members_name">
|
3055
|
+
<col class="enum_members_description">
|
3056
|
+
<col width="200px" class="enum_members_annotations">
|
3057
|
+
</colgroup>
|
3058
|
+
<tbody>
|
3059
|
+
<tr>
|
3060
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"></a>GTK_FILE_CHOOSER_ACTION_OPEN</p></td>
|
3061
|
+
<td class="enum_member_description">
|
3062
|
+
<p>Indicates open mode. The file chooser
|
3063
|
+
will only let the user pick an existing file.</p>
|
3064
|
+
</td>
|
3065
|
+
<td class="enum_member_annotations"> </td>
|
3066
|
+
</tr>
|
3067
|
+
<tr>
|
3068
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"></a>GTK_FILE_CHOOSER_ACTION_SAVE</p></td>
|
3069
|
+
<td class="enum_member_description">
|
3070
|
+
<p>Indicates save mode. The file chooser
|
3071
|
+
will let the user pick an existing file, or type in a new
|
3072
|
+
filename.</p>
|
3073
|
+
</td>
|
3074
|
+
<td class="enum_member_annotations"> </td>
|
3075
|
+
</tr>
|
3076
|
+
<tr>
|
3077
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"></a>GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</p></td>
|
3078
|
+
<td class="enum_member_description">
|
3079
|
+
<p>Indicates an Open mode for
|
3080
|
+
selecting folders. The file chooser will let the user pick an
|
3081
|
+
existing folder.</p>
|
3082
|
+
</td>
|
3083
|
+
<td class="enum_member_annotations"> </td>
|
3084
|
+
</tr>
|
3085
|
+
<tr>
|
3086
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-ACTION-CREATE-FOLDER:CAPS"></a>GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER</p></td>
|
3087
|
+
<td class="enum_member_description">
|
3088
|
+
<p>Indicates a mode for creating a
|
3089
|
+
new folder. The file chooser will let the user name an existing or
|
3090
|
+
new folder.</p>
|
3091
|
+
</td>
|
3092
|
+
<td class="enum_member_annotations"> </td>
|
3093
|
+
</tr>
|
3094
|
+
</tbody>
|
3095
|
+
</table></div>
|
3096
|
+
</div>
|
3097
|
+
</div>
|
3098
|
+
<hr>
|
3099
|
+
<div class="refsect2">
|
3100
|
+
<a name="GtkFileChooserConfirmation"></a><h3>enum GtkFileChooserConfirmation</h3>
|
3101
|
+
<p>Used as a return value of handlers for the
|
3102
|
+
<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
|
3103
|
+
value determines whether the file chooser will present the stock
|
3104
|
+
confirmation dialog, accept the user's choice of a filename, or
|
3105
|
+
let the user choose another filename.</p>
|
3106
|
+
<div class="refsect3">
|
3107
|
+
<a name="id-1.4.12.6.13.4.4"></a><h4>Members</h4>
|
3108
|
+
<div class="informaltable"><table width="100%" border="0">
|
3109
|
+
<colgroup>
|
3110
|
+
<col width="300px" class="enum_members_name">
|
3111
|
+
<col class="enum_members_description">
|
3112
|
+
<col width="200px" class="enum_members_annotations">
|
3113
|
+
</colgroup>
|
3114
|
+
<tbody>
|
3115
|
+
<tr>
|
3116
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-CONFIRM:CAPS"></a>GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM</p></td>
|
3117
|
+
<td class="enum_member_description">
|
3118
|
+
<p>The file chooser will present
|
3119
|
+
its stock dialog to confirm about overwriting an existing file.</p>
|
3120
|
+
</td>
|
3121
|
+
<td class="enum_member_annotations"> </td>
|
3122
|
+
</tr>
|
3123
|
+
<tr>
|
3124
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-ACCEPT-FILENAME:CAPS"></a>GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</p></td>
|
3125
|
+
<td class="enum_member_description">
|
3126
|
+
<p>The file chooser will
|
3127
|
+
terminate and accept the user's choice of a file name.</p>
|
3128
|
+
</td>
|
3129
|
+
<td class="enum_member_annotations"> </td>
|
3130
|
+
</tr>
|
3131
|
+
<tr>
|
3132
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-SELECT-AGAIN:CAPS"></a>GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</p></td>
|
3133
|
+
<td class="enum_member_description">
|
3134
|
+
<p>The file chooser will
|
3135
|
+
continue running, so as to let the user select another file name.</p>
|
3136
|
+
</td>
|
3137
|
+
<td class="enum_member_annotations"> </td>
|
3138
|
+
</tr>
|
3139
|
+
</tbody>
|
3140
|
+
</table></div>
|
3141
|
+
</div>
|
3142
|
+
<p class="since">Since 2.8</p>
|
3143
|
+
</div>
|
3144
|
+
<hr>
|
3145
|
+
<div class="refsect2">
|
3146
|
+
<a name="GtkFileChooserError"></a><h3>enum GtkFileChooserError</h3>
|
3147
|
+
<p>These identify the various errors that can occur while calling
|
3148
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> functions.</p>
|
3149
|
+
<div class="refsect3">
|
3150
|
+
<a name="id-1.4.12.6.13.5.4"></a><h4>Members</h4>
|
3151
|
+
<div class="informaltable"><table width="100%" border="0">
|
3152
|
+
<colgroup>
|
3153
|
+
<col width="300px" class="enum_members_name">
|
3154
|
+
<col class="enum_members_description">
|
3155
|
+
<col width="200px" class="enum_members_annotations">
|
3156
|
+
</colgroup>
|
3157
|
+
<tbody>
|
3158
|
+
<tr>
|
3159
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-ERROR-NONEXISTENT:CAPS"></a>GTK_FILE_CHOOSER_ERROR_NONEXISTENT</p></td>
|
3160
|
+
<td class="enum_member_description">
|
3161
|
+
<p>Indicates that a file does not exist.</p>
|
3162
|
+
</td>
|
3163
|
+
<td class="enum_member_annotations"> </td>
|
3164
|
+
</tr>
|
3165
|
+
<tr>
|
3166
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-ERROR-BAD-FILENAME:CAPS"></a>GTK_FILE_CHOOSER_ERROR_BAD_FILENAME</p></td>
|
3167
|
+
<td class="enum_member_description">
|
3168
|
+
<p>Indicates a malformed filename.</p>
|
3169
|
+
</td>
|
3170
|
+
<td class="enum_member_annotations"> </td>
|
3171
|
+
</tr>
|
3172
|
+
<tr>
|
3173
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-ERROR-ALREADY-EXISTS:CAPS"></a>GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS</p></td>
|
3174
|
+
<td class="enum_member_description">
|
3175
|
+
<p>Indicates a duplicate path (e.g. when
|
3176
|
+
adding a bookmark).</p>
|
3177
|
+
</td>
|
3178
|
+
<td class="enum_member_annotations"> </td>
|
3179
|
+
</tr>
|
3180
|
+
<tr>
|
3181
|
+
<td class="enum_member_name"><p><a name="GTK-FILE-CHOOSER-ERROR-INCOMPLETE-HOSTNAME:CAPS"></a>GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME</p></td>
|
3182
|
+
<td class="enum_member_description">
|
3183
|
+
<p>Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).</p>
|
3184
|
+
</td>
|
3185
|
+
<td class="enum_member_annotations"> </td>
|
3186
|
+
</tr>
|
3187
|
+
</tbody>
|
3188
|
+
</table></div>
|
3189
|
+
</div>
|
3190
|
+
</div>
|
3191
|
+
<hr>
|
3192
|
+
<div class="refsect2">
|
3193
|
+
<a name="gtk-file-chooser-get-filename"></a><h3>gtk_file_chooser_get_filename</h3>
|
3194
|
+
<pre class="programlisting">#define gtk_file_chooser_get_filename gtk_file_chooser_get_filename_utf8
|
3195
|
+
</pre>
|
3196
|
+
<p>Gets the filename for the currently selected file in
|
3197
|
+
the file selector. If multiple files are selected,
|
3198
|
+
one of the filenames will be returned at random.</p>
|
3199
|
+
<p>If the file chooser is in folder mode, this function returns the selected
|
3200
|
+
folder.</p>
|
3201
|
+
<div class="refsect3">
|
3202
|
+
<a name="id-1.4.12.6.13.6.6"></a><h4>Parameters</h4>
|
3203
|
+
<div class="informaltable"><table width="100%" border="0">
|
3204
|
+
<colgroup>
|
3205
|
+
<col width="150px" class="parameters_name">
|
3206
|
+
<col class="parameters_description">
|
3207
|
+
<col width="200px" class="parameters_annotations">
|
3208
|
+
</colgroup>
|
3209
|
+
<tbody><tr>
|
3210
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3211
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3212
|
+
<td class="parameter_annotations"> </td>
|
3213
|
+
</tr></tbody>
|
3214
|
+
</table></div>
|
3215
|
+
</div>
|
3216
|
+
<div class="refsect3">
|
3217
|
+
<a name="id-1.4.12.6.13.6.7"></a><h4>Returns</h4>
|
3218
|
+
<p> The currently selected filename, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
3219
|
+
if no file is selected, or the selected file can't
|
3220
|
+
be represented with a local filename. Free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
3221
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
3222
|
+
</div>
|
3223
|
+
<p class="since">Since 2.4</p>
|
3224
|
+
</div>
|
3225
|
+
<hr>
|
3226
|
+
<div class="refsect2">
|
3227
|
+
<a name="gtk-file-chooser-set-filename"></a><h3>gtk_file_chooser_set_filename</h3>
|
3228
|
+
<pre class="programlisting">#define gtk_file_chooser_set_filename gtk_file_chooser_set_filename_utf8
|
3229
|
+
</pre>
|
3230
|
+
<p>Sets <em class="parameter"><code>filename</code></em>
|
3231
|
+
as the current filename for the file chooser, by changing
|
3232
|
+
to the file's parent folder and actually selecting the file in list. If
|
3233
|
+
the <em class="parameter"><code>chooser</code></em>
|
3234
|
+
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
|
3235
|
+
will also appear in the dialog's file name entry.</p>
|
3236
|
+
<p>If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>
|
3237
|
+
, then the current
|
3238
|
+
folder of <em class="parameter"><code>chooser</code></em>
|
3239
|
+
will be changed to the folder containing <em class="parameter"><code>filename</code></em>
|
3240
|
+
. This
|
3241
|
+
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
|
3242
|
+
<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>.</p>
|
3243
|
+
<p>Note that the file must exist, or nothing will be done except
|
3244
|
+
for the directory change.</p>
|
3245
|
+
<p>If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
|
3246
|
+
you should use this function if you already have a file name to which the
|
3247
|
+
user may save; for example, when the user opens an existing file and then
|
3248
|
+
does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
|
3249
|
+
a file name already — for example, if the user just created a new
|
3250
|
+
file and is saving it for the first time, do not call this function.
|
3251
|
+
Instead, use something similar to this:</p>
|
3252
|
+
<div class="informalexample">
|
3253
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3254
|
+
<tbody>
|
3255
|
+
<tr>
|
3256
|
+
<td class="listing_lines" align="right"><pre>1
|
3257
|
+
2
|
3258
|
+
3
|
3259
|
+
4
|
3260
|
+
5
|
3261
|
+
6
|
3262
|
+
7
|
3263
|
+
8
|
3264
|
+
9
|
3265
|
+
10
|
3266
|
+
11</pre></td>
|
3267
|
+
<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>
|
3268
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
3269
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
3270
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder">gtk_file_chooser_set_current_folder</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> default_folder_for_saving</span><span class="symbol">);</span>
|
3271
|
+
<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>
|
3272
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
3273
|
+
<span class="keyword">else</span>
|
3274
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
3275
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span><span class="normal"> </span>
|
3276
|
+
<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>
|
3277
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
3278
|
+
</tr>
|
3279
|
+
</tbody>
|
3280
|
+
</table>
|
3281
|
+
</div>
|
3282
|
+
|
3283
|
+
<p></p>
|
3284
|
+
<div class="refsect3">
|
3285
|
+
<a name="id-1.4.12.6.13.7.10"></a><h4>Parameters</h4>
|
3286
|
+
<div class="informaltable"><table width="100%" border="0">
|
3287
|
+
<colgroup>
|
3288
|
+
<col width="150px" class="parameters_name">
|
3289
|
+
<col class="parameters_description">
|
3290
|
+
<col width="200px" class="parameters_annotations">
|
3291
|
+
</colgroup>
|
3292
|
+
<tbody>
|
3293
|
+
<tr>
|
3294
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3295
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3296
|
+
<td class="parameter_annotations"> </td>
|
3297
|
+
</tr>
|
3298
|
+
<tr>
|
3299
|
+
<td class="parameter_name"><p>filename</p></td>
|
3300
|
+
<td class="parameter_description"><p> the filename to set as current. </p></td>
|
3301
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
3302
|
+
</tr>
|
3303
|
+
</tbody>
|
3304
|
+
</table></div>
|
3305
|
+
</div>
|
3306
|
+
<div class="refsect3">
|
3307
|
+
<a name="id-1.4.12.6.13.7.11"></a><h4>Returns</h4>
|
3308
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
|
3309
|
+
selected successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
3310
|
+
<p></p>
|
3311
|
+
</div>
|
3312
|
+
<p class="since">Since 2.4</p>
|
3313
|
+
</div>
|
3314
|
+
<hr>
|
3315
|
+
<div class="refsect2">
|
3316
|
+
<a name="gtk-file-chooser-select-filename"></a><h3>gtk_file_chooser_select_filename</h3>
|
3317
|
+
<pre class="programlisting">#define gtk_file_chooser_select_filename gtk_file_chooser_select_filename_utf8
|
3318
|
+
</pre>
|
3319
|
+
<p>Selects a filename. If the file name isn't in the current
|
3320
|
+
folder of <em class="parameter"><code>chooser</code></em>
|
3321
|
+
, then the current folder of <em class="parameter"><code>chooser</code></em>
|
3322
|
+
will
|
3323
|
+
be changed to the folder containing <em class="parameter"><code>filename</code></em>
|
3324
|
+
.</p>
|
3325
|
+
<div class="refsect3">
|
3326
|
+
<a name="id-1.4.12.6.13.8.5"></a><h4>Parameters</h4>
|
3327
|
+
<div class="informaltable"><table width="100%" border="0">
|
3328
|
+
<colgroup>
|
3329
|
+
<col width="150px" class="parameters_name">
|
3330
|
+
<col class="parameters_description">
|
3331
|
+
<col width="200px" class="parameters_annotations">
|
3332
|
+
</colgroup>
|
3333
|
+
<tbody>
|
3334
|
+
<tr>
|
3335
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3336
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3337
|
+
<td class="parameter_annotations"> </td>
|
3338
|
+
</tr>
|
3339
|
+
<tr>
|
3340
|
+
<td class="parameter_name"><p>filename</p></td>
|
3341
|
+
<td class="parameter_description"><p> the filename to select. </p></td>
|
3342
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
3343
|
+
</tr>
|
3344
|
+
</tbody>
|
3345
|
+
</table></div>
|
3346
|
+
</div>
|
3347
|
+
<div class="refsect3">
|
3348
|
+
<a name="id-1.4.12.6.13.8.6"></a><h4>Returns</h4>
|
3349
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
|
3350
|
+
selected successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
|
3351
|
+
<p></p>
|
3352
|
+
</div>
|
3353
|
+
<p class="since">Since 2.4</p>
|
3354
|
+
</div>
|
3355
|
+
<hr>
|
3356
|
+
<div class="refsect2">
|
3357
|
+
<a name="gtk-file-chooser-unselect-filename"></a><h3>gtk_file_chooser_unselect_filename</h3>
|
3358
|
+
<pre class="programlisting">#define gtk_file_chooser_unselect_filename gtk_file_chooser_unselect_filename_utf8
|
3359
|
+
</pre>
|
3360
|
+
<p>Unselects a currently selected filename. If the filename
|
3361
|
+
is not in the current directory, does not exist, or
|
3362
|
+
is otherwise not currently selected, does nothing.</p>
|
3363
|
+
<div class="refsect3">
|
3364
|
+
<a name="id-1.4.12.6.13.9.5"></a><h4>Parameters</h4>
|
3365
|
+
<div class="informaltable"><table width="100%" border="0">
|
3366
|
+
<colgroup>
|
3367
|
+
<col width="150px" class="parameters_name">
|
3368
|
+
<col class="parameters_description">
|
3369
|
+
<col width="200px" class="parameters_annotations">
|
3370
|
+
</colgroup>
|
3371
|
+
<tbody>
|
3372
|
+
<tr>
|
3373
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3374
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3375
|
+
<td class="parameter_annotations"> </td>
|
3376
|
+
</tr>
|
3377
|
+
<tr>
|
3378
|
+
<td class="parameter_name"><p>filename</p></td>
|
3379
|
+
<td class="parameter_description"><p> the filename to unselect. </p></td>
|
3380
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
3381
|
+
</tr>
|
3382
|
+
</tbody>
|
3383
|
+
</table></div>
|
3384
|
+
</div>
|
3385
|
+
<p class="since">Since 2.4</p>
|
3386
|
+
</div>
|
3387
|
+
<hr>
|
3388
|
+
<div class="refsect2">
|
3389
|
+
<a name="gtk-file-chooser-get-filenames"></a><h3>gtk_file_chooser_get_filenames</h3>
|
3390
|
+
<pre class="programlisting">#define gtk_file_chooser_get_filenames gtk_file_chooser_get_filenames_utf8
|
3391
|
+
</pre>
|
3392
|
+
<p>Lists all the selected files and subfolders in the current folder of
|
3393
|
+
<em class="parameter"><code>chooser</code></em>
|
3394
|
+
. The returned names are full absolute paths. If files in the current
|
3395
|
+
folder cannot be represented as local filenames they will be ignored. (See
|
3396
|
+
<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>)</p>
|
3397
|
+
<div class="refsect3">
|
3398
|
+
<a name="id-1.4.12.6.13.10.5"></a><h4>Parameters</h4>
|
3399
|
+
<div class="informaltable"><table width="100%" border="0">
|
3400
|
+
<colgroup>
|
3401
|
+
<col width="150px" class="parameters_name">
|
3402
|
+
<col class="parameters_description">
|
3403
|
+
<col width="200px" class="parameters_annotations">
|
3404
|
+
</colgroup>
|
3405
|
+
<tbody><tr>
|
3406
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3407
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3408
|
+
<td class="parameter_annotations"> </td>
|
3409
|
+
</tr></tbody>
|
3410
|
+
</table></div>
|
3411
|
+
</div>
|
3412
|
+
<div class="refsect3">
|
3413
|
+
<a name="id-1.4.12.6.13.10.6"></a><h4>Returns</h4>
|
3414
|
+
<p> a <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
|
3415
|
+
containing the filenames of all selected files and subfolders in
|
3416
|
+
the current folder. Free the returned list with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>,
|
3417
|
+
and the filenames with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
3418
|
+
<p><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></p>
|
3419
|
+
</div>
|
3420
|
+
<p class="since">Since 2.4</p>
|
3421
|
+
</div>
|
3422
|
+
<hr>
|
3423
|
+
<div class="refsect2">
|
3424
|
+
<a name="gtk-file-chooser-set-current-folder"></a><h3>gtk_file_chooser_set_current_folder</h3>
|
3425
|
+
<pre class="programlisting">#define gtk_file_chooser_set_current_folder gtk_file_chooser_set_current_folder_utf8
|
3426
|
+
</pre>
|
3427
|
+
<p>Sets the current folder for <em class="parameter"><code>chooser</code></em>
|
3428
|
+
from a local filename.
|
3429
|
+
The user will be shown the full contents of the current folder,
|
3430
|
+
plus user interface elements for navigating to other folders.</p>
|
3431
|
+
<div class="refsect3">
|
3432
|
+
<a name="id-1.4.12.6.13.11.5"></a><h4>Parameters</h4>
|
3433
|
+
<div class="informaltable"><table width="100%" border="0">
|
3434
|
+
<colgroup>
|
3435
|
+
<col width="150px" class="parameters_name">
|
3436
|
+
<col class="parameters_description">
|
3437
|
+
<col width="200px" class="parameters_annotations">
|
3438
|
+
</colgroup>
|
3439
|
+
<tbody>
|
3440
|
+
<tr>
|
3441
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3442
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3443
|
+
<td class="parameter_annotations"> </td>
|
3444
|
+
</tr>
|
3445
|
+
<tr>
|
3446
|
+
<td class="parameter_name"><p>filename</p></td>
|
3447
|
+
<td class="parameter_description"><p> the full path of the new current folder. </p></td>
|
3448
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
3449
|
+
</tr>
|
3450
|
+
</tbody>
|
3451
|
+
</table></div>
|
3452
|
+
</div>
|
3453
|
+
<div class="refsect3">
|
3454
|
+
<a name="id-1.4.12.6.13.11.6"></a><h4>Returns</h4>
|
3455
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
3456
|
+
otherwise.</p>
|
3457
|
+
<p></p>
|
3458
|
+
</div>
|
3459
|
+
<p class="since">Since 2.4</p>
|
3460
|
+
</div>
|
3461
|
+
<hr>
|
3462
|
+
<div class="refsect2">
|
3463
|
+
<a name="gtk-file-chooser-get-current-folder"></a><h3>gtk_file_chooser_get_current_folder</h3>
|
3464
|
+
<pre class="programlisting">#define gtk_file_chooser_get_current_folder gtk_file_chooser_get_current_folder_utf8
|
3465
|
+
</pre>
|
3466
|
+
<p>Gets the current folder of <em class="parameter"><code>chooser</code></em>
|
3467
|
+
as a local filename.
|
3468
|
+
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>.</p>
|
3469
|
+
<p>Note that this is the folder that the file chooser is currently displaying
|
3470
|
+
(e.g. "/home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
|
3471
|
+
as the currently-selected folder if the chooser is in
|
3472
|
+
<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
|
3473
|
+
(e.g. "/home/username/Documents/selected-folder/". To get the
|
3474
|
+
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
|
3475
|
+
usual way to get the selection.</p>
|
3476
|
+
<div class="refsect3">
|
3477
|
+
<a name="id-1.4.12.6.13.12.6"></a><h4>Parameters</h4>
|
3478
|
+
<div class="informaltable"><table width="100%" border="0">
|
3479
|
+
<colgroup>
|
3480
|
+
<col width="150px" class="parameters_name">
|
3481
|
+
<col class="parameters_description">
|
3482
|
+
<col width="200px" class="parameters_annotations">
|
3483
|
+
</colgroup>
|
3484
|
+
<tbody><tr>
|
3485
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3486
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3487
|
+
<td class="parameter_annotations"> </td>
|
3488
|
+
</tr></tbody>
|
3489
|
+
</table></div>
|
3490
|
+
</div>
|
3491
|
+
<div class="refsect3">
|
3492
|
+
<a name="id-1.4.12.6.13.12.7"></a><h4>Returns</h4>
|
3493
|
+
<p> the full path of the current folder,
|
3494
|
+
or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the current path cannot be represented as a local
|
3495
|
+
filename. Free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. This function will also return
|
3496
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the file chooser was unable to load the last folder that
|
3497
|
+
was requested from it; for example, as would be for calling
|
3498
|
+
<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. </p>
|
3499
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
3500
|
+
</div>
|
3501
|
+
<p class="since">Since 2.4</p>
|
3502
|
+
</div>
|
3503
|
+
<hr>
|
3504
|
+
<div class="refsect2">
|
3505
|
+
<a name="gtk-file-chooser-get-preview-filename"></a><h3>gtk_file_chooser_get_preview_filename</h3>
|
3506
|
+
<pre class="programlisting">#define gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_filename_utf8
|
3507
|
+
</pre>
|
3508
|
+
<p>Gets the filename that should be previewed in a custom preview
|
3509
|
+
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>.</p>
|
3510
|
+
<div class="refsect3">
|
3511
|
+
<a name="id-1.4.12.6.13.13.5"></a><h4>Parameters</h4>
|
3512
|
+
<div class="informaltable"><table width="100%" border="0">
|
3513
|
+
<colgroup>
|
3514
|
+
<col width="150px" class="parameters_name">
|
3515
|
+
<col class="parameters_description">
|
3516
|
+
<col width="200px" class="parameters_annotations">
|
3517
|
+
</colgroup>
|
3518
|
+
<tbody><tr>
|
3519
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3520
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3521
|
+
<td class="parameter_annotations"> </td>
|
3522
|
+
</tr></tbody>
|
3523
|
+
</table></div>
|
3524
|
+
</div>
|
3525
|
+
<div class="refsect3">
|
3526
|
+
<a name="id-1.4.12.6.13.13.6"></a><h4>Returns</h4>
|
3527
|
+
<p> the filename to preview, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
3528
|
+
no file is selected, or if the selected file cannot be represented
|
3529
|
+
as a local filename. Free with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
3530
|
+
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></p>
|
3531
|
+
</div>
|
3532
|
+
<p class="since">Since 2.4</p>
|
3533
|
+
</div>
|
3534
|
+
<hr>
|
3535
|
+
<div class="refsect2">
|
3536
|
+
<a name="gtk-file-chooser-add-shortcut-folder"></a><h3>gtk_file_chooser_add_shortcut_folder</h3>
|
3537
|
+
<pre class="programlisting">#define gtk_file_chooser_add_shortcut_folder gtk_file_chooser_add_shortcut_folder_utf8
|
3538
|
+
</pre>
|
3539
|
+
<p>Adds a folder to be displayed with the shortcut folders in a file chooser.
|
3540
|
+
Note that shortcut folders do not get saved, as they are provided by the
|
3541
|
+
application. For example, you can use this to add a
|
3542
|
+
"/usr/share/mydrawprogram/Clipart" folder to the volume list.</p>
|
3543
|
+
<div class="refsect3">
|
3544
|
+
<a name="id-1.4.12.6.13.14.5"></a><h4>Parameters</h4>
|
3545
|
+
<div class="informaltable"><table width="100%" border="0">
|
3546
|
+
<colgroup>
|
3547
|
+
<col width="150px" class="parameters_name">
|
3548
|
+
<col class="parameters_description">
|
3549
|
+
<col width="200px" class="parameters_annotations">
|
3550
|
+
</colgroup>
|
3551
|
+
<tbody>
|
3552
|
+
<tr>
|
3553
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3554
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3555
|
+
<td class="parameter_annotations"> </td>
|
3556
|
+
</tr>
|
3557
|
+
<tr>
|
3558
|
+
<td class="parameter_name"><p>folder</p></td>
|
3559
|
+
<td class="parameter_description"><p> filename of the folder to add. </p></td>
|
3560
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
3561
|
+
</tr>
|
3562
|
+
<tr>
|
3563
|
+
<td class="parameter_name"><p>error</p></td>
|
3564
|
+
<td class="parameter_description"><p> location to store error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3565
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3566
|
+
</tr>
|
3567
|
+
</tbody>
|
3568
|
+
</table></div>
|
3569
|
+
</div>
|
3570
|
+
<div class="refsect3">
|
3571
|
+
<a name="id-1.4.12.6.13.14.6"></a><h4>Returns</h4>
|
3572
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be added successfully, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
3573
|
+
otherwise. In the latter case, the <em class="parameter"><code>error</code></em>
|
3574
|
+
will be set as appropriate.</p>
|
3575
|
+
<p></p>
|
3576
|
+
</div>
|
3577
|
+
<p class="since">Since 2.4</p>
|
3578
|
+
</div>
|
3579
|
+
<hr>
|
3580
|
+
<div class="refsect2">
|
3581
|
+
<a name="gtk-file-chooser-remove-shortcut-folder"></a><h3>gtk_file_chooser_remove_shortcut_folder</h3>
|
3582
|
+
<pre class="programlisting">#define gtk_file_chooser_remove_shortcut_folder gtk_file_chooser_remove_shortcut_folder_utf8
|
3583
|
+
</pre>
|
3584
|
+
<p>Removes a folder from a file chooser's list of shortcut folders.</p>
|
3585
|
+
<div class="refsect3">
|
3586
|
+
<a name="id-1.4.12.6.13.15.5"></a><h4>Parameters</h4>
|
3587
|
+
<div class="informaltable"><table width="100%" border="0">
|
3588
|
+
<colgroup>
|
3589
|
+
<col width="150px" class="parameters_name">
|
3590
|
+
<col class="parameters_description">
|
3591
|
+
<col width="200px" class="parameters_annotations">
|
3592
|
+
</colgroup>
|
3593
|
+
<tbody>
|
3594
|
+
<tr>
|
3595
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3596
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3597
|
+
<td class="parameter_annotations"> </td>
|
3598
|
+
</tr>
|
3599
|
+
<tr>
|
3600
|
+
<td class="parameter_name"><p>folder</p></td>
|
3601
|
+
<td class="parameter_description"><p> filename of the folder to remove. </p></td>
|
3602
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> filename]</span></td>
|
3603
|
+
</tr>
|
3604
|
+
<tr>
|
3605
|
+
<td class="parameter_name"><p>error</p></td>
|
3606
|
+
<td class="parameter_description"><p> location to store error, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
3607
|
+
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
3608
|
+
</tr>
|
3609
|
+
</tbody>
|
3610
|
+
</table></div>
|
3611
|
+
</div>
|
3612
|
+
<div class="refsect3">
|
3613
|
+
<a name="id-1.4.12.6.13.15.6"></a><h4>Returns</h4>
|
3614
|
+
<p> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeds, <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
3615
|
+
In the latter case, the <em class="parameter"><code>error</code></em>
|
3616
|
+
will be set as appropriate.</p>
|
3617
|
+
<p>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></p>
|
3618
|
+
<p></p>
|
3619
|
+
</div>
|
3620
|
+
<p class="since">Since 2.4</p>
|
3621
|
+
</div>
|
3622
|
+
<hr>
|
3623
|
+
<div class="refsect2">
|
3624
|
+
<a name="gtk-file-chooser-list-shortcut-folders"></a><h3>gtk_file_chooser_list_shortcut_folders</h3>
|
3625
|
+
<pre class="programlisting">#define gtk_file_chooser_list_shortcut_folders gtk_file_chooser_list_shortcut_folders_utf8
|
3626
|
+
</pre>
|
3627
|
+
<p>Queries the list of shortcut folders in the file chooser, as set by
|
3628
|
+
<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>.</p>
|
3629
|
+
<div class="refsect3">
|
3630
|
+
<a name="id-1.4.12.6.13.16.5"></a><h4>Parameters</h4>
|
3631
|
+
<div class="informaltable"><table width="100%" border="0">
|
3632
|
+
<colgroup>
|
3633
|
+
<col width="150px" class="parameters_name">
|
3634
|
+
<col class="parameters_description">
|
3635
|
+
<col width="200px" class="parameters_annotations">
|
3636
|
+
</colgroup>
|
3637
|
+
<tbody><tr>
|
3638
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3639
|
+
<td class="parameter_description"><p>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a></p></td>
|
3640
|
+
<td class="parameter_annotations"> </td>
|
3641
|
+
</tr></tbody>
|
3642
|
+
</table></div>
|
3643
|
+
</div>
|
3644
|
+
<div class="refsect3">
|
3645
|
+
<a name="id-1.4.12.6.13.16.6"></a><h4>Returns</h4>
|
3646
|
+
<p> A list of
|
3647
|
+
folder filenames, or <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are no shortcut folders. Free
|
3648
|
+
the returned list with <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the filenames with
|
3649
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
3650
|
+
<p><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></p>
|
3651
|
+
</div>
|
3652
|
+
<p class="since">Since 2.4</p>
|
3653
|
+
</div>
|
3654
|
+
</div>
|
3655
|
+
<div class="refsect1">
|
3656
|
+
<a name="GtkFileChooser.property-details"></a><h2>Property Details</h2>
|
3657
|
+
<div class="refsect2">
|
3658
|
+
<a name="GtkFileChooser--action"></a><h3>The <code class="literal">“action”</code> property</h3>
|
3659
|
+
<pre class="programlisting"> “action” <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a></pre>
|
3660
|
+
<p>The type of operation that the file selector is performing.</p>
|
3661
|
+
<p>Flags: Read / Write</p>
|
3662
|
+
<p>Default value: GTK_FILE_CHOOSER_ACTION_OPEN</p>
|
3663
|
+
</div>
|
3664
|
+
<hr>
|
3665
|
+
<div class="refsect2">
|
3666
|
+
<a name="GtkFileChooser--create-folders"></a><h3>The <code class="literal">“create-folders”</code> property</h3>
|
3667
|
+
<pre class="programlisting"> “create-folders” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3668
|
+
<p>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
|
3669
|
+
will offer the user to create new folders.</p>
|
3670
|
+
<p>Flags: Read / Write</p>
|
3671
|
+
<p>Default value: TRUE</p>
|
3672
|
+
<p class="since">Since 2.18</p>
|
3673
|
+
</div>
|
3674
|
+
<hr>
|
3675
|
+
<div class="refsect2">
|
3676
|
+
<a name="GtkFileChooser--do-overwrite-confirmation"></a><h3>The <code class="literal">“do-overwrite-confirmation”</code> property</h3>
|
3677
|
+
<pre class="programlisting"> “do-overwrite-confirmation” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3678
|
+
<p>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
|
3679
|
+
will present an overwrite confirmation dialog if the user
|
3680
|
+
selects a file name that already exists.</p>
|
3681
|
+
<p>Flags: Read / Write</p>
|
3682
|
+
<p>Default value: FALSE</p>
|
3683
|
+
<p class="since">Since 2.8</p>
|
3684
|
+
</div>
|
3685
|
+
<hr>
|
3686
|
+
<div class="refsect2">
|
3687
|
+
<a name="GtkFileChooser--extra-widget"></a><h3>The <code class="literal">“extra-widget”</code> property</h3>
|
3688
|
+
<pre class="programlisting"> “extra-widget” <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
|
3689
|
+
<p>Application supplied widget for extra options.</p>
|
3690
|
+
<p>Flags: Read / Write</p>
|
3691
|
+
</div>
|
3692
|
+
<hr>
|
3693
|
+
<div class="refsect2">
|
3694
|
+
<a name="GtkFileChooser--file-system-backend"></a><h3>The <code class="literal">“file-system-backend”</code> property</h3>
|
3695
|
+
<pre class="programlisting"> “file-system-backend” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
3696
|
+
<p>Name of file system backend to use.</p>
|
3697
|
+
<p>Flags: Write / Construct Only</p>
|
3698
|
+
<p>Default value: NULL</p>
|
3699
|
+
</div>
|
3700
|
+
<hr>
|
3701
|
+
<div class="refsect2">
|
3702
|
+
<a name="GtkFileChooser--filter"></a><h3>The <code class="literal">“filter”</code> property</h3>
|
3703
|
+
<pre class="programlisting"> “filter” <a class="link" href="gtk2-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *</pre>
|
3704
|
+
<p>The current filter for selecting which files are displayed.</p>
|
3705
|
+
<p>Flags: Read / Write</p>
|
3706
|
+
</div>
|
3707
|
+
<hr>
|
3708
|
+
<div class="refsect2">
|
3709
|
+
<a name="GtkFileChooser--local-only"></a><h3>The <code class="literal">“local-only”</code> property</h3>
|
3710
|
+
<pre class="programlisting"> “local-only” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3711
|
+
<p>Whether the selected file(s) should be limited to local file: URLs.</p>
|
3712
|
+
<p>Flags: Read / Write</p>
|
3713
|
+
<p>Default value: TRUE</p>
|
3714
|
+
</div>
|
3715
|
+
<hr>
|
3716
|
+
<div class="refsect2">
|
3717
|
+
<a name="GtkFileChooser--preview-widget"></a><h3>The <code class="literal">“preview-widget”</code> property</h3>
|
3718
|
+
<pre class="programlisting"> “preview-widget” <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
|
3719
|
+
<p>Application supplied widget for custom previews.</p>
|
3720
|
+
<p>Flags: Read / Write</p>
|
3721
|
+
</div>
|
3722
|
+
<hr>
|
3723
|
+
<div class="refsect2">
|
3724
|
+
<a name="GtkFileChooser--preview-widget-active"></a><h3>The <code class="literal">“preview-widget-active”</code> property</h3>
|
3725
|
+
<pre class="programlisting"> “preview-widget-active” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3726
|
+
<p>Whether the application supplied widget for custom previews should be shown.</p>
|
3727
|
+
<p>Flags: Read / Write</p>
|
3728
|
+
<p>Default value: TRUE</p>
|
3729
|
+
</div>
|
3730
|
+
<hr>
|
3731
|
+
<div class="refsect2">
|
3732
|
+
<a name="GtkFileChooser--select-multiple"></a><h3>The <code class="literal">“select-multiple”</code> property</h3>
|
3733
|
+
<pre class="programlisting"> “select-multiple” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3734
|
+
<p>Whether to allow multiple files to be selected.</p>
|
3735
|
+
<p>Flags: Read / Write</p>
|
3736
|
+
<p>Default value: FALSE</p>
|
3737
|
+
</div>
|
3738
|
+
<hr>
|
3739
|
+
<div class="refsect2">
|
3740
|
+
<a name="GtkFileChooser--show-hidden"></a><h3>The <code class="literal">“show-hidden”</code> property</h3>
|
3741
|
+
<pre class="programlisting"> “show-hidden” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3742
|
+
<p>Whether the hidden files and folders should be displayed.</p>
|
3743
|
+
<p>Flags: Read / Write</p>
|
3744
|
+
<p>Default value: FALSE</p>
|
3745
|
+
</div>
|
3746
|
+
<hr>
|
3747
|
+
<div class="refsect2">
|
3748
|
+
<a name="GtkFileChooser--use-preview-label"></a><h3>The <code class="literal">“use-preview-label”</code> property</h3>
|
3749
|
+
<pre class="programlisting"> “use-preview-label” <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
3750
|
+
<p>Whether to display a stock label with the name of the previewed file.</p>
|
3751
|
+
<p>Flags: Read / Write</p>
|
3752
|
+
<p>Default value: TRUE</p>
|
3753
|
+
</div>
|
3754
|
+
</div>
|
3755
|
+
<div class="refsect1">
|
3756
|
+
<a name="GtkFileChooser.signal-details"></a><h2>Signal Details</h2>
|
3757
|
+
<div class="refsect2">
|
3758
|
+
<a name="GtkFileChooser-confirm-overwrite"></a><h3>The <code class="literal">“confirm-overwrite”</code> signal</h3>
|
3759
|
+
<pre class="programlisting"><a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="returnvalue">GtkFileChooserConfirmation</span></a>
|
3760
|
+
user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
3761
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3762
|
+
<p>This signal gets emitted whenever it is appropriate to present a
|
3763
|
+
confirmation dialog when the user has selected a file name that
|
3764
|
+
already exists. The signal only gets emitted when the file
|
3765
|
+
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.</p>
|
3766
|
+
<p>Most applications just need to turn on the
|
3767
|
+
<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
|
3768
|
+
<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
|
3769
|
+
they will automatically get a stock confirmation dialog.
|
3770
|
+
Applications which need to customize this behavior should do
|
3771
|
+
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>
|
3772
|
+
signal.</p>
|
3773
|
+
<p>A signal handler for this signal must return a
|
3774
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value, which indicates the action to
|
3775
|
+
take. If the handler determines that the user wants to select a
|
3776
|
+
different filename, it should return
|
3777
|
+
<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
|
3778
|
+
that the user is satisfied with his choice of file name, it
|
3779
|
+
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>.
|
3780
|
+
On the other hand, if it determines that the stock confirmation
|
3781
|
+
dialog should be used, it should return
|
3782
|
+
<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
|
3783
|
+
illustrates this.</p>
|
3784
|
+
<div class="example">
|
3785
|
+
<a name="gtkfilechooser-confirmation"></a><p class="title"><b>Example 43. Custom confirmation</b></p>
|
3786
|
+
<div class="example-contents">
|
3787
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
3788
|
+
<tbody>
|
3789
|
+
<tr>
|
3790
|
+
<td class="listing_lines" align="right"><pre>1
|
3791
|
+
2
|
3792
|
+
3
|
3793
|
+
4
|
3794
|
+
5
|
3795
|
+
6
|
3796
|
+
7
|
3797
|
+
8
|
3798
|
+
9
|
3799
|
+
10
|
3800
|
+
11
|
3801
|
+
12
|
3802
|
+
13
|
3803
|
+
14
|
3804
|
+
15
|
3805
|
+
16
|
3806
|
+
17
|
3807
|
+
18
|
3808
|
+
19
|
3809
|
+
20
|
3810
|
+
21
|
3811
|
+
22
|
3812
|
+
23
|
3813
|
+
24
|
3814
|
+
25
|
3815
|
+
26
|
3816
|
+
27
|
3817
|
+
28
|
3818
|
+
29</pre></td>
|
3819
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="GtkFileChooser.html#GtkFileChooserConfirmation">GtkFileChooserConfirmation</a></span>
|
3820
|
+
<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>
|
3821
|
+
<span class="cbracket">{</span>
|
3822
|
+
<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>
|
3823
|
+
|
3824
|
+
<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>
|
3825
|
+
|
3826
|
+
<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>
|
3827
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
3828
|
+
<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>
|
3829
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</span><span class="symbol">;</span>
|
3830
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
3831
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</span><span class="symbol">;</span>
|
3832
|
+
<span class="normal"> </span><span class="cbracket">}</span><span class="normal"> </span><span class="keyword">else</span>
|
3833
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM</span><span class="symbol">;</span><span class="normal"> </span><span class="comment">// fall back to the default dialog</span>
|
3834
|
+
<span class="cbracket">}</span>
|
3835
|
+
|
3836
|
+
<span class="symbol">...</span>
|
3837
|
+
|
3838
|
+
<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>
|
3839
|
+
|
3840
|
+
<span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-do-overwrite-confirmation">gtk_file_chooser_set_do_overwrite_confirmation</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_FILE_CHOOSER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dialog</span><span class="symbol">),</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
3841
|
+
<span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"confirm-overwrite"</span><span class="symbol">,</span>
|
3842
|
+
<span class="normal"> </span><span class="function"><a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">confirm_overwrite_callback</span><span class="symbol">),</span><span class="normal"> <a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
3843
|
+
|
3844
|
+
<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"> GTK_RESPONSE_ACCEPT</span><span class="symbol">)</span>
|
3845
|
+
<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>
|
3846
|
+
|
3847
|
+
<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>
|
3848
|
+
</tr>
|
3849
|
+
</tbody>
|
3850
|
+
</table>
|
3851
|
+
</div>
|
3852
|
+
|
3853
|
+
</div>
|
3854
|
+
<br class="example-break"><div class="refsect3">
|
3855
|
+
<a name="id-1.4.12.6.15.2.8"></a><h4>Parameters</h4>
|
3856
|
+
<div class="informaltable"><table width="100%" border="0">
|
3857
|
+
<colgroup>
|
3858
|
+
<col width="150px" class="parameters_name">
|
3859
|
+
<col class="parameters_description">
|
3860
|
+
<col width="200px" class="parameters_annotations">
|
3861
|
+
</colgroup>
|
3862
|
+
<tbody>
|
3863
|
+
<tr>
|
3864
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3865
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
3866
|
+
<td class="parameter_annotations"> </td>
|
3867
|
+
</tr>
|
3868
|
+
<tr>
|
3869
|
+
<td class="parameter_name"><p>user_data</p></td>
|
3870
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
3871
|
+
<td class="parameter_annotations"> </td>
|
3872
|
+
</tr>
|
3873
|
+
</tbody>
|
3874
|
+
</table></div>
|
3875
|
+
</div>
|
3876
|
+
<div class="refsect3">
|
3877
|
+
<a name="id-1.4.12.6.15.2.9"></a><h4>Returns</h4>
|
3878
|
+
<p> a <a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value that indicates which
|
3879
|
+
action to take after emitting the signal.</p>
|
3880
|
+
<p></p>
|
3881
|
+
</div>
|
3882
|
+
<p>Flags: Run Last</p>
|
3883
|
+
<p class="since">Since 2.8</p>
|
3884
|
+
</div>
|
3885
|
+
<hr>
|
3886
|
+
<div class="refsect2">
|
3887
|
+
<a name="GtkFileChooser-current-folder-changed"></a><h3>The <code class="literal">“current-folder-changed”</code> signal</h3>
|
3888
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3889
|
+
user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
3890
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3891
|
+
<p>This signal is emitted when the current folder in a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
3892
|
+
changes. This can happen due to the user performing some action that
|
3893
|
+
changes folders, such as selecting a bookmark or visiting a folder on the
|
3894
|
+
file list. It can also happen as a result of calling a function to
|
3895
|
+
explicitly change the current folder in a file chooser.</p>
|
3896
|
+
<p>Normally you do not need to connect to this signal, unless you need to keep
|
3897
|
+
track of which folder a file chooser is showing.</p>
|
3898
|
+
<p>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>,
|
3899
|
+
<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>,
|
3900
|
+
<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>,
|
3901
|
+
<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>.</p>
|
3902
|
+
<div class="refsect3">
|
3903
|
+
<a name="id-1.4.12.6.15.3.7"></a><h4>Parameters</h4>
|
3904
|
+
<div class="informaltable"><table width="100%" border="0">
|
3905
|
+
<colgroup>
|
3906
|
+
<col width="150px" class="parameters_name">
|
3907
|
+
<col class="parameters_description">
|
3908
|
+
<col width="200px" class="parameters_annotations">
|
3909
|
+
</colgroup>
|
3910
|
+
<tbody>
|
3911
|
+
<tr>
|
3912
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3913
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
3914
|
+
<td class="parameter_annotations"> </td>
|
3915
|
+
</tr>
|
3916
|
+
<tr>
|
3917
|
+
<td class="parameter_name"><p>user_data</p></td>
|
3918
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
3919
|
+
<td class="parameter_annotations"> </td>
|
3920
|
+
</tr>
|
3921
|
+
</tbody>
|
3922
|
+
</table></div>
|
3923
|
+
</div>
|
3924
|
+
<p>Flags: Run Last</p>
|
3925
|
+
</div>
|
3926
|
+
<hr>
|
3927
|
+
<div class="refsect2">
|
3928
|
+
<a name="GtkFileChooser-file-activated"></a><h3>The <code class="literal">“file-activated”</code> signal</h3>
|
3929
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3930
|
+
user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
3931
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3932
|
+
<p>This signal is emitted when the user "activates" a file in the file
|
3933
|
+
chooser. This can happen by double-clicking on a file in the file list, or
|
3934
|
+
by pressing <span class="keycap"><strong>Enter</strong></span>.</p>
|
3935
|
+
<p>Normally you do not need to connect to this signal. It is used internally
|
3936
|
+
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
|
3937
|
+
dialog.</p>
|
3938
|
+
<p>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>,
|
3939
|
+
<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>,
|
3940
|
+
<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>.</p>
|
3941
|
+
<div class="refsect3">
|
3942
|
+
<a name="id-1.4.12.6.15.4.7"></a><h4>Parameters</h4>
|
3943
|
+
<div class="informaltable"><table width="100%" border="0">
|
3944
|
+
<colgroup>
|
3945
|
+
<col width="150px" class="parameters_name">
|
3946
|
+
<col class="parameters_description">
|
3947
|
+
<col width="200px" class="parameters_annotations">
|
3948
|
+
</colgroup>
|
3949
|
+
<tbody>
|
3950
|
+
<tr>
|
3951
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3952
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
3953
|
+
<td class="parameter_annotations"> </td>
|
3954
|
+
</tr>
|
3955
|
+
<tr>
|
3956
|
+
<td class="parameter_name"><p>user_data</p></td>
|
3957
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
3958
|
+
<td class="parameter_annotations"> </td>
|
3959
|
+
</tr>
|
3960
|
+
</tbody>
|
3961
|
+
</table></div>
|
3962
|
+
</div>
|
3963
|
+
<p>Flags: Run Last</p>
|
3964
|
+
</div>
|
3965
|
+
<hr>
|
3966
|
+
<div class="refsect2">
|
3967
|
+
<a name="GtkFileChooser-selection-changed"></a><h3>The <code class="literal">“selection-changed”</code> signal</h3>
|
3968
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
3969
|
+
user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
3970
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
3971
|
+
<p>This signal is emitted when there is a change in the set of selected files
|
3972
|
+
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
|
3973
|
+
with the mouse or the keyboard, or when explicitly calling functions to
|
3974
|
+
change the selection.</p>
|
3975
|
+
<p>Normally you do not need to connect to this signal, as it is easier to wait
|
3976
|
+
for the file chooser to finish running, and then to get the list of
|
3977
|
+
selected files using the functions mentioned below.</p>
|
3978
|
+
<p>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>,
|
3979
|
+
<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>,
|
3980
|
+
<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>,
|
3981
|
+
<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>,
|
3982
|
+
<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>.</p>
|
3983
|
+
<div class="refsect3">
|
3984
|
+
<a name="id-1.4.12.6.15.5.7"></a><h4>Parameters</h4>
|
3985
|
+
<div class="informaltable"><table width="100%" border="0">
|
3986
|
+
<colgroup>
|
3987
|
+
<col width="150px" class="parameters_name">
|
3988
|
+
<col class="parameters_description">
|
3989
|
+
<col width="200px" class="parameters_annotations">
|
3990
|
+
</colgroup>
|
3991
|
+
<tbody>
|
3992
|
+
<tr>
|
3993
|
+
<td class="parameter_name"><p>chooser</p></td>
|
3994
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
3995
|
+
<td class="parameter_annotations"> </td>
|
3996
|
+
</tr>
|
3997
|
+
<tr>
|
3998
|
+
<td class="parameter_name"><p>user_data</p></td>
|
3999
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
4000
|
+
<td class="parameter_annotations"> </td>
|
4001
|
+
</tr>
|
4002
|
+
</tbody>
|
4003
|
+
</table></div>
|
4004
|
+
</div>
|
4005
|
+
<p>Flags: Run Last</p>
|
4006
|
+
</div>
|
4007
|
+
<hr>
|
4008
|
+
<div class="refsect2">
|
4009
|
+
<a name="GtkFileChooser-update-preview"></a><h3>The <code class="literal">“update-preview”</code> signal</h3>
|
4010
|
+
<pre class="programlisting"><span class="returnvalue">void</span>
|
4011
|
+
user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
4012
|
+
<a href="/home/vagrant/ruby-gnome2.win64/glib2/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
4013
|
+
<p>This signal is emitted when the preview in a file chooser should be
|
4014
|
+
regenerated. For example, this can happen when the currently selected file
|
4015
|
+
changes. You should use this signal if you want your file chooser to have
|
4016
|
+
a preview widget.</p>
|
4017
|
+
<p>Once you have installed a preview widget with
|
4018
|
+
<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
|
4019
|
+
signal is emitted. You can use the functions
|
4020
|
+
<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
|
4021
|
+
<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.
|
4022
|
+
Your widget may not be able to preview all kinds of files; your callback
|
4023
|
+
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
|
4024
|
+
chooser about whether the preview was generated successfully or not.</p>
|
4025
|
+
<p>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>.</p>
|
4026
|
+
<p>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>,
|
4027
|
+
<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>,
|
4028
|
+
<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>,
|
4029
|
+
<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>,
|
4030
|
+
<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>.</p>
|
4031
|
+
<div class="refsect3">
|
4032
|
+
<a name="id-1.4.12.6.15.6.8"></a><h4>Parameters</h4>
|
4033
|
+
<div class="informaltable"><table width="100%" border="0">
|
4034
|
+
<colgroup>
|
4035
|
+
<col width="150px" class="parameters_name">
|
4036
|
+
<col class="parameters_description">
|
4037
|
+
<col width="200px" class="parameters_annotations">
|
4038
|
+
</colgroup>
|
4039
|
+
<tbody>
|
4040
|
+
<tr>
|
4041
|
+
<td class="parameter_name"><p>chooser</p></td>
|
4042
|
+
<td class="parameter_description"><p>the object which received the signal.</p></td>
|
4043
|
+
<td class="parameter_annotations"> </td>
|
4044
|
+
</tr>
|
4045
|
+
<tr>
|
4046
|
+
<td class="parameter_name"><p>user_data</p></td>
|
4047
|
+
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
|
4048
|
+
<td class="parameter_annotations"> </td>
|
4049
|
+
</tr>
|
4050
|
+
</tbody>
|
4051
|
+
</table></div>
|
4052
|
+
</div>
|
4053
|
+
<p>Flags: Run Last</p>
|
4054
|
+
</div>
|
4055
|
+
</div>
|
4056
|
+
<div class="refsect1">
|
4057
|
+
<a name="GtkFileChooser.see-also"></a><h2>See Also</h2>
|
4058
|
+
<p><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></p>
|
4059
|
+
</div>
|
4060
|
+
</div>
|
4061
|
+
<div class="footer">
|
4062
|
+
<hr>
|
4063
|
+
Generated by GTK-Doc V1.21.1</div>
|
4064
|
+
</body>
|
4065
|
+
</html>
|