gtk3 1.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +32 -0
- data/ext/gtk3/conversions.c +34 -0
- data/ext/gtk3/depend +11 -0
- data/ext/gtk3/extconf.rb +108 -0
- data/ext/gtk3/gtk3.def +10 -0
- data/ext/gtk3/init.c +38 -0
- data/ext/gtk3/rbgdkdisplay.c +39 -0
- data/ext/gtk3/rbgdkdragcontext.c +108 -0
- data/ext/gtk3/rbgdkevent.c +38 -0
- data/ext/gtk3/rbgdkscreen.c +61 -0
- data/ext/gtk3/rbgtk.c +625 -0
- data/ext/gtk3/rbgtk3.h +57 -0
- data/ext/gtk3/rbgtk3conversions.h +347 -0
- data/ext/gtk3/rbgtk3private.h +282 -0
- data/ext/gtk3/rbgtk3util.c +67 -0
- data/ext/gtk3/rbgtk3util.h +32 -0
- data/ext/gtk3/rbgtkaboutdialog.c +117 -0
- data/ext/gtk3/rbgtkaccelerator.c +78 -0
- data/ext/gtk3/rbgtkaccelgroup.c +199 -0
- data/ext/gtk3/rbgtkaccelgroupentry.c +93 -0
- data/ext/gtk3/rbgtkaccelkey.c +119 -0
- data/ext/gtk3/rbgtkaccellabel.c +55 -0
- data/ext/gtk3/rbgtkaccelmap.c +135 -0
- data/ext/gtk3/rbgtkaccessible.c +56 -0
- data/ext/gtk3/rbgtkaction.c +205 -0
- data/ext/gtk3/rbgtkactiongroup.c +466 -0
- data/ext/gtk3/rbgtkactivatable.c +30 -0
- data/ext/gtk3/rbgtkadjustment.c +98 -0
- data/ext/gtk3/rbgtkalignment.c +75 -0
- data/ext/gtk3/rbgtkallocation.c +166 -0
- data/ext/gtk3/rbgtkappchooser.c +47 -0
- data/ext/gtk3/rbgtkappchooserbutton.c +70 -0
- data/ext/gtk3/rbgtkappchooserdialog.c +68 -0
- data/ext/gtk3/rbgtkappchooserwidget.c +40 -0
- data/ext/gtk3/rbgtkapplication.c +69 -0
- data/ext/gtk3/rbgtkarrow.c +56 -0
- data/ext/gtk3/rbgtkaspectframe.c +56 -0
- data/ext/gtk3/rbgtkassistant.c +218 -0
- data/ext/gtk3/rbgtkbin.c +42 -0
- data/ext/gtk3/rbgtkbindingset.c +164 -0
- data/ext/gtk3/rbgtkborder.c +119 -0
- data/ext/gtk3/rbgtkbox.c +146 -0
- data/ext/gtk3/rbgtkbuildable.c +96 -0
- data/ext/gtk3/rbgtkbuilder.c +166 -0
- data/ext/gtk3/rbgtkbutton.c +93 -0
- data/ext/gtk3/rbgtkbuttonbox.c +87 -0
- data/ext/gtk3/rbgtkcalendar.c +118 -0
- data/ext/gtk3/rbgtkcelleditable.c +57 -0
- data/ext/gtk3/rbgtkcelllayout.c +144 -0
- data/ext/gtk3/rbgtkcellrenderer.c +116 -0
- data/ext/gtk3/rbgtkcellrendereraccel.c +41 -0
- data/ext/gtk3/rbgtkcellrenderercombo.c +38 -0
- data/ext/gtk3/rbgtkcellrendererpixbuf.c +41 -0
- data/ext/gtk3/rbgtkcellrendererprogress.c +38 -0
- data/ext/gtk3/rbgtkcellrendererspin.c +39 -0
- data/ext/gtk3/rbgtkcellrendererspinner.c +38 -0
- data/ext/gtk3/rbgtkcellrenderertext.c +48 -0
- data/ext/gtk3/rbgtkcellrenderertoggle.c +39 -0
- data/ext/gtk3/rbgtkcellview.c +109 -0
- data/ext/gtk3/rbgtkcheckbutton.c +64 -0
- data/ext/gtk3/rbgtkcheckmenuitem.c +64 -0
- data/ext/gtk3/rbgtkclipboard.c +389 -0
- data/ext/gtk3/rbgtkcolorbutton.c +49 -0
- data/ext/gtk3/rbgtkcolorselection.c +219 -0
- data/ext/gtk3/rbgtkcolorselectiondialog.c +56 -0
- data/ext/gtk3/rbgtkcombobox.c +147 -0
- data/ext/gtk3/rbgtkcomboboxtext.c +138 -0
- data/ext/gtk3/rbgtkconst.c +79 -0
- data/ext/gtk3/rbgtkcontainer.c +784 -0
- data/ext/gtk3/rbgtkcssprovider.c +110 -0
- data/ext/gtk3/rbgtkdialog.c +186 -0
- data/ext/gtk3/rbgtkdrag.c +93 -0
- data/ext/gtk3/rbgtkdrawingarea.c +42 -0
- data/ext/gtk3/rbgtkeditable.c +149 -0
- data/ext/gtk3/rbgtkentry.c +198 -0
- data/ext/gtk3/rbgtkentrybuffer.c +87 -0
- data/ext/gtk3/rbgtkentrycompletion.c +122 -0
- data/ext/gtk3/rbgtkeventbox.c +42 -0
- data/ext/gtk3/rbgtkexpander.c +49 -0
- data/ext/gtk3/rbgtkfilechooser.c +384 -0
- data/ext/gtk3/rbgtkfilechooserbutton.c +50 -0
- data/ext/gtk3/rbgtkfilechooserdialog.c +62 -0
- data/ext/gtk3/rbgtkfilechooserwidget.c +40 -0
- data/ext/gtk3/rbgtkfilefilter.c +128 -0
- data/ext/gtk3/rbgtkfilesystemerror.c +48 -0
- data/ext/gtk3/rbgtkfixed.c +61 -0
- data/ext/gtk3/rbgtkfontbutton.c +49 -0
- data/ext/gtk3/rbgtkfontchooser.c +78 -0
- data/ext/gtk3/rbgtkfontchooserdialog.c +56 -0
- data/ext/gtk3/rbgtkfontchooserwidget.c +45 -0
- data/ext/gtk3/rbgtkframe.c +69 -0
- data/ext/gtk3/rbgtkgrid.c +105 -0
- data/ext/gtk3/rbgtkhandlebox.c +45 -0
- data/ext/gtk3/rbgtkhsv.c +102 -0
- data/ext/gtk3/rbgtkiconfactory.c +85 -0
- data/ext/gtk3/rbgtkiconinfo.c +115 -0
- data/ext/gtk3/rbgtkiconset.c +84 -0
- data/ext/gtk3/rbgtkiconsize.c +91 -0
- data/ext/gtk3/rbgtkiconsource.c +184 -0
- data/ext/gtk3/rbgtkicontheme.c +268 -0
- data/ext/gtk3/rbgtkiconview.c +270 -0
- data/ext/gtk3/rbgtkimage.c +96 -0
- data/ext/gtk3/rbgtkimagemenuitem.c +67 -0
- data/ext/gtk3/rbgtkimcontext.c +133 -0
- data/ext/gtk3/rbgtkimcontextsimple.c +69 -0
- data/ext/gtk3/rbgtkimmulticontext.c +48 -0
- data/ext/gtk3/rbgtkinfobar.c +121 -0
- data/ext/gtk3/rbgtkinvisible.c +49 -0
- data/ext/gtk3/rbgtklabel.c +139 -0
- data/ext/gtk3/rbgtklayout.c +93 -0
- data/ext/gtk3/rbgtklinkbutton.c +55 -0
- data/ext/gtk3/rbgtkliststore.c +408 -0
- data/ext/gtk3/rbgtklockbutton.c +50 -0
- data/ext/gtk3/rbgtkmenu.c +168 -0
- data/ext/gtk3/rbgtkmenubar.c +43 -0
- data/ext/gtk3/rbgtkmenuitem.c +95 -0
- data/ext/gtk3/rbgtkmenushell.c +106 -0
- data/ext/gtk3/rbgtkmenutoolbutton.c +81 -0
- data/ext/gtk3/rbgtkmessagedialog.c +74 -0
- data/ext/gtk3/rbgtkmisc.c +70 -0
- data/ext/gtk3/rbgtknotebook.c +383 -0
- data/ext/gtk3/rbgtknumerableicon.c +50 -0
- data/ext/gtk3/rbgtkorientable.c +27 -0
- data/ext/gtk3/rbgtkoverlay.c +53 -0
- data/ext/gtk3/rbgtkpagesetup.c +195 -0
- data/ext/gtk3/rbgtkpagesetupunixdialog.c +94 -0
- data/ext/gtk3/rbgtkpaned.c +114 -0
- data/ext/gtk3/rbgtkpapersize.c +179 -0
- data/ext/gtk3/rbgtkplug.c +85 -0
- data/ext/gtk3/rbgtkprintcontext.c +125 -0
- data/ext/gtk3/rbgtkprinter.c +155 -0
- data/ext/gtk3/rbgtkprintjob.c +148 -0
- data/ext/gtk3/rbgtkprintoperation.c +149 -0
- data/ext/gtk3/rbgtkprintoperationpreview.c +59 -0
- data/ext/gtk3/rbgtkprintsettings.c +807 -0
- data/ext/gtk3/rbgtkprintunixdialog.c +90 -0
- data/ext/gtk3/rbgtkprogressbar.c +72 -0
- data/ext/gtk3/rbgtkradioaction.c +122 -0
- data/ext/gtk3/rbgtkradiobutton.c +89 -0
- data/ext/gtk3/rbgtkradiomenuitem.c +147 -0
- data/ext/gtk3/rbgtkradiotoolbutton.c +131 -0
- data/ext/gtk3/rbgtkrange.c +68 -0
- data/ext/gtk3/rbgtkrecentaction.c +64 -0
- data/ext/gtk3/rbgtkrecentchooser.c +198 -0
- data/ext/gtk3/rbgtkrecentchooserdialog.c +66 -0
- data/ext/gtk3/rbgtkrecentchoosermenu.c +50 -0
- data/ext/gtk3/rbgtkrecentchooserwidget.c +48 -0
- data/ext/gtk3/rbgtkrecentdata.c +187 -0
- data/ext/gtk3/rbgtkrecentfilter.c +169 -0
- data/ext/gtk3/rbgtkrecentfilterinfo.c +200 -0
- data/ext/gtk3/rbgtkrecentinfo.c +213 -0
- data/ext/gtk3/rbgtkrecentmanager.c +134 -0
- data/ext/gtk3/rbgtkscale.c +97 -0
- data/ext/gtk3/rbgtkscalebutton.c +84 -0
- data/ext/gtk3/rbgtkscrollable.c +31 -0
- data/ext/gtk3/rbgtkscrollbar.c +52 -0
- data/ext/gtk3/rbgtkscrolledwindow.c +122 -0
- data/ext/gtk3/rbgtkselection.c +168 -0
- data/ext/gtk3/rbgtkselectiondata.c +282 -0
- data/ext/gtk3/rbgtkseparator.c +44 -0
- data/ext/gtk3/rbgtkseparatormenuitem.c +39 -0
- data/ext/gtk3/rbgtkseparatortoolitem.c +38 -0
- data/ext/gtk3/rbgtksettings.c +229 -0
- data/ext/gtk3/rbgtksizegroup.c +66 -0
- data/ext/gtk3/rbgtksocket.c +82 -0
- data/ext/gtk3/rbgtkspinbutton.c +132 -0
- data/ext/gtk3/rbgtkspinner.c +55 -0
- data/ext/gtk3/rbgtkstatusbar.c +77 -0
- data/ext/gtk3/rbgtkstatusicon.c +122 -0
- data/ext/gtk3/rbgtkstock.c +213 -0
- data/ext/gtk3/rbgtkstylecontext.c +411 -0
- data/ext/gtk3/rbgtkstyleproperties.c +119 -0
- data/ext/gtk3/rbgtkstyleprovider.c +68 -0
- data/ext/gtk3/rbgtkswitch.c +40 -0
- data/ext/gtk3/rbgtktable.c +190 -0
- data/ext/gtk3/rbgtktargetlist.c +125 -0
- data/ext/gtk3/rbgtktearoffmenuitem.c +41 -0
- data/ext/gtk3/rbgtktextappearance.c +236 -0
- data/ext/gtk3/rbgtktextattributes.c +326 -0
- data/ext/gtk3/rbgtktextbuffer.c +899 -0
- data/ext/gtk3/rbgtktextchildanchor.c +56 -0
- data/ext/gtk3/rbgtktextiter.c +732 -0
- data/ext/gtk3/rbgtktextmark.c +71 -0
- data/ext/gtk3/rbgtktexttag.c +68 -0
- data/ext/gtk3/rbgtktexttagtable.c +96 -0
- data/ext/gtk3/rbgtktextview.c +336 -0
- data/ext/gtk3/rbgtkthemingengine.c +257 -0
- data/ext/gtk3/rbgtktoggleaction.c +61 -0
- data/ext/gtk3/rbgtktogglebutton.c +87 -0
- data/ext/gtk3/rbgtktoggletoolbutton.c +61 -0
- data/ext/gtk3/rbgtktoolbar.c +118 -0
- data/ext/gtk3/rbgtktoolbutton.c +66 -0
- data/ext/gtk3/rbgtktoolitem.c +200 -0
- data/ext/gtk3/rbgtktoolitemgroup.c +70 -0
- data/ext/gtk3/rbgtktoolshell.c +96 -0
- data/ext/gtk3/rbgtktooltip.c +100 -0
- data/ext/gtk3/rbgtktreedragdest.c +28 -0
- data/ext/gtk3/rbgtktreedragsource.c +28 -0
- data/ext/gtk3/rbgtktreeiter.c +258 -0
- data/ext/gtk3/rbgtktreemodel.c +236 -0
- data/ext/gtk3/rbgtktreemodelfilter.c +197 -0
- data/ext/gtk3/rbgtktreemodelsort.c +111 -0
- data/ext/gtk3/rbgtktreepath.c +191 -0
- data/ext/gtk3/rbgtktreerowreference.c +140 -0
- data/ext/gtk3/rbgtktreeselection.c +205 -0
- data/ext/gtk3/rbgtktreesortable.c +122 -0
- data/ext/gtk3/rbgtktreestore.c +330 -0
- data/ext/gtk3/rbgtktreeview.c +715 -0
- data/ext/gtk3/rbgtktreeviewcolumn.c +256 -0
- data/ext/gtk3/rbgtkuimanager.c +189 -0
- data/ext/gtk3/rbgtkviewport.c +44 -0
- data/ext/gtk3/rbgtkvolumebutton.c +41 -0
- data/ext/gtk3/rbgtkwidget.c +1564 -0
- data/ext/gtk3/rbgtkwidgetpath.c +229 -0
- data/ext/gtk3/rbgtkwindow.c +557 -0
- data/ext/gtk3/rbgtkwindowgroup.c +80 -0
- data/extconf.rb +49 -0
- data/lib/1.8/gtk3.so +0 -0
- data/lib/1.9/gtk3.so +0 -0
- data/lib/gtk3.rb +10 -0
- data/lib/gtk3/base.rb +67 -0
- data/lib/gtk3/deprecated.rb +1001 -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 +88 -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 +382 -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 +66 -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 +64 -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 +33 -0
- data/sample/misc/expander.rb +27 -0
- data/sample/misc/filechooser.rb +41 -0
- data/sample/misc/frame.rb +69 -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/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 +49 -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 +52 -0
- data/sample/misc/rgtk+cairo.rb +42 -0
- data/sample/misc/scalebutton.rb +19 -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 +79 -0
- data/sample/misc/tree_progress.rb +63 -0
- data/sample/misc/treemodelfilter.rb +49 -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 +124 -0
- data/sample/testgtk/buttonbox.rb +100 -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 +48 -0
- data/sample/testgtk/entry.rb +73 -0
- data/sample/testgtk/filesel.rb +65 -0
- data/sample/testgtk/fontselection.rb +56 -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 +280 -0
- data/sample/testgtk/pixmap.rb +58 -0
- data/sample/testgtk/progressbar.rb +173 -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/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 +176 -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 +11 -0
- data/test/test_gdk_gc.rb +7 -0
- data/test/test_gdk_keymap.rb +8 -0
- data/test/test_gdk_pango.rb +9 -0
- data/test/test_gdk_selection_data.rb +17 -0
- data/test/test_gdk_window.rb +29 -0
- data/test/test_gdk_window_attribute.rb +9 -0
- data/test/test_gtk_about_dialog.rb +14 -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 +30 -0
- data/test/test_gtk_image.rb +8 -0
- data/test/test_gtk_list_store.rb +65 -0
- data/test/test_gtk_menu_item.rb +13 -0
- data/test/test_gtk_rc_style.rb +14 -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/gtk-update-icon-cache.exe.manifest +17 -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/gtk.immodules +4 -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 +149 -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.lib +0 -0
- data/vendor/local/lib/gdk-win32-2.0.lib +0 -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/libwimp.dll +0 -0
- data/vendor/local/lib/gtk-2.0/include/gdkconfig.h +35 -0
- data/vendor/local/lib/gtk-2.0/modules/libgail.dll +0 -0
- data/vendor/local/lib/gtk-win32-2.0.lib +0 -0
- data/vendor/local/lib/libgailutil.dll.a +0 -0
- data/vendor/local/lib/libgdk-win32-2.0.dll.a +0 -0
- data/vendor/local/lib/libgtk-win32-2.0.dll.a +0 -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/manifest/gtk+-dev_2.24.10-1_win32.mft +947 -0
- data/vendor/local/manifest/gtk+_2.24.10-1_win32.mft +225 -0
- data/vendor/local/share/aclocal/gtk-2.0.m4 +196 -0
- data/vendor/local/share/doc/gtk+-2.24.10/COPYING +482 -0
- data/vendor/local/share/doc/gtk+-dev-2.24.10/COPYING +482 -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 +643 -0
- data/vendor/local/share/gtk-2.0/demo/clipboard.c +326 -0
- data/vendor/local/share/gtk-2.0/demo/colorsel.c +142 -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 +308 -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 +579 -0
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +500 -0
- data/vendor/local/share/gtk-2.0/demo/panes.c +194 -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 +237 -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 +795 -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 +449 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +275 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +30 -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.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.png +0 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +1283 -0
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +262 -0
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +1526 -0
- data/vendor/local/share/gtk-doc/html/gdk/X_cursor.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +74 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +123 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +124 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +124 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +42 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +109 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +515 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +51 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +224 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +123 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +128 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +115 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +1012 -0
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +3674 -0
- data/vendor/local/share/gtk-doc/html/gdk/arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/based_arrow_down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/based_arrow_up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/boat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bogosity.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bottom_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bottom_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bottom_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/bottom_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/box_spiral.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/center_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/circle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/clock.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/coffee_mug.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/cross_reverse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/crosshair.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/diamond_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/dot.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/dotbox.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/draft_large.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/draft_small.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/draped_box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/exchange.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/fleur.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +319 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +611 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +415 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +950 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +1137 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +911 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +2088 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +1690 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +1264 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +1449 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +1182 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +902 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +1653 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +824 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +960 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +297 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +1016 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +861 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +648 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +968 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +1005 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +657 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +210 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +933 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +827 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +6581 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +2486 -0
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +1331 -0
- data/vendor/local/share/gtk-doc/html/gdk/gobbler.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/gumby.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/hand1.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/hand2.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/heart.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/icon.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/index.html +143 -0
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +1446 -0
- data/vendor/local/share/gtk-doc/html/gdk/iron_cross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/left_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/left_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/left_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/leftbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/ll_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/lr_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/man.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/middlebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/mouse.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +201 -0
- data/vendor/local/share/gtk-doc/html/gdk/pencil.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/pirate.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/plus.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/question_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +131 -0
- data/vendor/local/share/gtk-doc/html/gdk/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/right_ptr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/right_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/right_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/rightbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/rotated-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/rtl_logo.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sailboat.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_down_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_h_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_right_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_up_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sb_v_double_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/shuttle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/sizing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/spider.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/spraycan.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/star.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gdk/target.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/tcross.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_left_arrow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_left_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_right_corner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_side.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/top_tee.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/trek.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/ul_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/umbrella.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/ur_angle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/watch.png +0 -0
- data/vendor/local/share/gtk-doc/html/gdk/xterm.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +77 -0
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +83 -0
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +56 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +1423 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +340 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +147 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +1582 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +1222 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +856 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +807 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +390 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +205 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +238 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +1134 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +131 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +773 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +638 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +1121 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +1110 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +555 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +3832 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +2563 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +1059 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +270 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +520 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +1132 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +254 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +227 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +206 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +199 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +161 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +157 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +582 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +351 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +433 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +214 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +436 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +786 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +231 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +507 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +1555 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +298 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +328 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +1510 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +423 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +1323 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +251 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +662 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +3428 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +590 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +1128 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +292 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +739 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +3186 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +498 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +321 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +170 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +611 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +326 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +571 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +526 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +417 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +444 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +127 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +132 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +230 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +108 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +462 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +160 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +125 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +130 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +478 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +947 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +148 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +175 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +1410 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +2689 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +1501 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +456 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +714 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +200 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +197 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +235 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +1172 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +2086 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +577 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +390 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +972 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +438 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +1056 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +1353 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +412 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +882 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +671 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +431 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +786 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +313 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +2682 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +1217 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +186 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +501 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +333 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +937 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +242 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +760 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaperSize.html +820 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +239 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +357 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +652 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +513 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +527 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +2677 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +853 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +931 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +555 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +852 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +367 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +525 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +457 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +327 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +1389 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +267 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +1376 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +228 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +259 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +620 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +1564 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +357 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +537 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +571 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +187 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +738 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +90 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +110 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +211 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +1215 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +440 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +388 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +1260 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +203 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +1716 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +491 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +4192 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +759 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +135 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +3605 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextIter.html +2871 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +325 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +1157 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +381 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +3002 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +452 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +315 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +508 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +279 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +667 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +1147 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +705 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +1007 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +394 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +1851 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +414 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +450 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +767 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +2402 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +654 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +551 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +796 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +458 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +1028 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +4656 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +1845 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +1290 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +133 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +209 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +108 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +129 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +160 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +123 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +111 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +398 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +112 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +10064 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +4007 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +175 -0
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +74 -0
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +68 -0
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +38 -0
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +59 -0
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +47 -0
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +266 -0
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +556 -0
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +104 -0
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +57 -0
- data/vendor/local/share/gtk-doc/html/gtk/aboutdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/accel-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +2095 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +790 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +786 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +602 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +518 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +291 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +465 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +181 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-24.html +121 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-4.html +1858 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +1090 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +386 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +3401 -0
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +22926 -0
- data/vendor/local/share/gtk-doc/html/gtk/application-exit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/assistant.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +246 -0
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +154 -0
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +496 -0
- data/vendor/local/share/gtk-doc/html/gtk/check-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +84 -0
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +89 -0
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk/color-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/colorsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/combo-box-entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/combo-box.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +50 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-information.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-password.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-question.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/dialog-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-new.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-open.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-print-preview.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-print.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-properties.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-revert-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-revert-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-save-as.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/document-save.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/drive-harddisk.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-clear.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-copy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-cut.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-delete.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-find-replace.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-find.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-paste.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-redo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-redo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-select-all.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-undo-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/edit-undo-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/entry.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/figure-hierarchical-drawing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/figure-windowed-label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/file-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/filechooser.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/folder.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/font-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/fontsel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-indent-less-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-indent-less-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-indent-more-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-indent-more-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-justify-center.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-justify-fill.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-justify-left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-justify-right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-text-bold.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-text-italic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-text-strikethrough.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/format-text-underline.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/frame.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +312 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-bottom.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-down.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-first-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-first-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-jump-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-jump-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-last-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-last-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-next-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-next-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-previous-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-previous-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-top.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/go-up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +522 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +857 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +1525 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +1419 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +285 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +346 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +1760 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +123 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +439 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +2571 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +979 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +169 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +1726 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +1601 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +1536 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +1357 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +1565 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +589 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +1497 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +1574 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-apply.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +86 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +441 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-cancel.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-caps-lock-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +568 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +1175 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-color-picker.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +111 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-connect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-convert.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +60 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-disconnect.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-dnd-multiple.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-dnd.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-edit.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-font.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +493 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +509 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-index.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +85 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +160 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +91 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +102 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +118 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +107 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +256 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +80 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +264 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +155 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +310 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +163 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +293 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +45 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +124 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-no.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-ok.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-orientation-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-orientation-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-orientation-reverse-landscape.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-orientation-reverse-portrait.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +53 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-page-setup.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-preferences.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +68 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +1422 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +143 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +344 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-select-color.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-undelete-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-undelete-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +106 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +87 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +134 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk-yes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +6465 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +159 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +95 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +40 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +41 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +55 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +51 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +668 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +206 -0
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +97 -0
- data/vendor/local/share/gtk-doc/html/gtk/help-about.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/help-contents.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/home.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/icon-view.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/image-missing.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/image.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/index.html +875 -0
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +7988 -0
- data/vendor/local/share/gtk-doc/html/gtk/label.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-btlr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-btrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-lrbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-lrtb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-rlbt.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-rltb.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-tblr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/layout-tbrl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/left.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/link-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/list-add.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/list-and-tree.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/list-remove.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-floppy.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-optical.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-playback-pause.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-playback-start-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-playback-start-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-playback-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-record.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-seek-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-seek-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-seek-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-seek-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-skip-backward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-skip-backward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-skip-forward-ltr.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/media-skip-forward-rtl.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/menubar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/messagedialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +94 -0
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +351 -0
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +104 -0
- data/vendor/local/share/gtk-doc/html/gtk/multiline-text.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/network-idle.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +71 -0
- data/vendor/local/share/gtk-doc/html/gtk/notebook.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/pagesetupdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/panes.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printer-error.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printer-info.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printer-paused.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/printer-warning.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/process-stop.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/progressbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +44 -0
- data/vendor/local/share/gtk-doc/html/gtk/radio-group.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/recentchooserdialog.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/right.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/scales.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/scrolledwindow.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/separator.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +77 -0
- data/vendor/local/share/gtk-doc/html/gtk/spinbutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/spinner.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/statusbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/style.css +266 -0
- data/vendor/local/share/gtk-doc/html/gtk/system-run.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/text-x-generic.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/toggle-button.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/toolbar.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/toolpalette.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/tools-check-spelling.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/tree-view-coordinates.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +45 -0
- data/vendor/local/share/gtk-doc/html/gtk/up.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-fullscreen.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-refresh.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-restore.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-sort-ascending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/view-sort-descending.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/volumebutton.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/window-close.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/window.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/zoom-fit-best.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/zoom-in.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/zoom-original.png +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/zoom-out.png +0 -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
- data/vendor/local/src/dieterv/packaging/gtk+_2.24.10-1_win32.log +4954 -0
- data/vendor/local/src/dieterv/packaging/gtk+_2.24.10-1_win32.sh +99 -0
- metadata +1759 -0
@@ -0,0 +1,3186 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
|
+
<title>GtkFileChooser</title>
|
6
|
+
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
+
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
|
+
<link rel="up" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
|
9
|
+
<link rel="prev" href="GtkHSV.html" title="GtkHSV">
|
10
|
+
<link rel="next" href="GtkFileChooserButton.html" title="GtkFileChooserButton">
|
11
|
+
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
|
12
|
+
<link rel="stylesheet" href="style.css" type="text/css">
|
13
|
+
</head>
|
14
|
+
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
15
|
+
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
|
16
|
+
<tr valign="middle">
|
17
|
+
<td><a accesskey="p" href="GtkHSV.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
|
+
<td><a accesskey="u" href="SelectorWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
|
+
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
|
20
|
+
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
|
21
|
+
<td><a accesskey="n" href="GtkFileChooserButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
|
+
</tr>
|
23
|
+
<tr><td colspan="5" class="shortcuts">
|
24
|
+
<a href="#GtkFileChooser.synopsis" class="shortcut">Top</a>
|
25
|
+
|
|
26
|
+
<a href="#GtkFileChooser.description" class="shortcut">Description</a>
|
27
|
+
|
|
28
|
+
<a href="#GtkFileChooser.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
29
|
+
|
|
30
|
+
<a href="#GtkFileChooser.prerequisites" class="shortcut">Prerequisites</a>
|
31
|
+
|
|
32
|
+
<a href="#GtkFileChooser.implementations" class="shortcut">Known Implementations</a>
|
33
|
+
|
|
34
|
+
<a href="#GtkFileChooser.properties" class="shortcut">Properties</a>
|
35
|
+
|
|
36
|
+
<a href="#GtkFileChooser.signals" class="shortcut">Signals</a>
|
37
|
+
</td></tr>
|
38
|
+
</table>
|
39
|
+
<div class="refentry">
|
40
|
+
<a name="GtkFileChooser"></a><div class="titlepage"></div>
|
41
|
+
<div class="refnamediv"><table width="100%"><tr>
|
42
|
+
<td valign="top">
|
43
|
+
<h2><span class="refentrytitle"><a name="GtkFileChooser.top_of_page"></a>GtkFileChooser</span></h2>
|
44
|
+
<p>GtkFileChooser — File chooser interface used by GtkFileChooserWidget and GtkFileChooserDialog</p>
|
45
|
+
</td>
|
46
|
+
<td valign="top" align="right"></td>
|
47
|
+
</tr></table></div>
|
48
|
+
<div class="refsynopsisdiv">
|
49
|
+
<a name="GtkFileChooser.synopsis"></a><h2>Synopsis</h2>
|
50
|
+
<pre class="synopsis">
|
51
|
+
#include <gtk/gtk.h>
|
52
|
+
|
53
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooser-struct" title="GtkFileChooser">GtkFileChooser</a>;
|
54
|
+
enum <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction">GtkFileChooserAction</a>;
|
55
|
+
enum <a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation">GtkFileChooserConfirmation</a>;
|
56
|
+
#define <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ERROR:CAPS" title="GTK_FILE_CHOOSER_ERROR">GTK_FILE_CHOOSER_ERROR</a>
|
57
|
+
enum <a class="link" href="GtkFileChooser.html#GtkFileChooserError" title="enum GtkFileChooserError">GtkFileChooserError</a>;
|
58
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-action" title="gtk_file_chooser_set_action ()">gtk_file_chooser_set_action</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
59
|
+
<em class="parameter"><code><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> action</code></em>);
|
60
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="returnvalue">GtkFileChooserAction</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-action" title="gtk_file_chooser_get_action ()">gtk_file_chooser_get_action</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
61
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-local-only" title="gtk_file_chooser_set_local_only ()">gtk_file_chooser_set_local_only</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
62
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local_only</code></em>);
|
63
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-local-only" title="gtk_file_chooser_get_local_only ()">gtk_file_chooser_get_local_only</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
64
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-select-multiple" title="gtk_file_chooser_set_select_multiple ()">gtk_file_chooser_set_select_multiple</a>
|
65
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
66
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> select_multiple</code></em>);
|
67
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-select-multiple" title="gtk_file_chooser_get_select_multiple ()">gtk_file_chooser_get_select_multiple</a>
|
68
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
69
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-show-hidden" title="gtk_file_chooser_set_show_hidden ()">gtk_file_chooser_set_show_hidden</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
70
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_hidden</code></em>);
|
71
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-show-hidden" title="gtk_file_chooser_get_show_hidden ()">gtk_file_chooser_get_show_hidden</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
72
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-do-overwrite-confirmation" title="gtk_file_chooser_set_do_overwrite_confirmation ()">gtk_file_chooser_set_do_overwrite_confirmation</a>
|
73
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
74
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> do_overwrite_confirmation</code></em>);
|
75
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-do-overwrite-confirmation" title="gtk_file_chooser_get_do_overwrite_confirmation ()">gtk_file_chooser_get_do_overwrite_confirmation</a>
|
76
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
77
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-create-folders" title="gtk_file_chooser_set_create_folders ()">gtk_file_chooser_set_create_folders</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
78
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> create_folders</code></em>);
|
79
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-create-folders" title="gtk_file_chooser_get_create_folders ()">gtk_file_chooser_get_create_folders</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
80
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-name" title="gtk_file_chooser_set_current_name ()">gtk_file_chooser_set_current_name</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
81
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);
|
82
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename">gtk_file_chooser_get_filename</a>
|
83
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filename" title="gtk_file_chooser_set_filename">gtk_file_chooser_set_filename</a>
|
84
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename">gtk_file_chooser_select_filename</a>
|
85
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-filename" title="gtk_file_chooser_unselect_filename">gtk_file_chooser_unselect_filename</a>
|
86
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-all" title="gtk_file_chooser_select_all ()">gtk_file_chooser_select_all</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
87
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()">gtk_file_chooser_unselect_all</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
88
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames">gtk_file_chooser_get_filenames</a>
|
89
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder">gtk_file_chooser_set_current_folder</a>
|
90
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder" title="gtk_file_chooser_get_current_folder">gtk_file_chooser_get_current_folder</a>
|
91
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()">gtk_file_chooser_get_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
92
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-uri" title="gtk_file_chooser_set_uri ()">gtk_file_chooser_set_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
93
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
|
94
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()">gtk_file_chooser_select_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
95
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
|
96
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-uri" title="gtk_file_chooser_unselect_uri ()">gtk_file_chooser_unselect_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
97
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
|
98
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()">gtk_file_chooser_get_uris</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
99
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()">gtk_file_chooser_set_current_folder_uri</a>
|
100
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
101
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
|
102
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder-uri" title="gtk_file_chooser_get_current_folder_uri ()">gtk_file_chooser_get_current_folder_uri</a>
|
103
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
104
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()">gtk_file_chooser_set_preview_widget</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
105
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);
|
106
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-widget" title="gtk_file_chooser_get_preview_widget ()">gtk_file_chooser_get_preview_widget</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
107
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()">gtk_file_chooser_set_preview_widget_active</a>
|
108
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
109
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);
|
110
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-widget-active" title="gtk_file_chooser_get_preview_widget_active ()">gtk_file_chooser_get_preview_widget_active</a>
|
111
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
112
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-use-preview-label" title="gtk_file_chooser_set_use_preview_label ()">gtk_file_chooser_set_use_preview_label</a>
|
113
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
114
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_label</code></em>);
|
115
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-use-preview-label" title="gtk_file_chooser_get_use_preview_label ()">gtk_file_chooser_get_use_preview_label</a>
|
116
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
117
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename">gtk_file_chooser_get_preview_filename</a>
|
118
|
+
<span class="returnvalue">char</span> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()">gtk_file_chooser_get_preview_uri</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
119
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-extra-widget" title="gtk_file_chooser_set_extra_widget ()">gtk_file_chooser_set_extra_widget</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
120
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);
|
121
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-extra-widget" title="gtk_file_chooser_get_extra_widget ()">gtk_file_chooser_get_extra_widget</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
122
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-filter" title="gtk_file_chooser_add_filter ()">gtk_file_chooser_add_filter</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
123
|
+
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
|
124
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-filter" title="gtk_file_chooser_remove_filter ()">gtk_file_chooser_remove_filter</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
125
|
+
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
|
126
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-list-filters" title="gtk_file_chooser_list_filters ()">gtk_file_chooser_list_filters</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
127
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filter" title="gtk_file_chooser_set_filter ()">gtk_file_chooser_set_filter</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
128
|
+
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
|
129
|
+
<a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="returnvalue">GtkFileFilter</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filter" title="gtk_file_chooser_get_filter ()">gtk_file_chooser_get_filter</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
130
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder" title="gtk_file_chooser_add_shortcut_folder">gtk_file_chooser_add_shortcut_folder</a>
|
131
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-shortcut-folder" title="gtk_file_chooser_remove_shortcut_folder">gtk_file_chooser_remove_shortcut_folder</a>
|
132
|
+
#define <a class="link" href="GtkFileChooser.html#gtk-file-chooser-list-shortcut-folders" title="gtk_file_chooser_list_shortcut_folders">gtk_file_chooser_list_shortcut_folders</a>
|
133
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder-uri" title="gtk_file_chooser_add_shortcut_folder_uri ()">gtk_file_chooser_add_shortcut_folder_uri</a>
|
134
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
135
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
136
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
137
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-shortcut-folder-uri" title="gtk_file_chooser_remove_shortcut_folder_uri ()">gtk_file_chooser_remove_shortcut_folder_uri</a>
|
138
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
139
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
140
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
141
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-list-shortcut-folder-uris" title="gtk_file_chooser_list_shortcut_folder_uris ()">gtk_file_chooser_list_shortcut_folder_uris</a>
|
142
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
143
|
+
<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder-file" title="gtk_file_chooser_get_current_folder_file ()">gtk_file_chooser_get_current_folder_file</a>
|
144
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
145
|
+
<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-file" title="gtk_file_chooser_get_file ()">gtk_file_chooser_get_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
146
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-files" title="gtk_file_chooser_get_files ()">gtk_file_chooser_get_files</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
147
|
+
<a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-file" title="gtk_file_chooser_get_preview_file ()">gtk_file_chooser_get_preview_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
148
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-file" title="gtk_file_chooser_select_file ()">gtk_file_chooser_select_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
149
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
150
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
151
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-file" title="gtk_file_chooser_set_current_folder_file ()">gtk_file_chooser_set_current_folder_file</a>
|
152
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
153
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
154
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
155
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-file" title="gtk_file_chooser_set_file ()">gtk_file_chooser_set_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
156
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
157
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
158
|
+
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-file" title="gtk_file_chooser_unselect_file ()">gtk_file_chooser_unselect_file</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
159
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>);
|
160
|
+
</pre>
|
161
|
+
</div>
|
162
|
+
<div class="refsect1">
|
163
|
+
<a name="GtkFileChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
164
|
+
<pre class="synopsis">
|
165
|
+
GInterface
|
166
|
+
+----GtkFileChooser
|
167
|
+
</pre>
|
168
|
+
</div>
|
169
|
+
<div class="refsect1">
|
170
|
+
<a name="GtkFileChooser.prerequisites"></a><h2>Prerequisites</h2>
|
171
|
+
<p>
|
172
|
+
GtkFileChooser requires
|
173
|
+
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
|
174
|
+
</div>
|
175
|
+
<div class="refsect1">
|
176
|
+
<a name="GtkFileChooser.implementations"></a><h2>Known Implementations</h2>
|
177
|
+
<p>
|
178
|
+
GtkFileChooser is implemented by
|
179
|
+
<a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton">GtkFileChooserButton</a>, <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog">GtkFileChooserDialog</a> and <a class="link" href="GtkFileChooserWidget.html" title="GtkFileChooserWidget">GtkFileChooserWidget</a>.</p>
|
180
|
+
</div>
|
181
|
+
<div class="refsect1">
|
182
|
+
<a name="GtkFileChooser.properties"></a><h2>Properties</h2>
|
183
|
+
<pre class="synopsis">
|
184
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--action" title='The "action" property'>action</a>" <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> : Read / Write
|
185
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--create-folders" title='The "create-folders" property'>create-folders</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
186
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--do-overwrite-confirmation" title='The "do-overwrite-confirmation" property'>do-overwrite-confirmation</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
187
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--extra-widget" title='The "extra-widget" property'>extra-widget</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write
|
188
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--file-system-backend" title='The "file-system-backend" property'>file-system-backend</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write / Construct Only
|
189
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--filter" title='The "filter" property'>filter</a>" <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>* : Read / Write
|
190
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--local-only" title='The "local-only" property'>local-only</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
191
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--preview-widget" title='The "preview-widget" property'>preview-widget</a>" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write
|
192
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--preview-widget-active" title='The "preview-widget-active" property'>preview-widget-active</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
193
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--select-multiple" title='The "select-multiple" property'>select-multiple</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
194
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--show-hidden" title='The "show-hidden" property'>show-hidden</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
195
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser--use-preview-label" title='The "use-preview-label" property'>use-preview-label</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write
|
196
|
+
</pre>
|
197
|
+
</div>
|
198
|
+
<div class="refsect1">
|
199
|
+
<a name="GtkFileChooser.signals"></a><h2>Signals</h2>
|
200
|
+
<pre class="synopsis">
|
201
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'>confirm-overwrite</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
202
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-current-folder-changed" title='The "current-folder-changed" signal'>current-folder-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
203
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-file-activated" title='The "file-activated" signal'>file-activated</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
204
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-selection-changed" title='The "selection-changed" signal'>selection-changed</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
205
|
+
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title='The "update-preview" signal'>update-preview</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
|
206
|
+
</pre>
|
207
|
+
</div>
|
208
|
+
<div class="refsect1">
|
209
|
+
<a name="GtkFileChooser.description"></a><h2>Description</h2>
|
210
|
+
<p>
|
211
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is an interface that can be implemented by file
|
212
|
+
selection widgets. In GTK+, the main objects that implement this
|
213
|
+
interface are <a class="link" href="GtkFileChooserWidget.html" title="GtkFileChooserWidget"><span class="type">GtkFileChooserWidget</span></a>, <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a>, and
|
214
|
+
<a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a>. You do not need to write an object that
|
215
|
+
implements the <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> interface unless you are trying to
|
216
|
+
adapt an existing file selector to expose a standard programming
|
217
|
+
interface.
|
218
|
+
</p>
|
219
|
+
<p>
|
220
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> allows for shortcuts to various places in the filesystem.
|
221
|
+
In the default implementation these are displayed in the left pane. It
|
222
|
+
may be a bit confusing at first that these shortcuts come from various
|
223
|
+
sources and in various flavours, so lets explain the terminology here:
|
224
|
+
</p>
|
225
|
+
<div class="variablelist"><table border="0">
|
226
|
+
<col align="left" valign="top">
|
227
|
+
<tbody>
|
228
|
+
<tr>
|
229
|
+
<td><p><span class="term">Bookmarks</span></p></td>
|
230
|
+
<td>
|
231
|
+
are created by the user, by dragging folders from the
|
232
|
+
right pane to the left pane, or by using the "Add". Bookmarks
|
233
|
+
can be renamed and deleted by the user.
|
234
|
+
</td>
|
235
|
+
</tr>
|
236
|
+
<tr>
|
237
|
+
<td><p><span class="term">Shortcuts</span></p></td>
|
238
|
+
<td>
|
239
|
+
can be provided by the application or by the underlying filesystem
|
240
|
+
abstraction (e.g. both the gnome-vfs and the Windows filesystems
|
241
|
+
provide "Desktop" shortcuts). Shortcuts cannot be modified by the
|
242
|
+
user.
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
<tr>
|
246
|
+
<td><p><span class="term">Volumes</span></p></td>
|
247
|
+
<td>
|
248
|
+
are provided by the underlying filesystem abstraction. They are
|
249
|
+
the "roots" of the filesystem.
|
250
|
+
</td>
|
251
|
+
</tr>
|
252
|
+
</tbody>
|
253
|
+
</table></div>
|
254
|
+
<p>
|
255
|
+
</p>
|
256
|
+
<p>
|
257
|
+
</p>
|
258
|
+
<div class="refsect2">
|
259
|
+
<a name="gtkfilechooser-encodings"></a><h3>File Names and Encodings</h3>
|
260
|
+
When the user is finished selecting files in a
|
261
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>, your program can get the selected names
|
262
|
+
either as filenames or as URIs. For URIs, the normal escaping
|
263
|
+
rules are applied if the URI contains non-ASCII characters.
|
264
|
+
However, filenames are <span class="emphasis"><em>always</em></span> returned in
|
265
|
+
the character set specified by the
|
266
|
+
<code class="envar">G_FILENAME_ENCODING</code> environment variable.
|
267
|
+
Please see the Glib documentation for more details about this
|
268
|
+
variable.
|
269
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
270
|
+
<h3 class="title">Note</h3>
|
271
|
+
This means that while you can pass the result of
|
272
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename"><code class="function">gtk_file_chooser_get_filename()</code></a> to
|
273
|
+
<code class="function">open(2)</code> or
|
274
|
+
<code class="function">fopen(3)</code>, you may not be able to
|
275
|
+
directly set it as the text of a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> widget unless you
|
276
|
+
convert it first to UTF-8, which all GTK+ widgets expect.
|
277
|
+
You should use <a href="http://library.gnome.org/devel/glib/unstable/glib-Character-Set-Conversion.html#g-filename-to-utf8"><code class="function">g_filename_to_utf8()</code></a> to convert filenames
|
278
|
+
into strings that can be passed to GTK+ widgets.
|
279
|
+
</div>
|
280
|
+
</div>
|
281
|
+
<p>
|
282
|
+
</p>
|
283
|
+
<hr>
|
284
|
+
<div class="refsect2">
|
285
|
+
<a name="gtkfilechooser-preview"></a><h3>Adding a Preview Widget</h3>
|
286
|
+
<p>
|
287
|
+
You can add a custom preview widget to a file chooser and then
|
288
|
+
get notification about when the preview needs to be updated.
|
289
|
+
To install a preview widget, use
|
290
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>. Then, connect to the
|
291
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title='The "update-preview" signal'><span class="type">"update-preview"</span></a> signal to get notified when
|
292
|
+
you need to update the contents of the preview.
|
293
|
+
</p>
|
294
|
+
<p>
|
295
|
+
Your callback should use
|
296
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename"><code class="function">gtk_file_chooser_get_preview_filename()</code></a> to see what needs
|
297
|
+
previewing. Once you have generated the preview for the
|
298
|
+
corresponding file, you must call
|
299
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a> with a boolean
|
300
|
+
flag that indicates whether your callback could successfully
|
301
|
+
generate a preview.
|
302
|
+
</p>
|
303
|
+
<div class="example">
|
304
|
+
<a name="example-gtkfilechooser-preview"></a><p class="title"><b>Example 40. Sample Usage</b></p>
|
305
|
+
<div class="example-contents">
|
306
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
307
|
+
<tbody>
|
308
|
+
<tr>
|
309
|
+
<td class="listing_lines" align="right"><pre>1
|
310
|
+
2
|
311
|
+
3
|
312
|
+
4
|
313
|
+
5
|
314
|
+
6
|
315
|
+
7
|
316
|
+
8
|
317
|
+
9
|
318
|
+
10
|
319
|
+
11
|
320
|
+
12
|
321
|
+
13
|
322
|
+
14
|
323
|
+
15
|
324
|
+
16
|
325
|
+
17
|
326
|
+
18
|
327
|
+
19
|
328
|
+
20
|
329
|
+
21
|
330
|
+
22
|
331
|
+
23
|
332
|
+
24
|
333
|
+
25
|
334
|
+
26
|
335
|
+
27
|
336
|
+
28
|
337
|
+
29
|
338
|
+
30
|
339
|
+
31
|
340
|
+
32
|
341
|
+
33</pre></td>
|
342
|
+
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
343
|
+
<span class="normal"> </span><span class="usertype">GtkImage</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">preview</span><span class="symbol">;</span>
|
344
|
+
|
345
|
+
<span class="normal"> </span><span class="symbol">...</span>
|
346
|
+
|
347
|
+
<span class="normal"> preview </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkImage.html#gtk-image-new">gtk_image_new</a></span><span class="normal"> </span><span class="symbol">();</span>
|
348
|
+
|
349
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget">gtk_file_chooser_set_preview_widget</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_file_chooser</span><span class="symbol">,</span><span class="normal"> preview</span><span class="symbol">);</span>
|
350
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_file_chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"update-preview"</span><span class="symbol">,</span>
|
351
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">update_preview_cb</span><span class="symbol">),</span><span class="normal"> preview</span><span class="symbol">);</span>
|
352
|
+
<span class="cbracket">}</span>
|
353
|
+
|
354
|
+
<span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
355
|
+
<span class="function">update_preview_cb</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkFileChooser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">file_chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
356
|
+
<span class="cbracket">{</span>
|
357
|
+
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">preview</span><span class="symbol">;</span>
|
358
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">filename</span><span class="symbol">;</span>
|
359
|
+
<span class="normal"> </span><span class="usertype">GdkPixbuf</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">pixbuf</span><span class="symbol">;</span>
|
360
|
+
<span class="normal"> </span><span class="usertype">gboolean</span><span class="normal"> have_preview</span><span class="symbol">;</span>
|
361
|
+
|
362
|
+
<span class="normal"> preview </span><span class="symbol">=</span><span class="normal"> </span><span class="function">GTK_WIDGET</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">);</span>
|
363
|
+
<span class="normal"> filename </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename">gtk_file_chooser_get_preview_filename</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">file_chooser</span><span class="symbol">);</span>
|
364
|
+
|
365
|
+
<span class="normal"> pixbuf </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-File-Loading.html#gdk-pixbuf-new-from-file-at-size">gdk_pixbuf_new_from_file_at_size</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">,</span><span class="normal"> </span><span class="number">128</span><span class="symbol">,</span><span class="normal"> </span><span class="number">128</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
366
|
+
<span class="normal"> have_preview </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
367
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free">g_free</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">filename</span><span class="symbol">);</span>
|
368
|
+
|
369
|
+
<span class="normal"> </span><span class="function"><a href="GtkImage.html#gtk-image-set-from-pixbuf">gtk_image_set_from_pixbuf</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_IMAGE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">preview</span><span class="symbol">),</span><span class="normal"> pixbuf</span><span class="symbol">);</span>
|
370
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">)</span>
|
371
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">pixbuf</span><span class="symbol">);</span>
|
372
|
+
|
373
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active">gtk_file_chooser_set_preview_widget_active</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">file_chooser</span><span class="symbol">,</span><span class="normal"> have_preview</span><span class="symbol">);</span>
|
374
|
+
<span class="cbracket">}</span></pre></td>
|
375
|
+
</tr>
|
376
|
+
</tbody>
|
377
|
+
</table>
|
378
|
+
</div>
|
379
|
+
|
380
|
+
</div>
|
381
|
+
<br class="example-break">
|
382
|
+
</div>
|
383
|
+
<p>
|
384
|
+
</p>
|
385
|
+
<hr>
|
386
|
+
<div class="refsect2">
|
387
|
+
<a name="gtkfilechooser-extra"></a><h3>Adding Extra Widgets</h3>
|
388
|
+
<p>
|
389
|
+
You can add extra widgets to a file chooser to provide options
|
390
|
+
that are not present in the default design. For example, you
|
391
|
+
can add a toggle button to give the user the option to open a
|
392
|
+
file in read-only mode. You can use
|
393
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-extra-widget" title="gtk_file_chooser_set_extra_widget ()"><code class="function">gtk_file_chooser_set_extra_widget()</code></a> to insert additional
|
394
|
+
widgets in a file chooser.
|
395
|
+
</p>
|
396
|
+
<div class="example">
|
397
|
+
<a name="example-gtkfilechooser-extra"></a><p class="title"><b>Example 41. Sample Usage</b></p>
|
398
|
+
<div class="example-contents">
|
399
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
400
|
+
<tbody>
|
401
|
+
<tr>
|
402
|
+
<td class="listing_lines" align="right"><pre>1
|
403
|
+
2
|
404
|
+
3
|
405
|
+
4
|
406
|
+
5
|
407
|
+
6
|
408
|
+
7
|
409
|
+
8</pre></td>
|
410
|
+
<td class="listing_code"><pre class="programlisting"><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">toggle</span><span class="symbol">;</span>
|
411
|
+
|
412
|
+
<span class="symbol">...</span>
|
413
|
+
|
414
|
+
<span class="normal">toggle </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkCheckButton.html#gtk-check-button-new-with-label">gtk_check_button_new_with_label</a></span><span class="normal"> </span><span class="symbol">(</span><span class="string">"Open file read-only"</span><span class="symbol">);</span>
|
415
|
+
<span class="function"><a href="GtkWidget.html#gtk-widget-show">gtk_widget_show</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">toggle</span><span class="symbol">);</span>
|
416
|
+
<span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-extra-widget">gtk_file_chooser_set_extra_widget</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">my_file_chooser</span><span class="symbol">,</span><span class="normal"> toggle</span><span class="symbol">);</span>
|
417
|
+
<span class="cbracket">}</span></pre></td>
|
418
|
+
</tr>
|
419
|
+
</tbody>
|
420
|
+
</table>
|
421
|
+
</div>
|
422
|
+
|
423
|
+
</div>
|
424
|
+
<br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
425
|
+
<h3 class="title">Note</h3>
|
426
|
+
If you want to set more than one extra widget in the file
|
427
|
+
chooser, you can a container such as a <a class="link" href="GtkVBox.html" title="GtkVBox"><span class="type">GtkVBox</span></a> or a <a class="link" href="GtkTable.html" title="GtkTable"><span class="type">GtkTable</span></a>
|
428
|
+
and include your widgets in it. Then, set the container as
|
429
|
+
the whole extra widget.
|
430
|
+
</div>
|
431
|
+
</div>
|
432
|
+
<p>
|
433
|
+
</p>
|
434
|
+
<hr>
|
435
|
+
<div class="refsect2">
|
436
|
+
<a name="gtkfilechooser-key-bindings"></a><h3>Key Bindings</h3>
|
437
|
+
<p>
|
438
|
+
Internally, GTK+ implements a file chooser's graphical user
|
439
|
+
interface with the private
|
440
|
+
<code class="classname">GtkFileChooserDefaultClass</code>. This
|
441
|
+
widget has several <a class="link" href="gtk-Bindings.html" title="Bindings">key
|
442
|
+
bindings</a> and their associated signals. This section
|
443
|
+
describes the available key binding signals.
|
444
|
+
</p>
|
445
|
+
<div class="example">
|
446
|
+
<a name="gtkfilechooser-key-binding-example"></a><p class="title"><b>Example 42. GtkFileChooser key binding example</b></p>
|
447
|
+
<div class="example-contents">
|
448
|
+
<p>
|
449
|
+
The default keys that activate the key-binding signals in
|
450
|
+
<code class="classname">GtkFileChooserDefaultClass</code> are as
|
451
|
+
follows:
|
452
|
+
</p>
|
453
|
+
<div class="informaltable"><table border="1">
|
454
|
+
<colgroup>
|
455
|
+
<col>
|
456
|
+
<col>
|
457
|
+
</colgroup>
|
458
|
+
<tbody>
|
459
|
+
<tr>
|
460
|
+
<td>Signal name</td>
|
461
|
+
<td>Default key combinations</td>
|
462
|
+
</tr>
|
463
|
+
<tr>
|
464
|
+
<td>location-popup</td>
|
465
|
+
<td>
|
466
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span> (empty path);
|
467
|
+
<span class="keycap"><strong>/</strong></span> (path of "/")
|
468
|
+
<sup>[<a name="id1084259" href="#ftn.id1084259" class="footnote">a</a>]</sup>;
|
469
|
+
<span class="keycap"><strong>~</strong></span> (path of "~")
|
470
|
+
</td>
|
471
|
+
</tr>
|
472
|
+
<tr>
|
473
|
+
<td>up-folder</td>
|
474
|
+
<td>
|
475
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span>;
|
476
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Up</strong></span>
|
477
|
+
<sup>[<a name="id1084325" href="#ftn.id1084325" class="footnote">b</a>]</sup>;
|
478
|
+
<span class="keycap"><strong>Backspace</strong></span>
|
479
|
+
</td>
|
480
|
+
</tr>
|
481
|
+
<tr>
|
482
|
+
<td>down-folder</td>
|
483
|
+
<td>
|
484
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span>;
|
485
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Shift</strong></span>+<span class="keycap"><strong>Down</strong></span>
|
486
|
+
<sup>[<a name="id1084384" href="#ftn.id1084384" class="footnote">c</a>]</sup>
|
487
|
+
</td>
|
488
|
+
</tr>
|
489
|
+
<tr>
|
490
|
+
<td>home-folder</td>
|
491
|
+
<td>
|
492
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Home</strong></span>
|
493
|
+
</td>
|
494
|
+
</tr>
|
495
|
+
<tr>
|
496
|
+
<td>desktop-folder</td>
|
497
|
+
<td>
|
498
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>D</strong></span>
|
499
|
+
</td>
|
500
|
+
</tr>
|
501
|
+
<tr>
|
502
|
+
<td>quick-bookmark</td>
|
503
|
+
<td>
|
504
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span> through <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span>
|
505
|
+
</td>
|
506
|
+
</tr>
|
507
|
+
</tbody>
|
508
|
+
<tbody class="footnotes"><tr><td colspan="2">
|
509
|
+
<div class="footnote"><span class="keycap"><strong><sup>[<a name="ftn.id1084259" href="#id1084259" class="keycap">a</a>] </sup>/</strong></span></div>
|
510
|
+
<div class="footnote"></div>
|
511
|
+
<div class="footnote"></div>
|
512
|
+
</td></tr></tbody>
|
513
|
+
</table></div>
|
514
|
+
<p>
|
515
|
+
You can change these defaults to something else. For
|
516
|
+
example, to add a <span class="keycap"><strong>Shift</strong></span> modifier to a few
|
517
|
+
of the default bindings, you can include the following
|
518
|
+
fragment in your <code class="filename">.gtkrc-3.0</code> file:
|
519
|
+
</p>
|
520
|
+
<pre class="programlisting">
|
521
|
+
binding "my-own-gtkfilechooser-bindings" {
|
522
|
+
bind "<Alt><Shift>Up" {
|
523
|
+
"up-folder" ()
|
524
|
+
}
|
525
|
+
bind "<Alt><Shift>Down" {
|
526
|
+
"down-folder" ()
|
527
|
+
}
|
528
|
+
bind "<Alt><Shift>Home" {
|
529
|
+
"home-folder" ()
|
530
|
+
}
|
531
|
+
}
|
532
|
+
|
533
|
+
class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
|
534
|
+
</pre>
|
535
|
+
</div>
|
536
|
+
</div>
|
537
|
+
<br class="example-break"><div class="refsect3">
|
538
|
+
<a name="GtkFileChooserDefault-location-popup"></a><h4>The "GtkFileChooserDefault::location-popup" signal</h4>
|
539
|
+
<pre class="programlisting">
|
540
|
+
void user_function (GtkFileChooserDefault *chooser,
|
541
|
+
const char *path,
|
542
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
543
|
+
</pre>
|
544
|
+
<p>
|
545
|
+
This is used to make the file chooser show a "Location"
|
546
|
+
dialog which the user can use to manually type the name of
|
547
|
+
the file he wishes to select. The
|
548
|
+
<em class="parameter"><code>path</code></em> argument is a string that gets
|
549
|
+
put in the text entry for the file name. By default this is bound to
|
550
|
+
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span>
|
551
|
+
with a <em class="parameter"><code>path</code></em> string of "" (the empty
|
552
|
+
string). It is also bound to <span class="keycap"><strong>/</strong></span> with a
|
553
|
+
<em class="parameter"><code>path</code></em> string of "<code class="literal">/</code>"
|
554
|
+
(a slash): this lets you type <span class="keycap"><strong>/</strong></span> and
|
555
|
+
immediately type a path name. On Unix systems, this is bound to
|
556
|
+
<span class="keycap"><strong>~</strong></span> (tilde) with a <em class="parameter"><code>path</code></em> string
|
557
|
+
of "~" itself for access to home directories.
|
558
|
+
</p>
|
559
|
+
<div class="variablelist"><table border="0">
|
560
|
+
<col align="left" valign="top">
|
561
|
+
<tbody>
|
562
|
+
<tr>
|
563
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
564
|
+
<td>
|
565
|
+
the object which received the signal.
|
566
|
+
</td>
|
567
|
+
</tr>
|
568
|
+
<tr>
|
569
|
+
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
|
570
|
+
<td>
|
571
|
+
default contents for the text entry for the file name
|
572
|
+
</td>
|
573
|
+
</tr>
|
574
|
+
<tr>
|
575
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
576
|
+
<td>
|
577
|
+
user data set when the signal handler was connected.
|
578
|
+
</td>
|
579
|
+
</tr>
|
580
|
+
</tbody>
|
581
|
+
</table></div>
|
582
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
583
|
+
<h3 class="title">Note</h3>
|
584
|
+
You can create your own bindings for the
|
585
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooserDefault-location-popup" title='The "GtkFileChooserDefault::location-popup" signal'><span class="type">"location-popup"</span></a> signal with custom
|
586
|
+
<em class="parameter"><code>path</code></em> strings, and have a crude form
|
587
|
+
of easily-to-type bookmarks. For example, say you access
|
588
|
+
the path <code class="filename">/home/username/misc</code> very
|
589
|
+
frequently. You could then create an <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>M</strong></span>
|
590
|
+
shortcut by including the following in your
|
591
|
+
<code class="filename">.gtkrc-3.0</code>:
|
592
|
+
<pre class="programlisting">
|
593
|
+
binding "misc-shortcut" {
|
594
|
+
bind "<Alt>M" {
|
595
|
+
"location-popup" ("/home/username/misc")
|
596
|
+
}
|
597
|
+
}
|
598
|
+
|
599
|
+
class "GtkFileChooserDefault" binding "misc-shortcut"
|
600
|
+
</pre>
|
601
|
+
</div>
|
602
|
+
</div>
|
603
|
+
<div class="refsect3">
|
604
|
+
<a name="GtkFileChooserDefault-up-folder"></a><h4>The "GtkFileChooserDefault::up-folder" signal</h4>
|
605
|
+
<pre class="programlisting">
|
606
|
+
void user_function (GtkFileChooserDefault *chooser,
|
607
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
608
|
+
</pre>
|
609
|
+
<p>
|
610
|
+
This is used to make the file chooser go to the parent of
|
611
|
+
the current folder in the file hierarchy. By default this
|
612
|
+
is bound to <span class="keycap"><strong>Backspace</strong></span> and
|
613
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span>
|
614
|
+
(the Up key in the numeric keypad also works).
|
615
|
+
</p>
|
616
|
+
<div class="variablelist"><table border="0">
|
617
|
+
<col align="left" valign="top">
|
618
|
+
<tbody>
|
619
|
+
<tr>
|
620
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
621
|
+
<td>
|
622
|
+
the object which received the signal.
|
623
|
+
</td>
|
624
|
+
</tr>
|
625
|
+
<tr>
|
626
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
627
|
+
<td>
|
628
|
+
user data set when the signal handler was connected.
|
629
|
+
</td>
|
630
|
+
</tr>
|
631
|
+
</tbody>
|
632
|
+
</table></div>
|
633
|
+
</div>
|
634
|
+
<div class="refsect3">
|
635
|
+
<a name="GtkFileChooserDefault-down-folder"></a><h4>The "GtkFileChooserDefault::down-folder" signal</h4>
|
636
|
+
<pre class="programlisting">
|
637
|
+
void user_function (GtkFileChooserDefault *chooser,
|
638
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
639
|
+
</pre>
|
640
|
+
<p>
|
641
|
+
This is used to make the file chooser go to a child of the
|
642
|
+
current folder in the file hierarchy. The subfolder that
|
643
|
+
will be used is displayed in the path bar widget of the file
|
644
|
+
chooser. For example, if the path bar is showing
|
645
|
+
"/foo/<span class="emphasis"><em>bar/</em></span>baz", then this will cause
|
646
|
+
the file chooser to switch to the "baz" subfolder. By
|
647
|
+
default this is bound to
|
648
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span>
|
649
|
+
(the Down key in the numeric keypad also works).
|
650
|
+
</p>
|
651
|
+
<div class="variablelist"><table border="0">
|
652
|
+
<col align="left" valign="top">
|
653
|
+
<tbody>
|
654
|
+
<tr>
|
655
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
656
|
+
<td>
|
657
|
+
the object which received the signal.
|
658
|
+
</td>
|
659
|
+
</tr>
|
660
|
+
<tr>
|
661
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
662
|
+
<td>
|
663
|
+
user data set when the signal handler was connected.
|
664
|
+
</td>
|
665
|
+
</tr>
|
666
|
+
</tbody>
|
667
|
+
</table></div>
|
668
|
+
</div>
|
669
|
+
<div class="refsect3">
|
670
|
+
<a name="GtkFileChooserDefault-home-folder"></a><h4>The "GtkFileChooserDefault::home-folder" signal</h4>
|
671
|
+
<pre class="programlisting">
|
672
|
+
void user_function (GtkFileChooserDefault *chooser,
|
673
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
674
|
+
</pre>
|
675
|
+
<p>
|
676
|
+
This is used to make the file chooser show the user's home
|
677
|
+
folder in the file list. By default this is bound to
|
678
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Home</strong></span>
|
679
|
+
(the Home key in the numeric keypad also works).
|
680
|
+
</p>
|
681
|
+
<div class="variablelist"><table border="0">
|
682
|
+
<col align="left" valign="top">
|
683
|
+
<tbody>
|
684
|
+
<tr>
|
685
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
686
|
+
<td>
|
687
|
+
the object which received the signal.
|
688
|
+
</td>
|
689
|
+
</tr>
|
690
|
+
<tr>
|
691
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
692
|
+
<td>
|
693
|
+
user data set when the signal handler was connected.
|
694
|
+
</td>
|
695
|
+
</tr>
|
696
|
+
</tbody>
|
697
|
+
</table></div>
|
698
|
+
</div>
|
699
|
+
<div class="refsect3">
|
700
|
+
<a name="GtkFileChooserDefault-desktop-folder"></a><h4>The "GtkFileChooserDefault::desktop-folder" signal</h4>
|
701
|
+
<pre class="programlisting">
|
702
|
+
void user_function (GtkFileChooserDefault *chooser,
|
703
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
704
|
+
</pre>
|
705
|
+
<p>
|
706
|
+
This is used to make the file chooser show the user's Desktop
|
707
|
+
folder in the file list. By default this is bound to
|
708
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>D</strong></span>.
|
709
|
+
</p>
|
710
|
+
<div class="variablelist"><table border="0">
|
711
|
+
<col align="left" valign="top">
|
712
|
+
<tbody>
|
713
|
+
<tr>
|
714
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
715
|
+
<td>
|
716
|
+
the object which received the signal.
|
717
|
+
</td>
|
718
|
+
</tr>
|
719
|
+
<tr>
|
720
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
721
|
+
<td>
|
722
|
+
user data set when the signal handler was connected.
|
723
|
+
</td>
|
724
|
+
</tr>
|
725
|
+
</tbody>
|
726
|
+
</table></div>
|
727
|
+
</div>
|
728
|
+
<div class="refsect3">
|
729
|
+
<a name="GtkFileChooserDefault-quick-bookmark"></a><h4>The "GtkFileChooserDefault::quick-bookmark" signal</h4>
|
730
|
+
<pre class="programlisting">
|
731
|
+
void user_function (GtkFileChooserDefault *chooser,
|
732
|
+
gint bookmark_index,
|
733
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer">gpointer</a> user_data);
|
734
|
+
</pre>
|
735
|
+
<p>
|
736
|
+
This is used to make the file chooser switch to the bookmark
|
737
|
+
specified in the <em class="parameter"><code>bookmark_index</code></em> parameter.
|
738
|
+
For example, if you have three bookmarks, you can pass 0, 1, 2 to
|
739
|
+
this signal to switch to each of them, respectively. By default this is bound to
|
740
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span>,
|
741
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>2</strong></span>,
|
742
|
+
etc. until
|
743
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span>. Note
|
744
|
+
that in the default binding,
|
745
|
+
that <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>1</strong></span> is
|
746
|
+
actually defined to switch to the bookmark at index 0, and so on
|
747
|
+
successively;
|
748
|
+
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>0</strong></span> is
|
749
|
+
defined to switch to the bookmark at index 10.
|
750
|
+
</p>
|
751
|
+
<div class="variablelist"><table border="0">
|
752
|
+
<col align="left" valign="top">
|
753
|
+
<tbody>
|
754
|
+
<tr>
|
755
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
756
|
+
<td>
|
757
|
+
the object which received the signal.
|
758
|
+
</td>
|
759
|
+
</tr>
|
760
|
+
<tr>
|
761
|
+
<td><p><span class="term"><em class="parameter"><code>bookmark_indes</code></em> :</span></p></td>
|
762
|
+
<td>
|
763
|
+
index of the bookmark to switch to; the indices start at 0.
|
764
|
+
</td>
|
765
|
+
</tr>
|
766
|
+
<tr>
|
767
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
768
|
+
<td>
|
769
|
+
user data set when the signal handler was connected.
|
770
|
+
</td>
|
771
|
+
</tr>
|
772
|
+
</tbody>
|
773
|
+
</table></div>
|
774
|
+
</div>
|
775
|
+
</div>
|
776
|
+
<p>
|
777
|
+
</p>
|
778
|
+
</div>
|
779
|
+
<div class="refsect1">
|
780
|
+
<a name="GtkFileChooser.details"></a><h2>Details</h2>
|
781
|
+
<div class="refsect2">
|
782
|
+
<a name="GtkFileChooser-struct"></a><h3>GtkFileChooser</h3>
|
783
|
+
<pre class="programlisting">typedef struct _GtkFileChooser GtkFileChooser;</pre>
|
784
|
+
<p>
|
785
|
+
</p>
|
786
|
+
</div>
|
787
|
+
<hr>
|
788
|
+
<div class="refsect2">
|
789
|
+
<a name="GtkFileChooserAction"></a><h3>enum GtkFileChooserAction</h3>
|
790
|
+
<pre class="programlisting">typedef enum {
|
791
|
+
GTK_FILE_CHOOSER_ACTION_OPEN,
|
792
|
+
GTK_FILE_CHOOSER_ACTION_SAVE,
|
793
|
+
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
|
794
|
+
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
|
795
|
+
} GtkFileChooserAction;
|
796
|
+
</pre>
|
797
|
+
<p>
|
798
|
+
Describes whether a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is being used to open existing files
|
799
|
+
or to save to a possibly new file.
|
800
|
+
</p>
|
801
|
+
<div class="variablelist"><table border="0">
|
802
|
+
<col align="left" valign="top">
|
803
|
+
<tbody>
|
804
|
+
<tr>
|
805
|
+
<td><p><a name="GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></span></p></td>
|
806
|
+
<td>Indicates open mode. The file chooser
|
807
|
+
will only let the user pick an existing file.
|
808
|
+
</td>
|
809
|
+
</tr>
|
810
|
+
<tr>
|
811
|
+
<td><p><a name="GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></span></p></td>
|
812
|
+
<td>Indicates save mode. The file chooser
|
813
|
+
will let the user pick an existing file, or type in a new
|
814
|
+
filename.
|
815
|
+
</td>
|
816
|
+
</tr>
|
817
|
+
<tr>
|
818
|
+
<td><p><a name="GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></span></p></td>
|
819
|
+
<td>Indicates an Open mode for
|
820
|
+
selecting folders. The file chooser will let the user pick an
|
821
|
+
existing folder.
|
822
|
+
</td>
|
823
|
+
</tr>
|
824
|
+
<tr>
|
825
|
+
<td><p><a name="GTK-FILE-CHOOSER-ACTION-CREATE-FOLDER:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER</code></span></p></td>
|
826
|
+
<td>Indicates a mode for creating a
|
827
|
+
new folder. The file chooser will let the user name an existing or
|
828
|
+
new folder.
|
829
|
+
</td>
|
830
|
+
</tr>
|
831
|
+
</tbody>
|
832
|
+
</table></div>
|
833
|
+
</div>
|
834
|
+
<hr>
|
835
|
+
<div class="refsect2">
|
836
|
+
<a name="GtkFileChooserConfirmation"></a><h3>enum GtkFileChooserConfirmation</h3>
|
837
|
+
<pre class="programlisting">typedef enum {
|
838
|
+
GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM,
|
839
|
+
GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME,
|
840
|
+
GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
|
841
|
+
} GtkFileChooserConfirmation;
|
842
|
+
</pre>
|
843
|
+
<p>
|
844
|
+
Used as a return value of handlers for the
|
845
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a> signal of a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>. This
|
846
|
+
value determines whether the file chooser will present the stock
|
847
|
+
confirmation dialog, accept the user's choice of a filename, or
|
848
|
+
let the user choose another filename.
|
849
|
+
</p>
|
850
|
+
<div class="variablelist"><table border="0">
|
851
|
+
<col align="left" valign="top">
|
852
|
+
<tbody>
|
853
|
+
<tr>
|
854
|
+
<td><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-CONFIRM:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM</code></span></p></td>
|
855
|
+
<td>The file chooser will present
|
856
|
+
its stock dialog to confirm about overwriting an existing file.
|
857
|
+
</td>
|
858
|
+
</tr>
|
859
|
+
<tr>
|
860
|
+
<td><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-ACCEPT-FILENAME:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</code></span></p></td>
|
861
|
+
<td>The file chooser will
|
862
|
+
terminate and accept the user's choice of a file name.
|
863
|
+
</td>
|
864
|
+
</tr>
|
865
|
+
<tr>
|
866
|
+
<td><p><a name="GTK-FILE-CHOOSER-CONFIRMATION-SELECT-AGAIN:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</code></span></p></td>
|
867
|
+
<td>The file chooser will
|
868
|
+
continue running, so as to let the user select another file name.
|
869
|
+
</td>
|
870
|
+
</tr>
|
871
|
+
</tbody>
|
872
|
+
</table></div>
|
873
|
+
<p class="since">Since 2.8</p>
|
874
|
+
</div>
|
875
|
+
<hr>
|
876
|
+
<div class="refsect2">
|
877
|
+
<a name="GTK-FILE-CHOOSER-ERROR:CAPS"></a><h3>GTK_FILE_CHOOSER_ERROR</h3>
|
878
|
+
<pre class="programlisting">#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
|
879
|
+
</pre>
|
880
|
+
<p>
|
881
|
+
Used to get the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> quark for <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> errors.
|
882
|
+
</p>
|
883
|
+
</div>
|
884
|
+
<hr>
|
885
|
+
<div class="refsect2">
|
886
|
+
<a name="GtkFileChooserError"></a><h3>enum GtkFileChooserError</h3>
|
887
|
+
<pre class="programlisting">typedef enum {
|
888
|
+
GTK_FILE_CHOOSER_ERROR_NONEXISTENT,
|
889
|
+
GTK_FILE_CHOOSER_ERROR_BAD_FILENAME,
|
890
|
+
GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS,
|
891
|
+
GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
|
892
|
+
} GtkFileChooserError;
|
893
|
+
</pre>
|
894
|
+
<p>
|
895
|
+
These identify the various errors that can occur while calling
|
896
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> functions.
|
897
|
+
</p>
|
898
|
+
<div class="variablelist"><table border="0">
|
899
|
+
<col align="left" valign="top">
|
900
|
+
<tbody>
|
901
|
+
<tr>
|
902
|
+
<td><p><a name="GTK-FILE-CHOOSER-ERROR-NONEXISTENT:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ERROR_NONEXISTENT</code></span></p></td>
|
903
|
+
<td>Indicates that a file does not exist.
|
904
|
+
</td>
|
905
|
+
</tr>
|
906
|
+
<tr>
|
907
|
+
<td><p><a name="GTK-FILE-CHOOSER-ERROR-BAD-FILENAME:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ERROR_BAD_FILENAME</code></span></p></td>
|
908
|
+
<td>Indicates a malformed filename.
|
909
|
+
</td>
|
910
|
+
</tr>
|
911
|
+
<tr>
|
912
|
+
<td><p><a name="GTK-FILE-CHOOSER-ERROR-ALREADY-EXISTS:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS</code></span></p></td>
|
913
|
+
<td>Indicates a duplicate path (e.g. when
|
914
|
+
adding a bookmark).
|
915
|
+
</td>
|
916
|
+
</tr>
|
917
|
+
<tr>
|
918
|
+
<td><p><a name="GTK-FILE-CHOOSER-ERROR-INCOMPLETE-HOSTNAME:CAPS"></a><span class="term"><code class="literal">GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME</code></span></p></td>
|
919
|
+
<td>Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).
|
920
|
+
</td>
|
921
|
+
</tr>
|
922
|
+
</tbody>
|
923
|
+
</table></div>
|
924
|
+
</div>
|
925
|
+
<hr>
|
926
|
+
<div class="refsect2">
|
927
|
+
<a name="gtk-file-chooser-set-action"></a><h3>gtk_file_chooser_set_action ()</h3>
|
928
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_action (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
929
|
+
<em class="parameter"><code><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> action</code></em>);</pre>
|
930
|
+
<p>
|
931
|
+
Sets the type of operation that the chooser is performing; the
|
932
|
+
user interface is adapted to suit the selected action. For example,
|
933
|
+
an option to create a new folder might be shown if the action is
|
934
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> but not if the action is
|
935
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a>.
|
936
|
+
</p>
|
937
|
+
<div class="variablelist"><table border="0">
|
938
|
+
<col align="left" valign="top">
|
939
|
+
<tbody>
|
940
|
+
<tr>
|
941
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
942
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
943
|
+
</td>
|
944
|
+
</tr>
|
945
|
+
<tr>
|
946
|
+
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
|
947
|
+
<td>the action that the file selector is performing</td>
|
948
|
+
</tr>
|
949
|
+
</tbody>
|
950
|
+
</table></div>
|
951
|
+
<p class="since">Since 2.4</p>
|
952
|
+
</div>
|
953
|
+
<hr>
|
954
|
+
<div class="refsect2">
|
955
|
+
<a name="gtk-file-chooser-get-action"></a><h3>gtk_file_chooser_get_action ()</h3>
|
956
|
+
<pre class="programlisting"><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="returnvalue">GtkFileChooserAction</span></a> gtk_file_chooser_get_action (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
957
|
+
<p>
|
958
|
+
Gets the type of operation that the file chooser is performing; see
|
959
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-action" title="gtk_file_chooser_set_action ()"><code class="function">gtk_file_chooser_set_action()</code></a>.
|
960
|
+
</p>
|
961
|
+
<div class="variablelist"><table border="0">
|
962
|
+
<col align="left" valign="top">
|
963
|
+
<tbody>
|
964
|
+
<tr>
|
965
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
966
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
967
|
+
</td>
|
968
|
+
</tr>
|
969
|
+
<tr>
|
970
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
971
|
+
<td>the action that the file selector is performing</td>
|
972
|
+
</tr>
|
973
|
+
</tbody>
|
974
|
+
</table></div>
|
975
|
+
<p class="since">Since 2.4</p>
|
976
|
+
</div>
|
977
|
+
<hr>
|
978
|
+
<div class="refsect2">
|
979
|
+
<a name="gtk-file-chooser-set-local-only"></a><h3>gtk_file_chooser_set_local_only ()</h3>
|
980
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_local_only (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
981
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> local_only</code></em>);</pre>
|
982
|
+
<p>
|
983
|
+
Sets whether only local files can be selected in the
|
984
|
+
file selector. If <em class="parameter"><code>local_only</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> (the default),
|
985
|
+
then the selected file are files are guaranteed to be
|
986
|
+
accessible through the operating systems native file
|
987
|
+
file system and therefore the application only
|
988
|
+
needs to worry about the filename functions in
|
989
|
+
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>, like <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename"><code class="function">gtk_file_chooser_get_filename()</code></a>,
|
990
|
+
rather than the URI functions like
|
991
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a>,
|
992
|
+
</p>
|
993
|
+
<div class="variablelist"><table border="0">
|
994
|
+
<col align="left" valign="top">
|
995
|
+
<tbody>
|
996
|
+
<tr>
|
997
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
998
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
999
|
+
</td>
|
1000
|
+
</tr>
|
1001
|
+
<tr>
|
1002
|
+
<td><p><span class="term"><em class="parameter"><code>local_only</code></em> :</span></p></td>
|
1003
|
+
<td>
|
1004
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if only local files can be selected</td>
|
1005
|
+
</tr>
|
1006
|
+
</tbody>
|
1007
|
+
</table></div>
|
1008
|
+
<p class="since">Since 2.4</p>
|
1009
|
+
</div>
|
1010
|
+
<hr>
|
1011
|
+
<div class="refsect2">
|
1012
|
+
<a name="gtk-file-chooser-get-local-only"></a><h3>gtk_file_chooser_get_local_only ()</h3>
|
1013
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_local_only (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1014
|
+
<p>
|
1015
|
+
Gets whether only local files can be selected in the
|
1016
|
+
file selector. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-local-only" title="gtk_file_chooser_set_local_only ()"><code class="function">gtk_file_chooser_set_local_only()</code></a>
|
1017
|
+
</p>
|
1018
|
+
<div class="variablelist"><table border="0">
|
1019
|
+
<col align="left" valign="top">
|
1020
|
+
<tbody>
|
1021
|
+
<tr>
|
1022
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1023
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1024
|
+
</td>
|
1025
|
+
</tr>
|
1026
|
+
<tr>
|
1027
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1028
|
+
<td>
|
1029
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if only local files can be selected.</td>
|
1030
|
+
</tr>
|
1031
|
+
</tbody>
|
1032
|
+
</table></div>
|
1033
|
+
<p class="since">Since 2.4</p>
|
1034
|
+
</div>
|
1035
|
+
<hr>
|
1036
|
+
<div class="refsect2">
|
1037
|
+
<a name="gtk-file-chooser-set-select-multiple"></a><h3>gtk_file_chooser_set_select_multiple ()</h3>
|
1038
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_select_multiple
|
1039
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1040
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> select_multiple</code></em>);</pre>
|
1041
|
+
<p>
|
1042
|
+
Sets whether multiple files can be selected in the file selector. This is
|
1043
|
+
only relevant if the action is set to be <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a> or
|
1044
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></a>.
|
1045
|
+
</p>
|
1046
|
+
<div class="variablelist"><table border="0">
|
1047
|
+
<col align="left" valign="top">
|
1048
|
+
<tbody>
|
1049
|
+
<tr>
|
1050
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1051
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1052
|
+
</td>
|
1053
|
+
</tr>
|
1054
|
+
<tr>
|
1055
|
+
<td><p><span class="term"><em class="parameter"><code>select_multiple</code></em> :</span></p></td>
|
1056
|
+
<td>
|
1057
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if multiple files can be selected.</td>
|
1058
|
+
</tr>
|
1059
|
+
</tbody>
|
1060
|
+
</table></div>
|
1061
|
+
<p class="since">Since 2.4</p>
|
1062
|
+
</div>
|
1063
|
+
<hr>
|
1064
|
+
<div class="refsect2">
|
1065
|
+
<a name="gtk-file-chooser-get-select-multiple"></a><h3>gtk_file_chooser_get_select_multiple ()</h3>
|
1066
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_select_multiple
|
1067
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1068
|
+
<p>
|
1069
|
+
Gets whether multiple files can be selected in the file
|
1070
|
+
selector. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-select-multiple" title="gtk_file_chooser_set_select_multiple ()"><code class="function">gtk_file_chooser_set_select_multiple()</code></a>.
|
1071
|
+
</p>
|
1072
|
+
<div class="variablelist"><table border="0">
|
1073
|
+
<col align="left" valign="top">
|
1074
|
+
<tbody>
|
1075
|
+
<tr>
|
1076
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1077
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1078
|
+
</td>
|
1079
|
+
</tr>
|
1080
|
+
<tr>
|
1081
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1082
|
+
<td>
|
1083
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if multiple files can be selected.</td>
|
1084
|
+
</tr>
|
1085
|
+
</tbody>
|
1086
|
+
</table></div>
|
1087
|
+
<p class="since">Since 2.4</p>
|
1088
|
+
</div>
|
1089
|
+
<hr>
|
1090
|
+
<div class="refsect2">
|
1091
|
+
<a name="gtk-file-chooser-set-show-hidden"></a><h3>gtk_file_chooser_set_show_hidden ()</h3>
|
1092
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_show_hidden (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1093
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_hidden</code></em>);</pre>
|
1094
|
+
<p>
|
1095
|
+
Sets whether hidden files and folders are displayed in the file selector.
|
1096
|
+
</p>
|
1097
|
+
<div class="variablelist"><table border="0">
|
1098
|
+
<col align="left" valign="top">
|
1099
|
+
<tbody>
|
1100
|
+
<tr>
|
1101
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1102
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1103
|
+
</td>
|
1104
|
+
</tr>
|
1105
|
+
<tr>
|
1106
|
+
<td><p><span class="term"><em class="parameter"><code>show_hidden</code></em> :</span></p></td>
|
1107
|
+
<td>
|
1108
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if hidden files and folders should be displayed.</td>
|
1109
|
+
</tr>
|
1110
|
+
</tbody>
|
1111
|
+
</table></div>
|
1112
|
+
<p class="since">Since 2.6</p>
|
1113
|
+
</div>
|
1114
|
+
<hr>
|
1115
|
+
<div class="refsect2">
|
1116
|
+
<a name="gtk-file-chooser-get-show-hidden"></a><h3>gtk_file_chooser_get_show_hidden ()</h3>
|
1117
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_show_hidden (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1118
|
+
<p>
|
1119
|
+
Gets whether hidden files and folders are displayed in the file selector.
|
1120
|
+
See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-show-hidden" title="gtk_file_chooser_set_show_hidden ()"><code class="function">gtk_file_chooser_set_show_hidden()</code></a>.
|
1121
|
+
</p>
|
1122
|
+
<div class="variablelist"><table border="0">
|
1123
|
+
<col align="left" valign="top">
|
1124
|
+
<tbody>
|
1125
|
+
<tr>
|
1126
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1127
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1128
|
+
</td>
|
1129
|
+
</tr>
|
1130
|
+
<tr>
|
1131
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1132
|
+
<td>
|
1133
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if hidden files and folders are displayed.</td>
|
1134
|
+
</tr>
|
1135
|
+
</tbody>
|
1136
|
+
</table></div>
|
1137
|
+
<p class="since">Since 2.6</p>
|
1138
|
+
</div>
|
1139
|
+
<hr>
|
1140
|
+
<div class="refsect2">
|
1141
|
+
<a name="gtk-file-chooser-set-do-overwrite-confirmation"></a><h3>gtk_file_chooser_set_do_overwrite_confirmation ()</h3>
|
1142
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_do_overwrite_confirmation
|
1143
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1144
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> do_overwrite_confirmation</code></em>);</pre>
|
1145
|
+
<p>
|
1146
|
+
Sets whether a file chooser in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode will present
|
1147
|
+
a confirmation dialog if the user types a file name that already exists. This
|
1148
|
+
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> by default.
|
1149
|
+
</p>
|
1150
|
+
<p>
|
1151
|
+
Regardless of this setting, the <em class="parameter"><code>chooser</code></em> will emit the
|
1152
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a> signal when appropriate.
|
1153
|
+
</p>
|
1154
|
+
<p>
|
1155
|
+
If all you need is the stock confirmation dialog, set this property to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.
|
1156
|
+
You can override the way confirmation is done by actually handling the
|
1157
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a> signal; please refer to its documentation
|
1158
|
+
for the details.
|
1159
|
+
</p>
|
1160
|
+
<div class="variablelist"><table border="0">
|
1161
|
+
<col align="left" valign="top">
|
1162
|
+
<tbody>
|
1163
|
+
<tr>
|
1164
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1165
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1166
|
+
</td>
|
1167
|
+
</tr>
|
1168
|
+
<tr>
|
1169
|
+
<td><p><span class="term"><em class="parameter"><code>do_overwrite_confirmation</code></em> :</span></p></td>
|
1170
|
+
<td>whether to confirm overwriting in save mode</td>
|
1171
|
+
</tr>
|
1172
|
+
</tbody>
|
1173
|
+
</table></div>
|
1174
|
+
<p class="since">Since 2.8</p>
|
1175
|
+
</div>
|
1176
|
+
<hr>
|
1177
|
+
<div class="refsect2">
|
1178
|
+
<a name="gtk-file-chooser-get-do-overwrite-confirmation"></a><h3>gtk_file_chooser_get_do_overwrite_confirmation ()</h3>
|
1179
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_do_overwrite_confirmation
|
1180
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1181
|
+
<p>
|
1182
|
+
Queries whether a file chooser is set to confirm for overwriting when the user
|
1183
|
+
types a file name that already exists.
|
1184
|
+
</p>
|
1185
|
+
<div class="variablelist"><table border="0">
|
1186
|
+
<col align="left" valign="top">
|
1187
|
+
<tbody>
|
1188
|
+
<tr>
|
1189
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1190
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1191
|
+
</td>
|
1192
|
+
</tr>
|
1193
|
+
<tr>
|
1194
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1195
|
+
<td>
|
1196
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file chooser will present a confirmation dialog;
|
1197
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1198
|
+
</tr>
|
1199
|
+
</tbody>
|
1200
|
+
</table></div>
|
1201
|
+
<p class="since">Since 2.8</p>
|
1202
|
+
</div>
|
1203
|
+
<hr>
|
1204
|
+
<div class="refsect2">
|
1205
|
+
<a name="gtk-file-chooser-set-create-folders"></a><h3>gtk_file_chooser_set_create_folders ()</h3>
|
1206
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_create_folders (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1207
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> create_folders</code></em>);</pre>
|
1208
|
+
<p>
|
1209
|
+
Sets whether file choser will offer to create new folders.
|
1210
|
+
This is only relevant if the action is not set to be
|
1211
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a>.
|
1212
|
+
</p>
|
1213
|
+
<div class="variablelist"><table border="0">
|
1214
|
+
<col align="left" valign="top">
|
1215
|
+
<tbody>
|
1216
|
+
<tr>
|
1217
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1218
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1219
|
+
</td>
|
1220
|
+
</tr>
|
1221
|
+
<tr>
|
1222
|
+
<td><p><span class="term"><em class="parameter"><code>create_folders</code></em> :</span></p></td>
|
1223
|
+
<td>
|
1224
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the New Folder button should be displayed</td>
|
1225
|
+
</tr>
|
1226
|
+
</tbody>
|
1227
|
+
</table></div>
|
1228
|
+
<p class="since">Since 2.18</p>
|
1229
|
+
</div>
|
1230
|
+
<hr>
|
1231
|
+
<div class="refsect2">
|
1232
|
+
<a name="gtk-file-chooser-get-create-folders"></a><h3>gtk_file_chooser_get_create_folders ()</h3>
|
1233
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_create_folders (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1234
|
+
<p>
|
1235
|
+
Gets whether file choser will offer to create new folders.
|
1236
|
+
See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-create-folders" title="gtk_file_chooser_set_create_folders ()"><code class="function">gtk_file_chooser_set_create_folders()</code></a>.
|
1237
|
+
</p>
|
1238
|
+
<div class="variablelist"><table border="0">
|
1239
|
+
<col align="left" valign="top">
|
1240
|
+
<tbody>
|
1241
|
+
<tr>
|
1242
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1243
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1244
|
+
</td>
|
1245
|
+
</tr>
|
1246
|
+
<tr>
|
1247
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1248
|
+
<td>
|
1249
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the New Folder button should be displayed.</td>
|
1250
|
+
</tr>
|
1251
|
+
</tbody>
|
1252
|
+
</table></div>
|
1253
|
+
<p class="since">Since 2.18</p>
|
1254
|
+
</div>
|
1255
|
+
<hr>
|
1256
|
+
<div class="refsect2">
|
1257
|
+
<a name="gtk-file-chooser-set-current-name"></a><h3>gtk_file_chooser_set_current_name ()</h3>
|
1258
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_current_name (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1259
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
|
1260
|
+
<p>
|
1261
|
+
Sets the current name in the file selector, as if entered
|
1262
|
+
by the user. Note that the name passed in here is a UTF-8
|
1263
|
+
string rather than a filename. This function is meant for
|
1264
|
+
such uses as a suggested name in a "Save As..." dialog.
|
1265
|
+
</p>
|
1266
|
+
<p>
|
1267
|
+
If you want to preselect a particular existing file, you should use
|
1268
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filename" title="gtk_file_chooser_set_filename"><code class="function">gtk_file_chooser_set_filename()</code></a> or <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-uri" title="gtk_file_chooser_set_uri ()"><code class="function">gtk_file_chooser_set_uri()</code></a> instead.
|
1269
|
+
Please see the documentation for those functions for an example of using
|
1270
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-name" title="gtk_file_chooser_set_current_name ()"><code class="function">gtk_file_chooser_set_current_name()</code></a> as well.
|
1271
|
+
</p>
|
1272
|
+
<div class="variablelist"><table border="0">
|
1273
|
+
<col align="left" valign="top">
|
1274
|
+
<tbody>
|
1275
|
+
<tr>
|
1276
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1277
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1278
|
+
</td>
|
1279
|
+
</tr>
|
1280
|
+
<tr>
|
1281
|
+
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1282
|
+
<td>the filename to use, as a UTF-8 string. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
1283
|
+
</td>
|
1284
|
+
</tr>
|
1285
|
+
</tbody>
|
1286
|
+
</table></div>
|
1287
|
+
<p class="since">Since 2.4</p>
|
1288
|
+
</div>
|
1289
|
+
<hr>
|
1290
|
+
<div class="refsect2">
|
1291
|
+
<a name="gtk-file-chooser-get-filename"></a><h3>gtk_file_chooser_get_filename</h3>
|
1292
|
+
<pre class="programlisting">#define gtk_file_chooser_get_filename gtk_file_chooser_get_filename_utf8
|
1293
|
+
</pre>
|
1294
|
+
<p>
|
1295
|
+
Gets the filename for the currently selected file in
|
1296
|
+
the file selector. If multiple files are selected,
|
1297
|
+
one of the filenames will be returned at random.
|
1298
|
+
</p>
|
1299
|
+
<p>
|
1300
|
+
If the file chooser is in folder mode, this function returns the selected
|
1301
|
+
folder.
|
1302
|
+
</p>
|
1303
|
+
<div class="variablelist"><table border="0">
|
1304
|
+
<col align="left" valign="top">
|
1305
|
+
<tbody>
|
1306
|
+
<tr>
|
1307
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1308
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1309
|
+
</td>
|
1310
|
+
</tr>
|
1311
|
+
<tr>
|
1312
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1313
|
+
<td>The currently selected filename, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1314
|
+
if no file is selected, or the selected file can't
|
1315
|
+
be represented with a local filename. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
1316
|
+
</td>
|
1317
|
+
</tr>
|
1318
|
+
</tbody>
|
1319
|
+
</table></div>
|
1320
|
+
<p class="since">Since 2.4</p>
|
1321
|
+
</div>
|
1322
|
+
<hr>
|
1323
|
+
<div class="refsect2">
|
1324
|
+
<a name="gtk-file-chooser-set-filename"></a><h3>gtk_file_chooser_set_filename</h3>
|
1325
|
+
<pre class="programlisting">#define gtk_file_chooser_set_filename gtk_file_chooser_set_filename_utf8
|
1326
|
+
</pre>
|
1327
|
+
<p>
|
1328
|
+
Sets <em class="parameter"><code>filename</code></em> as the current filename for the file chooser, by changing
|
1329
|
+
to the file's parent folder and actually selecting the file in list. If
|
1330
|
+
the <em class="parameter"><code>chooser</code></em> is in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode, the file's base name
|
1331
|
+
will also appear in the dialog's file name entry.
|
1332
|
+
</p>
|
1333
|
+
<p>
|
1334
|
+
If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current
|
1335
|
+
folder of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>. This
|
1336
|
+
is equivalent to a sequence of <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()"><code class="function">gtk_file_chooser_unselect_all()</code></a> followed by
|
1337
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename"><code class="function">gtk_file_chooser_select_filename()</code></a>.
|
1338
|
+
</p>
|
1339
|
+
<p>
|
1340
|
+
Note that the file must exist, or nothing will be done except
|
1341
|
+
for the directory change.
|
1342
|
+
</p>
|
1343
|
+
<p>
|
1344
|
+
If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
|
1345
|
+
you should use this function if you already have a file name to which the
|
1346
|
+
user may save; for example, when the user opens an existing file and then
|
1347
|
+
does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
|
1348
|
+
a file name already — for example, if the user just created a new
|
1349
|
+
file and is saving it for the first time, do not call this function.
|
1350
|
+
Instead, use something similar to this:
|
1351
|
+
</p>
|
1352
|
+
<div class="informalexample">
|
1353
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1354
|
+
<tbody>
|
1355
|
+
<tr>
|
1356
|
+
<td class="listing_lines" align="right"><pre>1
|
1357
|
+
2
|
1358
|
+
3
|
1359
|
+
4
|
1360
|
+
5
|
1361
|
+
6
|
1362
|
+
7
|
1363
|
+
8
|
1364
|
+
9
|
1365
|
+
10
|
1366
|
+
11</pre></td>
|
1367
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">document_is_new</span><span class="symbol">)</span>
|
1368
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1369
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
1370
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder">gtk_file_chooser_set_current_folder</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> default_folder_for_saving</span><span class="symbol">);</span>
|
1371
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-name">gtk_file_chooser_set_current_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Untitled document"</span><span class="symbol">);</span>
|
1372
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1373
|
+
<span class="keyword">else</span>
|
1374
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1375
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span><span class="normal"> </span>
|
1376
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-filename">gtk_file_chooser_set_filename</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> existing_filename</span><span class="symbol">);</span>
|
1377
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
1378
|
+
</tr>
|
1379
|
+
</tbody>
|
1380
|
+
</table>
|
1381
|
+
</div>
|
1382
|
+
|
1383
|
+
<p>
|
1384
|
+
</p>
|
1385
|
+
<div class="variablelist"><table border="0">
|
1386
|
+
<col align="left" valign="top">
|
1387
|
+
<tbody>
|
1388
|
+
<tr>
|
1389
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1390
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1391
|
+
</td>
|
1392
|
+
</tr>
|
1393
|
+
<tr>
|
1394
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1395
|
+
<td>the filename to set as current. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
1396
|
+
</td>
|
1397
|
+
</tr>
|
1398
|
+
<tr>
|
1399
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1400
|
+
<td>
|
1401
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
|
1402
|
+
selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1403
|
+
</tr>
|
1404
|
+
</tbody>
|
1405
|
+
</table></div>
|
1406
|
+
<p class="since">Since 2.4</p>
|
1407
|
+
</div>
|
1408
|
+
<hr>
|
1409
|
+
<div class="refsect2">
|
1410
|
+
<a name="gtk-file-chooser-select-filename"></a><h3>gtk_file_chooser_select_filename</h3>
|
1411
|
+
<pre class="programlisting">#define gtk_file_chooser_select_filename gtk_file_chooser_select_filename_utf8
|
1412
|
+
</pre>
|
1413
|
+
<p>
|
1414
|
+
Selects a filename. If the file name isn't in the current
|
1415
|
+
folder of <em class="parameter"><code>chooser</code></em>, then the current folder of <em class="parameter"><code>chooser</code></em> will
|
1416
|
+
be changed to the folder containing <em class="parameter"><code>filename</code></em>.
|
1417
|
+
</p>
|
1418
|
+
<div class="variablelist"><table border="0">
|
1419
|
+
<col align="left" valign="top">
|
1420
|
+
<tbody>
|
1421
|
+
<tr>
|
1422
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1423
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1424
|
+
</td>
|
1425
|
+
</tr>
|
1426
|
+
<tr>
|
1427
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1428
|
+
<td>the filename to select. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
1429
|
+
</td>
|
1430
|
+
</tr>
|
1431
|
+
<tr>
|
1432
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1433
|
+
<td>
|
1434
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
|
1435
|
+
selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1436
|
+
</tr>
|
1437
|
+
</tbody>
|
1438
|
+
</table></div>
|
1439
|
+
<p class="since">Since 2.4</p>
|
1440
|
+
</div>
|
1441
|
+
<hr>
|
1442
|
+
<div class="refsect2">
|
1443
|
+
<a name="gtk-file-chooser-unselect-filename"></a><h3>gtk_file_chooser_unselect_filename</h3>
|
1444
|
+
<pre class="programlisting">#define gtk_file_chooser_unselect_filename gtk_file_chooser_unselect_filename_utf8
|
1445
|
+
</pre>
|
1446
|
+
<p>
|
1447
|
+
Unselects a currently selected filename. If the filename
|
1448
|
+
is not in the current directory, does not exist, or
|
1449
|
+
is otherwise not currently selected, does nothing.
|
1450
|
+
</p>
|
1451
|
+
<div class="variablelist"><table border="0">
|
1452
|
+
<col align="left" valign="top">
|
1453
|
+
<tbody>
|
1454
|
+
<tr>
|
1455
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1456
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1457
|
+
</td>
|
1458
|
+
</tr>
|
1459
|
+
<tr>
|
1460
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1461
|
+
<td>the filename to unselect. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
1462
|
+
</td>
|
1463
|
+
</tr>
|
1464
|
+
</tbody>
|
1465
|
+
</table></div>
|
1466
|
+
<p class="since">Since 2.4</p>
|
1467
|
+
</div>
|
1468
|
+
<hr>
|
1469
|
+
<div class="refsect2">
|
1470
|
+
<a name="gtk-file-chooser-select-all"></a><h3>gtk_file_chooser_select_all ()</h3>
|
1471
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_select_all (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1472
|
+
<p>
|
1473
|
+
Selects all the files in the current folder of a file chooser.
|
1474
|
+
</p>
|
1475
|
+
<div class="variablelist"><table border="0">
|
1476
|
+
<col align="left" valign="top">
|
1477
|
+
<tbody><tr>
|
1478
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1479
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1480
|
+
</td>
|
1481
|
+
</tr></tbody>
|
1482
|
+
</table></div>
|
1483
|
+
<p class="since">Since 2.4</p>
|
1484
|
+
</div>
|
1485
|
+
<hr>
|
1486
|
+
<div class="refsect2">
|
1487
|
+
<a name="gtk-file-chooser-unselect-all"></a><h3>gtk_file_chooser_unselect_all ()</h3>
|
1488
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_unselect_all (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1489
|
+
<p>
|
1490
|
+
Unselects all the files in the current folder of a file chooser.
|
1491
|
+
</p>
|
1492
|
+
<div class="variablelist"><table border="0">
|
1493
|
+
<col align="left" valign="top">
|
1494
|
+
<tbody><tr>
|
1495
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1496
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1497
|
+
</td>
|
1498
|
+
</tr></tbody>
|
1499
|
+
</table></div>
|
1500
|
+
<p class="since">Since 2.4</p>
|
1501
|
+
</div>
|
1502
|
+
<hr>
|
1503
|
+
<div class="refsect2">
|
1504
|
+
<a name="gtk-file-chooser-get-filenames"></a><h3>gtk_file_chooser_get_filenames</h3>
|
1505
|
+
<pre class="programlisting">#define gtk_file_chooser_get_filenames gtk_file_chooser_get_filenames_utf8
|
1506
|
+
</pre>
|
1507
|
+
<p>
|
1508
|
+
Lists all the selected files and subfolders in the current folder of
|
1509
|
+
<em class="parameter"><code>chooser</code></em>. The returned names are full absolute paths. If files in the current
|
1510
|
+
folder cannot be represented as local filenames they will be ignored. (See
|
1511
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>)
|
1512
|
+
</p>
|
1513
|
+
<div class="variablelist"><table border="0">
|
1514
|
+
<col align="left" valign="top">
|
1515
|
+
<tbody>
|
1516
|
+
<tr>
|
1517
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1518
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1519
|
+
</td>
|
1520
|
+
</tr>
|
1521
|
+
<tr>
|
1522
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1523
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
|
1524
|
+
containing the filenames of all selected files and subfolders in
|
1525
|
+
the current folder. Free the returned list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>,
|
1526
|
+
and the filenames with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1527
|
+
</td>
|
1528
|
+
</tr>
|
1529
|
+
</tbody>
|
1530
|
+
</table></div>
|
1531
|
+
<p class="since">Since 2.4</p>
|
1532
|
+
</div>
|
1533
|
+
<hr>
|
1534
|
+
<div class="refsect2">
|
1535
|
+
<a name="gtk-file-chooser-set-current-folder"></a><h3>gtk_file_chooser_set_current_folder</h3>
|
1536
|
+
<pre class="programlisting">#define gtk_file_chooser_set_current_folder gtk_file_chooser_set_current_folder_utf8
|
1537
|
+
</pre>
|
1538
|
+
<p>
|
1539
|
+
Sets the current folder for <em class="parameter"><code>chooser</code></em> from a local filename.
|
1540
|
+
The user will be shown the full contents of the current folder,
|
1541
|
+
plus user interface elements for navigating to other folders.
|
1542
|
+
</p>
|
1543
|
+
<div class="variablelist"><table border="0">
|
1544
|
+
<col align="left" valign="top">
|
1545
|
+
<tbody>
|
1546
|
+
<tr>
|
1547
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1548
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1549
|
+
</td>
|
1550
|
+
</tr>
|
1551
|
+
<tr>
|
1552
|
+
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1553
|
+
<td>the full path of the new current folder. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
1554
|
+
</td>
|
1555
|
+
</tr>
|
1556
|
+
<tr>
|
1557
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1558
|
+
<td>
|
1559
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
1560
|
+
otherwise.</td>
|
1561
|
+
</tr>
|
1562
|
+
</tbody>
|
1563
|
+
</table></div>
|
1564
|
+
<p class="since">Since 2.4</p>
|
1565
|
+
</div>
|
1566
|
+
<hr>
|
1567
|
+
<div class="refsect2">
|
1568
|
+
<a name="gtk-file-chooser-get-current-folder"></a><h3>gtk_file_chooser_get_current_folder</h3>
|
1569
|
+
<pre class="programlisting">#define gtk_file_chooser_get_current_folder gtk_file_chooser_get_current_folder_utf8
|
1570
|
+
</pre>
|
1571
|
+
<p>
|
1572
|
+
Gets the current folder of <em class="parameter"><code>chooser</code></em> as a local filename.
|
1573
|
+
See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder"><code class="function">gtk_file_chooser_set_current_folder()</code></a>.
|
1574
|
+
</p>
|
1575
|
+
<p>
|
1576
|
+
Note that this is the folder that the file chooser is currently displaying
|
1577
|
+
(e.g. "/home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
|
1578
|
+
as the currently-selected folder if the chooser is in
|
1579
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></a> mode
|
1580
|
+
(e.g. "/home/username/Documents/selected-folder/". To get the
|
1581
|
+
currently-selected folder in that mode, use <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a> as the
|
1582
|
+
usual way to get the selection.
|
1583
|
+
</p>
|
1584
|
+
<div class="variablelist"><table border="0">
|
1585
|
+
<col align="left" valign="top">
|
1586
|
+
<tbody>
|
1587
|
+
<tr>
|
1588
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1589
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1590
|
+
</td>
|
1591
|
+
</tr>
|
1592
|
+
<tr>
|
1593
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1594
|
+
<td>the full path of the current folder,
|
1595
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the current path cannot be represented as a local
|
1596
|
+
filename. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. This function will also return
|
1597
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the file chooser was unable to load the last folder that
|
1598
|
+
was requested from it; for example, as would be for calling
|
1599
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder"><code class="function">gtk_file_chooser_set_current_folder()</code></a> on a nonexistent folder. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
1600
|
+
</td>
|
1601
|
+
</tr>
|
1602
|
+
</tbody>
|
1603
|
+
</table></div>
|
1604
|
+
<p class="since">Since 2.4</p>
|
1605
|
+
</div>
|
1606
|
+
<hr>
|
1607
|
+
<div class="refsect2">
|
1608
|
+
<a name="gtk-file-chooser-get-uri"></a><h3>gtk_file_chooser_get_uri ()</h3>
|
1609
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_file_chooser_get_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1610
|
+
<p>
|
1611
|
+
Gets the URI for the currently selected file in
|
1612
|
+
the file selector. If multiple files are selected,
|
1613
|
+
one of the filenames will be returned at random.
|
1614
|
+
</p>
|
1615
|
+
<p>
|
1616
|
+
If the file chooser is in folder mode, this function returns the selected
|
1617
|
+
folder.
|
1618
|
+
</p>
|
1619
|
+
<div class="variablelist"><table border="0">
|
1620
|
+
<col align="left" valign="top">
|
1621
|
+
<tbody>
|
1622
|
+
<tr>
|
1623
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1624
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1625
|
+
</td>
|
1626
|
+
</tr>
|
1627
|
+
<tr>
|
1628
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1629
|
+
<td>The currently selected URI, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
|
1630
|
+
if no file is selected. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>
|
1631
|
+
</td>
|
1632
|
+
</tr>
|
1633
|
+
</tbody>
|
1634
|
+
</table></div>
|
1635
|
+
<p class="since">Since 2.4</p>
|
1636
|
+
</div>
|
1637
|
+
<hr>
|
1638
|
+
<div class="refsect2">
|
1639
|
+
<a name="gtk-file-chooser-set-uri"></a><h3>gtk_file_chooser_set_uri ()</h3>
|
1640
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_set_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1641
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1642
|
+
<p>
|
1643
|
+
Sets the file referred to by <em class="parameter"><code>uri</code></em> as the current file for the file chooser,
|
1644
|
+
by changing to the URI's parent folder and actually selecting the URI in the
|
1645
|
+
list. If the <em class="parameter"><code>chooser</code></em> is <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode, the URI's base
|
1646
|
+
name will also appear in the dialog's file name entry.
|
1647
|
+
</p>
|
1648
|
+
<p>
|
1649
|
+
If the URI isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current folder
|
1650
|
+
of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>uri</code></em>. This is equivalent
|
1651
|
+
to a sequence of <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()"><code class="function">gtk_file_chooser_unselect_all()</code></a> followed by
|
1652
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()"><code class="function">gtk_file_chooser_select_uri()</code></a>.
|
1653
|
+
</p>
|
1654
|
+
<p>
|
1655
|
+
Note that the URI must exist, or nothing will be done except for the
|
1656
|
+
directory change.
|
1657
|
+
If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
|
1658
|
+
you should use this function if you already have a file name to which the
|
1659
|
+
user may save; for example, when the user opens an existing file and then
|
1660
|
+
does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
|
1661
|
+
a file name already — for example, if the user just created a new
|
1662
|
+
file and is saving it for the first time, do not call this function.
|
1663
|
+
Instead, use something similar to this:
|
1664
|
+
</p>
|
1665
|
+
<div class="informalexample">
|
1666
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
1667
|
+
<tbody>
|
1668
|
+
<tr>
|
1669
|
+
<td class="listing_lines" align="right"><pre>1
|
1670
|
+
2
|
1671
|
+
3
|
1672
|
+
4
|
1673
|
+
5
|
1674
|
+
6
|
1675
|
+
7
|
1676
|
+
8
|
1677
|
+
9
|
1678
|
+
10
|
1679
|
+
11</pre></td>
|
1680
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">document_is_new</span><span class="symbol">)</span>
|
1681
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1682
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
1683
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri">gtk_file_chooser_set_current_folder_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> default_folder_for_saving</span><span class="symbol">);</span>
|
1684
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-name">gtk_file_chooser_set_current_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Untitled document"</span><span class="symbol">);</span>
|
1685
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
1686
|
+
<span class="keyword">else</span>
|
1687
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
1688
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span><span class="normal"> </span>
|
1689
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-uri">gtk_file_chooser_set_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> existing_uri</span><span class="symbol">);</span>
|
1690
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
1691
|
+
</tr>
|
1692
|
+
</tbody>
|
1693
|
+
</table>
|
1694
|
+
</div>
|
1695
|
+
|
1696
|
+
<p>
|
1697
|
+
</p>
|
1698
|
+
<div class="variablelist"><table border="0">
|
1699
|
+
<col align="left" valign="top">
|
1700
|
+
<tbody>
|
1701
|
+
<tr>
|
1702
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1703
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1704
|
+
</td>
|
1705
|
+
</tr>
|
1706
|
+
<tr>
|
1707
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1708
|
+
<td>the URI to set as current</td>
|
1709
|
+
</tr>
|
1710
|
+
<tr>
|
1711
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1712
|
+
<td>
|
1713
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the URI was
|
1714
|
+
selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1715
|
+
</tr>
|
1716
|
+
</tbody>
|
1717
|
+
</table></div>
|
1718
|
+
<p class="since">Since 2.4</p>
|
1719
|
+
</div>
|
1720
|
+
<hr>
|
1721
|
+
<div class="refsect2">
|
1722
|
+
<a name="gtk-file-chooser-select-uri"></a><h3>gtk_file_chooser_select_uri ()</h3>
|
1723
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_select_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1724
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1725
|
+
<p>
|
1726
|
+
Selects the file to by <em class="parameter"><code>uri</code></em>. If the URI doesn't refer to a
|
1727
|
+
file in the current folder of <em class="parameter"><code>chooser</code></em>, then the current folder of
|
1728
|
+
<em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>.
|
1729
|
+
</p>
|
1730
|
+
<div class="variablelist"><table border="0">
|
1731
|
+
<col align="left" valign="top">
|
1732
|
+
<tbody>
|
1733
|
+
<tr>
|
1734
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1735
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1736
|
+
</td>
|
1737
|
+
</tr>
|
1738
|
+
<tr>
|
1739
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1740
|
+
<td>the URI to select</td>
|
1741
|
+
</tr>
|
1742
|
+
<tr>
|
1743
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1744
|
+
<td>
|
1745
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the URI was
|
1746
|
+
selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1747
|
+
</tr>
|
1748
|
+
</tbody>
|
1749
|
+
</table></div>
|
1750
|
+
<p class="since">Since 2.4</p>
|
1751
|
+
</div>
|
1752
|
+
<hr>
|
1753
|
+
<div class="refsect2">
|
1754
|
+
<a name="gtk-file-chooser-unselect-uri"></a><h3>gtk_file_chooser_unselect_uri ()</h3>
|
1755
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_unselect_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1756
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
1757
|
+
<p>
|
1758
|
+
Unselects the file referred to by <em class="parameter"><code>uri</code></em>. If the file
|
1759
|
+
is not in the current directory, does not exist, or
|
1760
|
+
is otherwise not currently selected, does nothing.
|
1761
|
+
</p>
|
1762
|
+
<div class="variablelist"><table border="0">
|
1763
|
+
<col align="left" valign="top">
|
1764
|
+
<tbody>
|
1765
|
+
<tr>
|
1766
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1767
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1768
|
+
</td>
|
1769
|
+
</tr>
|
1770
|
+
<tr>
|
1771
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1772
|
+
<td>the URI to unselect</td>
|
1773
|
+
</tr>
|
1774
|
+
</tbody>
|
1775
|
+
</table></div>
|
1776
|
+
<p class="since">Since 2.4</p>
|
1777
|
+
</div>
|
1778
|
+
<hr>
|
1779
|
+
<div class="refsect2">
|
1780
|
+
<a name="gtk-file-chooser-get-uris"></a><h3>gtk_file_chooser_get_uris ()</h3>
|
1781
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_file_chooser_get_uris (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1782
|
+
<p>
|
1783
|
+
Lists all the selected files and subfolders in the current folder of
|
1784
|
+
<em class="parameter"><code>chooser</code></em>. The returned names are full absolute URIs.
|
1785
|
+
</p>
|
1786
|
+
<div class="variablelist"><table border="0">
|
1787
|
+
<col align="left" valign="top">
|
1788
|
+
<tbody>
|
1789
|
+
<tr>
|
1790
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1791
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1792
|
+
</td>
|
1793
|
+
</tr>
|
1794
|
+
<tr>
|
1795
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1796
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing the URIs of all selected
|
1797
|
+
files and subfolders in the current folder. Free the returned list
|
1798
|
+
with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the filenames with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
1799
|
+
</td>
|
1800
|
+
</tr>
|
1801
|
+
</tbody>
|
1802
|
+
</table></div>
|
1803
|
+
<p class="since">Since 2.4</p>
|
1804
|
+
</div>
|
1805
|
+
<hr>
|
1806
|
+
<div class="refsect2">
|
1807
|
+
<a name="gtk-file-chooser-set-current-folder-uri"></a><h3>gtk_file_chooser_set_current_folder_uri ()</h3>
|
1808
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_set_current_folder_uri
|
1809
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1810
|
+
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
|
1811
|
+
<p>
|
1812
|
+
Sets the current folder for <em class="parameter"><code>chooser</code></em> from an URI.
|
1813
|
+
The user will be shown the full contents of the current folder,
|
1814
|
+
plus user interface elements for navigating to other folders.
|
1815
|
+
</p>
|
1816
|
+
<div class="variablelist"><table border="0">
|
1817
|
+
<col align="left" valign="top">
|
1818
|
+
<tbody>
|
1819
|
+
<tr>
|
1820
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1821
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1822
|
+
</td>
|
1823
|
+
</tr>
|
1824
|
+
<tr>
|
1825
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1826
|
+
<td>the URI for the new current folder</td>
|
1827
|
+
</tr>
|
1828
|
+
<tr>
|
1829
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1830
|
+
<td>
|
1831
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
1832
|
+
otherwise.</td>
|
1833
|
+
</tr>
|
1834
|
+
</tbody>
|
1835
|
+
</table></div>
|
1836
|
+
<p class="since">Since 2.4</p>
|
1837
|
+
</div>
|
1838
|
+
<hr>
|
1839
|
+
<div class="refsect2">
|
1840
|
+
<a name="gtk-file-chooser-get-current-folder-uri"></a><h3>gtk_file_chooser_get_current_folder_uri ()</h3>
|
1841
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_file_chooser_get_current_folder_uri
|
1842
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1843
|
+
<p>
|
1844
|
+
Gets the current folder of <em class="parameter"><code>chooser</code></em> as an URI.
|
1845
|
+
See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()"><code class="function">gtk_file_chooser_set_current_folder_uri()</code></a>.
|
1846
|
+
</p>
|
1847
|
+
<p>
|
1848
|
+
Note that this is the folder that the file chooser is currently displaying
|
1849
|
+
(e.g. "file:///home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
|
1850
|
+
as the currently-selected folder if the chooser is in
|
1851
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SELECT-FOLDER:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER</code></a> mode
|
1852
|
+
(e.g. "file:///home/username/Documents/selected-folder/". To get the
|
1853
|
+
currently-selected folder in that mode, use <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a> as the
|
1854
|
+
usual way to get the selection.
|
1855
|
+
</p>
|
1856
|
+
<div class="variablelist"><table border="0">
|
1857
|
+
<col align="left" valign="top">
|
1858
|
+
<tbody>
|
1859
|
+
<tr>
|
1860
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1861
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1862
|
+
</td>
|
1863
|
+
</tr>
|
1864
|
+
<tr>
|
1865
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1866
|
+
<td>the URI for the current folder. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. This
|
1867
|
+
function will also return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the file chooser was unable to load the
|
1868
|
+
last folder that was requested from it; for example, as would be for calling
|
1869
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()"><code class="function">gtk_file_chooser_set_current_folder_uri()</code></a> on a nonexistent folder.</td>
|
1870
|
+
</tr>
|
1871
|
+
</tbody>
|
1872
|
+
</table></div>
|
1873
|
+
<p class="since">Since 2.4</p>
|
1874
|
+
</div>
|
1875
|
+
<hr>
|
1876
|
+
<div class="refsect2">
|
1877
|
+
<a name="gtk-file-chooser-set-preview-widget"></a><h3>gtk_file_chooser_set_preview_widget ()</h3>
|
1878
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_preview_widget (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1879
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);</pre>
|
1880
|
+
<p>
|
1881
|
+
Sets an application-supplied widget to use to display a custom preview
|
1882
|
+
of the currently selected file. To implement a preview, after setting the
|
1883
|
+
preview widget, you connect to the <a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title='The "update-preview" signal'><span class="type">"update-preview"</span></a>
|
1884
|
+
signal, and call <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename"><code class="function">gtk_file_chooser_get_preview_filename()</code></a> or
|
1885
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()"><code class="function">gtk_file_chooser_get_preview_uri()</code></a> on each change. If you can
|
1886
|
+
display a preview of the new file, update your widget and
|
1887
|
+
set the preview active using <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a>.
|
1888
|
+
Otherwise, set the preview inactive.
|
1889
|
+
</p>
|
1890
|
+
<p>
|
1891
|
+
When there is no application-supplied preview widget, or the
|
1892
|
+
application-supplied preview widget is not active, the file chooser
|
1893
|
+
may display an internally generated preview of the current file or
|
1894
|
+
it may display no preview at all.
|
1895
|
+
</p>
|
1896
|
+
<div class="variablelist"><table border="0">
|
1897
|
+
<col align="left" valign="top">
|
1898
|
+
<tbody>
|
1899
|
+
<tr>
|
1900
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1901
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1902
|
+
</td>
|
1903
|
+
</tr>
|
1904
|
+
<tr>
|
1905
|
+
<td><p><span class="term"><em class="parameter"><code>preview_widget</code></em> :</span></p></td>
|
1906
|
+
<td>widget for displaying preview.</td>
|
1907
|
+
</tr>
|
1908
|
+
</tbody>
|
1909
|
+
</table></div>
|
1910
|
+
<p class="since">Since 2.4</p>
|
1911
|
+
</div>
|
1912
|
+
<hr>
|
1913
|
+
<div class="refsect2">
|
1914
|
+
<a name="gtk-file-chooser-get-preview-widget"></a><h3>gtk_file_chooser_get_preview_widget ()</h3>
|
1915
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_file_chooser_get_preview_widget (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1916
|
+
<p>
|
1917
|
+
Gets the current preview widget; see
|
1918
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>.
|
1919
|
+
</p>
|
1920
|
+
<div class="variablelist"><table border="0">
|
1921
|
+
<col align="left" valign="top">
|
1922
|
+
<tbody>
|
1923
|
+
<tr>
|
1924
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1925
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1926
|
+
</td>
|
1927
|
+
</tr>
|
1928
|
+
<tr>
|
1929
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1930
|
+
<td>the current preview widget, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
1931
|
+
</td>
|
1932
|
+
</tr>
|
1933
|
+
</tbody>
|
1934
|
+
</table></div>
|
1935
|
+
<p class="since">Since 2.4</p>
|
1936
|
+
</div>
|
1937
|
+
<hr>
|
1938
|
+
<div class="refsect2">
|
1939
|
+
<a name="gtk-file-chooser-set-preview-widget-active"></a><h3>gtk_file_chooser_set_preview_widget_active ()</h3>
|
1940
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_preview_widget_active
|
1941
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1942
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> active</code></em>);</pre>
|
1943
|
+
<p>
|
1944
|
+
Sets whether the preview widget set by
|
1945
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a> should be shown for the
|
1946
|
+
current filename. When <em class="parameter"><code>active</code></em> is set to false, the file chooser
|
1947
|
+
may display an internally generated preview of the current file
|
1948
|
+
or it may display no preview at all. See
|
1949
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a> for more details.
|
1950
|
+
</p>
|
1951
|
+
<div class="variablelist"><table border="0">
|
1952
|
+
<col align="left" valign="top">
|
1953
|
+
<tbody>
|
1954
|
+
<tr>
|
1955
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1956
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1957
|
+
</td>
|
1958
|
+
</tr>
|
1959
|
+
<tr>
|
1960
|
+
<td><p><span class="term"><em class="parameter"><code>active</code></em> :</span></p></td>
|
1961
|
+
<td>whether to display the user-specified preview widget</td>
|
1962
|
+
</tr>
|
1963
|
+
</tbody>
|
1964
|
+
</table></div>
|
1965
|
+
<p class="since">Since 2.4</p>
|
1966
|
+
</div>
|
1967
|
+
<hr>
|
1968
|
+
<div class="refsect2">
|
1969
|
+
<a name="gtk-file-chooser-get-preview-widget-active"></a><h3>gtk_file_chooser_get_preview_widget_active ()</h3>
|
1970
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_preview_widget_active
|
1971
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
1972
|
+
<p>
|
1973
|
+
Gets whether the preview widget set by <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>
|
1974
|
+
should be shown for the current filename. See
|
1975
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a>.
|
1976
|
+
</p>
|
1977
|
+
<div class="variablelist"><table border="0">
|
1978
|
+
<col align="left" valign="top">
|
1979
|
+
<tbody>
|
1980
|
+
<tr>
|
1981
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1982
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1983
|
+
</td>
|
1984
|
+
</tr>
|
1985
|
+
<tr>
|
1986
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1987
|
+
<td>
|
1988
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the preview widget is active for the current filename.</td>
|
1989
|
+
</tr>
|
1990
|
+
</tbody>
|
1991
|
+
</table></div>
|
1992
|
+
<p class="since">Since 2.4</p>
|
1993
|
+
</div>
|
1994
|
+
<hr>
|
1995
|
+
<div class="refsect2">
|
1996
|
+
<a name="gtk-file-chooser-set-use-preview-label"></a><h3>gtk_file_chooser_set_use_preview_label ()</h3>
|
1997
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_use_preview_label
|
1998
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
1999
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> use_label</code></em>);</pre>
|
2000
|
+
<p>
|
2001
|
+
Sets whether the file chooser should display a stock label with the name of
|
2002
|
+
the file that is being previewed; the default is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. Applications that
|
2003
|
+
want to draw the whole preview area themselves should set this to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and
|
2004
|
+
display the name themselves in their preview widget.
|
2005
|
+
</p>
|
2006
|
+
<p>
|
2007
|
+
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>
|
2008
|
+
</p>
|
2009
|
+
<div class="variablelist"><table border="0">
|
2010
|
+
<col align="left" valign="top">
|
2011
|
+
<tbody>
|
2012
|
+
<tr>
|
2013
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2014
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2015
|
+
</td>
|
2016
|
+
</tr>
|
2017
|
+
<tr>
|
2018
|
+
<td><p><span class="term"><em class="parameter"><code>use_label</code></em> :</span></p></td>
|
2019
|
+
<td>whether to display a stock label with the name of the previewed file</td>
|
2020
|
+
</tr>
|
2021
|
+
</tbody>
|
2022
|
+
</table></div>
|
2023
|
+
<p class="since">Since 2.4</p>
|
2024
|
+
</div>
|
2025
|
+
<hr>
|
2026
|
+
<div class="refsect2">
|
2027
|
+
<a name="gtk-file-chooser-get-use-preview-label"></a><h3>gtk_file_chooser_get_use_preview_label ()</h3>
|
2028
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_get_use_preview_label
|
2029
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2030
|
+
<p>
|
2031
|
+
Gets whether a stock label should be drawn with the name of the previewed
|
2032
|
+
file. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-use-preview-label" title="gtk_file_chooser_set_use_preview_label ()"><code class="function">gtk_file_chooser_set_use_preview_label()</code></a>.
|
2033
|
+
</p>
|
2034
|
+
<div class="variablelist"><table border="0">
|
2035
|
+
<col align="left" valign="top">
|
2036
|
+
<tbody>
|
2037
|
+
<tr>
|
2038
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2039
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2040
|
+
</td>
|
2041
|
+
</tr>
|
2042
|
+
<tr>
|
2043
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2044
|
+
<td>
|
2045
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the file chooser is set to display a label with the
|
2046
|
+
name of the previewed file, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
2047
|
+
</tr>
|
2048
|
+
</tbody>
|
2049
|
+
</table></div>
|
2050
|
+
</div>
|
2051
|
+
<hr>
|
2052
|
+
<div class="refsect2">
|
2053
|
+
<a name="gtk-file-chooser-get-preview-filename"></a><h3>gtk_file_chooser_get_preview_filename</h3>
|
2054
|
+
<pre class="programlisting">#define gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_filename_utf8
|
2055
|
+
</pre>
|
2056
|
+
<p>
|
2057
|
+
Gets the filename that should be previewed in a custom preview
|
2058
|
+
widget. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>.
|
2059
|
+
</p>
|
2060
|
+
<div class="variablelist"><table border="0">
|
2061
|
+
<col align="left" valign="top">
|
2062
|
+
<tbody>
|
2063
|
+
<tr>
|
2064
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2065
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2066
|
+
</td>
|
2067
|
+
</tr>
|
2068
|
+
<tr>
|
2069
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2070
|
+
<td>the filename to preview, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
2071
|
+
no file is selected, or if the selected file cannot be represented
|
2072
|
+
as a local filename. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
2073
|
+
</td>
|
2074
|
+
</tr>
|
2075
|
+
</tbody>
|
2076
|
+
</table></div>
|
2077
|
+
<p class="since">Since 2.4</p>
|
2078
|
+
</div>
|
2079
|
+
<hr>
|
2080
|
+
<div class="refsect2">
|
2081
|
+
<a name="gtk-file-chooser-get-preview-uri"></a><h3>gtk_file_chooser_get_preview_uri ()</h3>
|
2082
|
+
<pre class="programlisting"><span class="returnvalue">char</span> * gtk_file_chooser_get_preview_uri (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2083
|
+
<p>
|
2084
|
+
Gets the URI that should be previewed in a custom preview
|
2085
|
+
widget. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>.
|
2086
|
+
</p>
|
2087
|
+
<div class="variablelist"><table border="0">
|
2088
|
+
<col align="left" valign="top">
|
2089
|
+
<tbody>
|
2090
|
+
<tr>
|
2091
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2092
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2093
|
+
</td>
|
2094
|
+
</tr>
|
2095
|
+
<tr>
|
2096
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2097
|
+
<td>the URI for the file to preview, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no file is
|
2098
|
+
selected. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</td>
|
2099
|
+
</tr>
|
2100
|
+
</tbody>
|
2101
|
+
</table></div>
|
2102
|
+
<p class="since">Since 2.4</p>
|
2103
|
+
</div>
|
2104
|
+
<hr>
|
2105
|
+
<div class="refsect2">
|
2106
|
+
<a name="gtk-file-chooser-set-extra-widget"></a><h3>gtk_file_chooser_set_extra_widget ()</h3>
|
2107
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_extra_widget (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2108
|
+
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);</pre>
|
2109
|
+
<p>
|
2110
|
+
Sets an application-supplied widget to provide extra options to the user.
|
2111
|
+
</p>
|
2112
|
+
<div class="variablelist"><table border="0">
|
2113
|
+
<col align="left" valign="top">
|
2114
|
+
<tbody>
|
2115
|
+
<tr>
|
2116
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2117
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2118
|
+
</td>
|
2119
|
+
</tr>
|
2120
|
+
<tr>
|
2121
|
+
<td><p><span class="term"><em class="parameter"><code>extra_widget</code></em> :</span></p></td>
|
2122
|
+
<td>widget for extra options</td>
|
2123
|
+
</tr>
|
2124
|
+
</tbody>
|
2125
|
+
</table></div>
|
2126
|
+
<p class="since">Since 2.4</p>
|
2127
|
+
</div>
|
2128
|
+
<hr>
|
2129
|
+
<div class="refsect2">
|
2130
|
+
<a name="gtk-file-chooser-get-extra-widget"></a><h3>gtk_file_chooser_get_extra_widget ()</h3>
|
2131
|
+
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_file_chooser_get_extra_widget (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2132
|
+
<p>
|
2133
|
+
Gets the current preview widget; see
|
2134
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-extra-widget" title="gtk_file_chooser_set_extra_widget ()"><code class="function">gtk_file_chooser_set_extra_widget()</code></a>.
|
2135
|
+
</p>
|
2136
|
+
<div class="variablelist"><table border="0">
|
2137
|
+
<col align="left" valign="top">
|
2138
|
+
<tbody>
|
2139
|
+
<tr>
|
2140
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2141
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2142
|
+
</td>
|
2143
|
+
</tr>
|
2144
|
+
<tr>
|
2145
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2146
|
+
<td>the current extra widget, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2147
|
+
</td>
|
2148
|
+
</tr>
|
2149
|
+
</tbody>
|
2150
|
+
</table></div>
|
2151
|
+
<p class="since">Since 2.4</p>
|
2152
|
+
</div>
|
2153
|
+
<hr>
|
2154
|
+
<div class="refsect2">
|
2155
|
+
<a name="gtk-file-chooser-add-filter"></a><h3>gtk_file_chooser_add_filter ()</h3>
|
2156
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_add_filter (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2157
|
+
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2158
|
+
<p>
|
2159
|
+
Adds <em class="parameter"><code>filter</code></em> to the list of filters that the user can select between.
|
2160
|
+
When a filter is selected, only files that are passed by that
|
2161
|
+
filter are displayed.
|
2162
|
+
</p>
|
2163
|
+
<p>
|
2164
|
+
Note that the <em class="parameter"><code>chooser</code></em> takes ownership of the filter, so you have to
|
2165
|
+
ref and sink it if you want to keep a reference.
|
2166
|
+
</p>
|
2167
|
+
<div class="variablelist"><table border="0">
|
2168
|
+
<col align="left" valign="top">
|
2169
|
+
<tbody>
|
2170
|
+
<tr>
|
2171
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2172
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2173
|
+
</td>
|
2174
|
+
</tr>
|
2175
|
+
<tr>
|
2176
|
+
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
|
2177
|
+
<td>a <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>
|
2178
|
+
</td>
|
2179
|
+
</tr>
|
2180
|
+
</tbody>
|
2181
|
+
</table></div>
|
2182
|
+
<p class="since">Since 2.4</p>
|
2183
|
+
</div>
|
2184
|
+
<hr>
|
2185
|
+
<div class="refsect2">
|
2186
|
+
<a name="gtk-file-chooser-remove-filter"></a><h3>gtk_file_chooser_remove_filter ()</h3>
|
2187
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_remove_filter (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2188
|
+
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2189
|
+
<p>
|
2190
|
+
Removes <em class="parameter"><code>filter</code></em> from the list of filters that the user can select between.
|
2191
|
+
</p>
|
2192
|
+
<div class="variablelist"><table border="0">
|
2193
|
+
<col align="left" valign="top">
|
2194
|
+
<tbody>
|
2195
|
+
<tr>
|
2196
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2197
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2198
|
+
</td>
|
2199
|
+
</tr>
|
2200
|
+
<tr>
|
2201
|
+
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
|
2202
|
+
<td>a <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>
|
2203
|
+
</td>
|
2204
|
+
</tr>
|
2205
|
+
</tbody>
|
2206
|
+
</table></div>
|
2207
|
+
<p class="since">Since 2.4</p>
|
2208
|
+
</div>
|
2209
|
+
<hr>
|
2210
|
+
<div class="refsect2">
|
2211
|
+
<a name="gtk-file-chooser-list-filters"></a><h3>gtk_file_chooser_list_filters ()</h3>
|
2212
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_file_chooser_list_filters (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2213
|
+
<p>
|
2214
|
+
Lists the current set of user-selectable filters; see
|
2215
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-filter" title="gtk_file_chooser_add_filter ()"><code class="function">gtk_file_chooser_add_filter()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-remove-filter" title="gtk_file_chooser_remove_filter ()"><code class="function">gtk_file_chooser_remove_filter()</code></a>.
|
2216
|
+
</p>
|
2217
|
+
<div class="variablelist"><table border="0">
|
2218
|
+
<col align="left" valign="top">
|
2219
|
+
<tbody>
|
2220
|
+
<tr>
|
2221
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2222
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2223
|
+
</td>
|
2224
|
+
</tr>
|
2225
|
+
<tr>
|
2226
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2227
|
+
<td>a
|
2228
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> containing the current set of user selectable filters. The
|
2229
|
+
contents of the list are owned by GTK+, but you must free the list
|
2230
|
+
itself with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> when you are done with it. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkFileFilter][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span>
|
2231
|
+
</td>
|
2232
|
+
</tr>
|
2233
|
+
</tbody>
|
2234
|
+
</table></div>
|
2235
|
+
<p class="since">Since 2.4</p>
|
2236
|
+
</div>
|
2237
|
+
<hr>
|
2238
|
+
<div class="refsect2">
|
2239
|
+
<a name="gtk-file-chooser-set-filter"></a><h3>gtk_file_chooser_set_filter ()</h3>
|
2240
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_filter (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2241
|
+
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
2242
|
+
<p>
|
2243
|
+
Sets the current filter; only the files that pass the
|
2244
|
+
filter will be displayed. If the user-selectable list of filters
|
2245
|
+
is non-empty, then the filter should be one of the filters
|
2246
|
+
in that list. Setting the current filter when the list of
|
2247
|
+
filters is empty is useful if you want to restrict the displayed
|
2248
|
+
set of files without letting the user change it.
|
2249
|
+
</p>
|
2250
|
+
<div class="variablelist"><table border="0">
|
2251
|
+
<col align="left" valign="top">
|
2252
|
+
<tbody>
|
2253
|
+
<tr>
|
2254
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2255
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2256
|
+
</td>
|
2257
|
+
</tr>
|
2258
|
+
<tr>
|
2259
|
+
<td><p><span class="term"><em class="parameter"><code>filter</code></em> :</span></p></td>
|
2260
|
+
<td>a <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>
|
2261
|
+
</td>
|
2262
|
+
</tr>
|
2263
|
+
</tbody>
|
2264
|
+
</table></div>
|
2265
|
+
<p class="since">Since 2.4</p>
|
2266
|
+
</div>
|
2267
|
+
<hr>
|
2268
|
+
<div class="refsect2">
|
2269
|
+
<a name="gtk-file-chooser-get-filter"></a><h3>gtk_file_chooser_get_filter ()</h3>
|
2270
|
+
<pre class="programlisting"><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="returnvalue">GtkFileFilter</span></a> * gtk_file_chooser_get_filter (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2271
|
+
<p>
|
2272
|
+
Gets the current filter; see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filter" title="gtk_file_chooser_set_filter ()"><code class="function">gtk_file_chooser_set_filter()</code></a>.
|
2273
|
+
</p>
|
2274
|
+
<div class="variablelist"><table border="0">
|
2275
|
+
<col align="left" valign="top">
|
2276
|
+
<tbody>
|
2277
|
+
<tr>
|
2278
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2279
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2280
|
+
</td>
|
2281
|
+
</tr>
|
2282
|
+
<tr>
|
2283
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2284
|
+
<td>the current filter, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
|
2285
|
+
</td>
|
2286
|
+
</tr>
|
2287
|
+
</tbody>
|
2288
|
+
</table></div>
|
2289
|
+
<p class="since">Since 2.4</p>
|
2290
|
+
</div>
|
2291
|
+
<hr>
|
2292
|
+
<div class="refsect2">
|
2293
|
+
<a name="gtk-file-chooser-add-shortcut-folder"></a><h3>gtk_file_chooser_add_shortcut_folder</h3>
|
2294
|
+
<pre class="programlisting">#define gtk_file_chooser_add_shortcut_folder gtk_file_chooser_add_shortcut_folder_utf8
|
2295
|
+
</pre>
|
2296
|
+
<p>
|
2297
|
+
Adds a folder to be displayed with the shortcut folders in a file chooser.
|
2298
|
+
Note that shortcut folders do not get saved, as they are provided by the
|
2299
|
+
application. For example, you can use this to add a
|
2300
|
+
"/usr/share/mydrawprogram/Clipart" folder to the volume list.
|
2301
|
+
</p>
|
2302
|
+
<div class="variablelist"><table border="0">
|
2303
|
+
<col align="left" valign="top">
|
2304
|
+
<tbody>
|
2305
|
+
<tr>
|
2306
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2307
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2308
|
+
</td>
|
2309
|
+
</tr>
|
2310
|
+
<tr>
|
2311
|
+
<td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
|
2312
|
+
<td>filename of the folder to add. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
2313
|
+
</td>
|
2314
|
+
</tr>
|
2315
|
+
<tr>
|
2316
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2317
|
+
<td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2318
|
+
</td>
|
2319
|
+
</tr>
|
2320
|
+
<tr>
|
2321
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2322
|
+
<td>
|
2323
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be added successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2324
|
+
otherwise. In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.</td>
|
2325
|
+
</tr>
|
2326
|
+
</tbody>
|
2327
|
+
</table></div>
|
2328
|
+
<p class="since">Since 2.4</p>
|
2329
|
+
</div>
|
2330
|
+
<hr>
|
2331
|
+
<div class="refsect2">
|
2332
|
+
<a name="gtk-file-chooser-remove-shortcut-folder"></a><h3>gtk_file_chooser_remove_shortcut_folder</h3>
|
2333
|
+
<pre class="programlisting">#define gtk_file_chooser_remove_shortcut_folder gtk_file_chooser_remove_shortcut_folder_utf8
|
2334
|
+
</pre>
|
2335
|
+
<p>
|
2336
|
+
Removes a folder from a file chooser's list of shortcut folders.
|
2337
|
+
</p>
|
2338
|
+
<div class="variablelist"><table border="0">
|
2339
|
+
<col align="left" valign="top">
|
2340
|
+
<tbody>
|
2341
|
+
<tr>
|
2342
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2343
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2344
|
+
</td>
|
2345
|
+
</tr>
|
2346
|
+
<tr>
|
2347
|
+
<td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
|
2348
|
+
<td>filename of the folder to remove. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> filename]</span>
|
2349
|
+
</td>
|
2350
|
+
</tr>
|
2351
|
+
<tr>
|
2352
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2353
|
+
<td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2354
|
+
</td>
|
2355
|
+
</tr>
|
2356
|
+
<tr>
|
2357
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2358
|
+
<td>
|
2359
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeds, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
2360
|
+
In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.
|
2361
|
+
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder" title="gtk_file_chooser_add_shortcut_folder"><code class="function">gtk_file_chooser_add_shortcut_folder()</code></a>
|
2362
|
+
</td>
|
2363
|
+
</tr>
|
2364
|
+
</tbody>
|
2365
|
+
</table></div>
|
2366
|
+
<p class="since">Since 2.4</p>
|
2367
|
+
</div>
|
2368
|
+
<hr>
|
2369
|
+
<div class="refsect2">
|
2370
|
+
<a name="gtk-file-chooser-list-shortcut-folders"></a><h3>gtk_file_chooser_list_shortcut_folders</h3>
|
2371
|
+
<pre class="programlisting">#define gtk_file_chooser_list_shortcut_folders gtk_file_chooser_list_shortcut_folders_utf8
|
2372
|
+
</pre>
|
2373
|
+
<p>
|
2374
|
+
Queries the list of shortcut folders in the file chooser, as set by
|
2375
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder" title="gtk_file_chooser_add_shortcut_folder"><code class="function">gtk_file_chooser_add_shortcut_folder()</code></a>.
|
2376
|
+
</p>
|
2377
|
+
<div class="variablelist"><table border="0">
|
2378
|
+
<col align="left" valign="top">
|
2379
|
+
<tbody>
|
2380
|
+
<tr>
|
2381
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2382
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2383
|
+
</td>
|
2384
|
+
</tr>
|
2385
|
+
<tr>
|
2386
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2387
|
+
<td>A list of
|
2388
|
+
folder filenames, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are no shortcut folders. Free
|
2389
|
+
the returned list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the filenames with
|
2390
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> filename][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2391
|
+
</td>
|
2392
|
+
</tr>
|
2393
|
+
</tbody>
|
2394
|
+
</table></div>
|
2395
|
+
<p class="since">Since 2.4</p>
|
2396
|
+
</div>
|
2397
|
+
<hr>
|
2398
|
+
<div class="refsect2">
|
2399
|
+
<a name="gtk-file-chooser-add-shortcut-folder-uri"></a><h3>gtk_file_chooser_add_shortcut_folder_uri ()</h3>
|
2400
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_add_shortcut_folder_uri
|
2401
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2402
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
2403
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2404
|
+
<p>
|
2405
|
+
Adds a folder URI to be displayed with the shortcut folders in a file
|
2406
|
+
chooser. Note that shortcut folders do not get saved, as they are provided
|
2407
|
+
by the application. For example, you can use this to add a
|
2408
|
+
"file:///usr/share/mydrawprogram/Clipart" folder to the volume list.
|
2409
|
+
</p>
|
2410
|
+
<div class="variablelist"><table border="0">
|
2411
|
+
<col align="left" valign="top">
|
2412
|
+
<tbody>
|
2413
|
+
<tr>
|
2414
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2415
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2416
|
+
</td>
|
2417
|
+
</tr>
|
2418
|
+
<tr>
|
2419
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
2420
|
+
<td>URI of the folder to add</td>
|
2421
|
+
</tr>
|
2422
|
+
<tr>
|
2423
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2424
|
+
<td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2425
|
+
</td>
|
2426
|
+
</tr>
|
2427
|
+
<tr>
|
2428
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2429
|
+
<td>
|
2430
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be added successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2431
|
+
otherwise. In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.</td>
|
2432
|
+
</tr>
|
2433
|
+
</tbody>
|
2434
|
+
</table></div>
|
2435
|
+
<p class="since">Since 2.4</p>
|
2436
|
+
</div>
|
2437
|
+
<hr>
|
2438
|
+
<div class="refsect2">
|
2439
|
+
<a name="gtk-file-chooser-remove-shortcut-folder-uri"></a><h3>gtk_file_chooser_remove_shortcut_folder_uri ()</h3>
|
2440
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_remove_shortcut_folder_uri
|
2441
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2442
|
+
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
2443
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2444
|
+
<p>
|
2445
|
+
Removes a folder URI from a file chooser's list of shortcut folders.
|
2446
|
+
</p>
|
2447
|
+
<div class="variablelist"><table border="0">
|
2448
|
+
<col align="left" valign="top">
|
2449
|
+
<tbody>
|
2450
|
+
<tr>
|
2451
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2452
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2453
|
+
</td>
|
2454
|
+
</tr>
|
2455
|
+
<tr>
|
2456
|
+
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
2457
|
+
<td>URI of the folder to remove</td>
|
2458
|
+
</tr>
|
2459
|
+
<tr>
|
2460
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2461
|
+
<td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2462
|
+
</td>
|
2463
|
+
</tr>
|
2464
|
+
<tr>
|
2465
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2466
|
+
<td>
|
2467
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the operation succeeds, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
|
2468
|
+
In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.
|
2469
|
+
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder-uri" title="gtk_file_chooser_add_shortcut_folder_uri ()"><code class="function">gtk_file_chooser_add_shortcut_folder_uri()</code></a>
|
2470
|
+
</td>
|
2471
|
+
</tr>
|
2472
|
+
</tbody>
|
2473
|
+
</table></div>
|
2474
|
+
<p class="since">Since 2.4</p>
|
2475
|
+
</div>
|
2476
|
+
<hr>
|
2477
|
+
<div class="refsect2">
|
2478
|
+
<a name="gtk-file-chooser-list-shortcut-folder-uris"></a><h3>gtk_file_chooser_list_shortcut_folder_uris ()</h3>
|
2479
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_file_chooser_list_shortcut_folder_uris
|
2480
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2481
|
+
<p>
|
2482
|
+
Queries the list of shortcut folders in the file chooser, as set by
|
2483
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder-uri" title="gtk_file_chooser_add_shortcut_folder_uri ()"><code class="function">gtk_file_chooser_add_shortcut_folder_uri()</code></a>.
|
2484
|
+
</p>
|
2485
|
+
<div class="variablelist"><table border="0">
|
2486
|
+
<col align="left" valign="top">
|
2487
|
+
<tbody>
|
2488
|
+
<tr>
|
2489
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2490
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2491
|
+
</td>
|
2492
|
+
</tr>
|
2493
|
+
<tr>
|
2494
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2495
|
+
<td>A list of folder
|
2496
|
+
URIs, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are no shortcut folders. Free the returned
|
2497
|
+
list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and the URIs with <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2498
|
+
</td>
|
2499
|
+
</tr>
|
2500
|
+
</tbody>
|
2501
|
+
</table></div>
|
2502
|
+
<p class="since">Since 2.4</p>
|
2503
|
+
</div>
|
2504
|
+
<hr>
|
2505
|
+
<div class="refsect2">
|
2506
|
+
<a name="gtk-file-chooser-get-current-folder-file"></a><h3>gtk_file_chooser_get_current_folder_file ()</h3>
|
2507
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * gtk_file_chooser_get_current_folder_file
|
2508
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2509
|
+
<p>
|
2510
|
+
Gets the current folder of <em class="parameter"><code>chooser</code></em> as <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>.
|
2511
|
+
See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder-uri" title="gtk_file_chooser_get_current_folder_uri ()"><code class="function">gtk_file_chooser_get_current_folder_uri()</code></a>.
|
2512
|
+
</p>
|
2513
|
+
<div class="variablelist"><table border="0">
|
2514
|
+
<col align="left" valign="top">
|
2515
|
+
<tbody>
|
2516
|
+
<tr>
|
2517
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2518
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2519
|
+
</td>
|
2520
|
+
</tr>
|
2521
|
+
<tr>
|
2522
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2523
|
+
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the current folder. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2524
|
+
</td>
|
2525
|
+
</tr>
|
2526
|
+
</tbody>
|
2527
|
+
</table></div>
|
2528
|
+
<p class="since">Since 2.14</p>
|
2529
|
+
</div>
|
2530
|
+
<hr>
|
2531
|
+
<div class="refsect2">
|
2532
|
+
<a name="gtk-file-chooser-get-file"></a><h3>gtk_file_chooser_get_file ()</h3>
|
2533
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * gtk_file_chooser_get_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2534
|
+
<p>
|
2535
|
+
Gets the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the currently selected file in
|
2536
|
+
the file selector. If multiple files are selected,
|
2537
|
+
one of the files will be returned at random.
|
2538
|
+
</p>
|
2539
|
+
<p>
|
2540
|
+
If the file chooser is in folder mode, this function returns the selected
|
2541
|
+
folder.
|
2542
|
+
</p>
|
2543
|
+
<div class="variablelist"><table border="0">
|
2544
|
+
<col align="left" valign="top">
|
2545
|
+
<tbody>
|
2546
|
+
<tr>
|
2547
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2548
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2549
|
+
</td>
|
2550
|
+
</tr>
|
2551
|
+
<tr>
|
2552
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2553
|
+
<td>a selected <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>. You own the returned file;
|
2554
|
+
use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> to release it. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2555
|
+
</td>
|
2556
|
+
</tr>
|
2557
|
+
</tbody>
|
2558
|
+
</table></div>
|
2559
|
+
<p class="since">Since 2.14</p>
|
2560
|
+
</div>
|
2561
|
+
<hr>
|
2562
|
+
<div class="refsect2">
|
2563
|
+
<a name="gtk-file-chooser-get-files"></a><h3>gtk_file_chooser_get_files ()</h3>
|
2564
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> * gtk_file_chooser_get_files (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2565
|
+
<p>
|
2566
|
+
Lists all the selected files and subfolders in the current folder of <em class="parameter"><code>chooser</code></em>
|
2567
|
+
as <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>. An internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>.
|
2568
|
+
</p>
|
2569
|
+
<div class="variablelist"><table border="0">
|
2570
|
+
<col align="left" valign="top">
|
2571
|
+
<tbody>
|
2572
|
+
<tr>
|
2573
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2574
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2575
|
+
</td>
|
2576
|
+
</tr>
|
2577
|
+
<tr>
|
2578
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2579
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
|
2580
|
+
containing a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for each selected file and subfolder in the
|
2581
|
+
current folder. Free the returned list with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a>, and
|
2582
|
+
the files with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GFile][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2583
|
+
</td>
|
2584
|
+
</tr>
|
2585
|
+
</tbody>
|
2586
|
+
</table></div>
|
2587
|
+
<p class="since">Since 2.14</p>
|
2588
|
+
</div>
|
2589
|
+
<hr>
|
2590
|
+
<div class="refsect2">
|
2591
|
+
<a name="gtk-file-chooser-get-preview-file"></a><h3>gtk_file_chooser_get_preview_file ()</h3>
|
2592
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="returnvalue">GFile</span></a> * gtk_file_chooser_get_preview_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
2593
|
+
<p>
|
2594
|
+
Gets the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> that should be previewed in a custom preview
|
2595
|
+
Internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()"><code class="function">gtk_file_chooser_get_preview_uri()</code></a>.
|
2596
|
+
</p>
|
2597
|
+
<div class="variablelist"><table border="0">
|
2598
|
+
<col align="left" valign="top">
|
2599
|
+
<tbody>
|
2600
|
+
<tr>
|
2601
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2602
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2603
|
+
</td>
|
2604
|
+
</tr>
|
2605
|
+
<tr>
|
2606
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2607
|
+
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the file to preview,
|
2608
|
+
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no file is selected. Free with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
|
2609
|
+
</td>
|
2610
|
+
</tr>
|
2611
|
+
</tbody>
|
2612
|
+
</table></div>
|
2613
|
+
<p class="since">Since 2.14</p>
|
2614
|
+
</div>
|
2615
|
+
<hr>
|
2616
|
+
<div class="refsect2">
|
2617
|
+
<a name="gtk-file-chooser-select-file"></a><h3>gtk_file_chooser_select_file ()</h3>
|
2618
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_select_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2619
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
2620
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2621
|
+
<p>
|
2622
|
+
Selects the file referred to by <em class="parameter"><code>file</code></em>. An internal function. See
|
2623
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()"><code class="function">_gtk_file_chooser_select_uri()</code></a>.
|
2624
|
+
</p>
|
2625
|
+
<div class="variablelist"><table border="0">
|
2626
|
+
<col align="left" valign="top">
|
2627
|
+
<tbody>
|
2628
|
+
<tr>
|
2629
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2630
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2631
|
+
</td>
|
2632
|
+
</tr>
|
2633
|
+
<tr>
|
2634
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2635
|
+
<td>the file to select</td>
|
2636
|
+
</tr>
|
2637
|
+
<tr>
|
2638
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2639
|
+
<td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2640
|
+
</td>
|
2641
|
+
</tr>
|
2642
|
+
<tr>
|
2643
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2644
|
+
<td>
|
2645
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the path was
|
2646
|
+
selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
2647
|
+
</tr>
|
2648
|
+
</tbody>
|
2649
|
+
</table></div>
|
2650
|
+
<p class="since">Since 2.14</p>
|
2651
|
+
</div>
|
2652
|
+
<hr>
|
2653
|
+
<div class="refsect2">
|
2654
|
+
<a name="gtk-file-chooser-set-current-folder-file"></a><h3>gtk_file_chooser_set_current_folder_file ()</h3>
|
2655
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_set_current_folder_file
|
2656
|
+
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2657
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
2658
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2659
|
+
<p>
|
2660
|
+
Sets the current folder for <em class="parameter"><code>chooser</code></em> from a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>.
|
2661
|
+
Internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()"><code class="function">gtk_file_chooser_set_current_folder_uri()</code></a>.
|
2662
|
+
</p>
|
2663
|
+
<div class="variablelist"><table border="0">
|
2664
|
+
<col align="left" valign="top">
|
2665
|
+
<tbody>
|
2666
|
+
<tr>
|
2667
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2668
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2669
|
+
</td>
|
2670
|
+
</tr>
|
2671
|
+
<tr>
|
2672
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2673
|
+
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the new folder</td>
|
2674
|
+
</tr>
|
2675
|
+
<tr>
|
2676
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2677
|
+
<td>location to store error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2678
|
+
</td>
|
2679
|
+
</tr>
|
2680
|
+
<tr>
|
2681
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2682
|
+
<td>
|
2683
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the folder could be changed successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
|
2684
|
+
otherwise.</td>
|
2685
|
+
</tr>
|
2686
|
+
</tbody>
|
2687
|
+
</table></div>
|
2688
|
+
<p class="since">Since 2.14</p>
|
2689
|
+
</div>
|
2690
|
+
<hr>
|
2691
|
+
<div class="refsect2">
|
2692
|
+
<a name="gtk-file-chooser-set-file"></a><h3>gtk_file_chooser_set_file ()</h3>
|
2693
|
+
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_file_chooser_set_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2694
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
2695
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
|
2696
|
+
<p>
|
2697
|
+
Sets <em class="parameter"><code>file</code></em> as the current filename for the file chooser, by changing
|
2698
|
+
to the file's parent folder and actually selecting the file in list. If
|
2699
|
+
the <em class="parameter"><code>chooser</code></em> is in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode, the file's base name
|
2700
|
+
will also appear in the dialog's file name entry.
|
2701
|
+
</p>
|
2702
|
+
<p>
|
2703
|
+
If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current
|
2704
|
+
folder of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>. This
|
2705
|
+
is equivalent to a sequence of <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-all" title="gtk_file_chooser_unselect_all ()"><code class="function">gtk_file_chooser_unselect_all()</code></a> followed by
|
2706
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename"><code class="function">gtk_file_chooser_select_filename()</code></a>.
|
2707
|
+
</p>
|
2708
|
+
<p>
|
2709
|
+
Note that the file must exist, or nothing will be done except
|
2710
|
+
for the directory change.
|
2711
|
+
</p>
|
2712
|
+
<p>
|
2713
|
+
If you are implementing a <span class="guimenuitem">File/Save As...</span> dialog,
|
2714
|
+
you should use this function if you already have a file name to which the
|
2715
|
+
user may save; for example, when the user opens an existing file and then
|
2716
|
+
does <span class="guimenuitem">File/Save As...</span> on it. If you don't have
|
2717
|
+
a file name already — for example, if the user just created a new
|
2718
|
+
file and is saving it for the first time, do not call this function.
|
2719
|
+
Instead, use something similar to this:
|
2720
|
+
</p>
|
2721
|
+
<div class="informalexample">
|
2722
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2723
|
+
<tbody>
|
2724
|
+
<tr>
|
2725
|
+
<td class="listing_lines" align="right"><pre>1
|
2726
|
+
2
|
2727
|
+
3
|
2728
|
+
4
|
2729
|
+
5
|
2730
|
+
6
|
2731
|
+
7
|
2732
|
+
8
|
2733
|
+
9
|
2734
|
+
10
|
2735
|
+
11</pre></td>
|
2736
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">document_is_new</span><span class="symbol">)</span>
|
2737
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
2738
|
+
<span class="normal"> </span><span class="comment">/* the user just created a new document */</span>
|
2739
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-file">gtk_file_chooser_set_current_folder_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> default_file_for_saving</span><span class="symbol">);</span>
|
2740
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-name">gtk_file_chooser_set_current_name</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"Untitled document"</span><span class="symbol">);</span>
|
2741
|
+
<span class="normal"> </span><span class="cbracket">}</span>
|
2742
|
+
<span class="keyword">else</span>
|
2743
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
2744
|
+
<span class="normal"> </span><span class="comment">/* the user edited an existing document */</span>
|
2745
|
+
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-file">gtk_file_chooser_set_file</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> existing_file</span><span class="symbol">);</span>
|
2746
|
+
<span class="normal"> </span><span class="cbracket">}</span></pre></td>
|
2747
|
+
</tr>
|
2748
|
+
</tbody>
|
2749
|
+
</table>
|
2750
|
+
</div>
|
2751
|
+
|
2752
|
+
<p>
|
2753
|
+
</p>
|
2754
|
+
<div class="variablelist"><table border="0">
|
2755
|
+
<col align="left" valign="top">
|
2756
|
+
<tbody>
|
2757
|
+
<tr>
|
2758
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2759
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2760
|
+
</td>
|
2761
|
+
</tr>
|
2762
|
+
<tr>
|
2763
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2764
|
+
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> to set as current</td>
|
2765
|
+
</tr>
|
2766
|
+
<tr>
|
2767
|
+
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2768
|
+
<td>location to store the error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore errors. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
|
2769
|
+
</td>
|
2770
|
+
</tr>
|
2771
|
+
<tr>
|
2772
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2773
|
+
<td>
|
2774
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if both the folder could be changed and the file was
|
2775
|
+
selected successfully, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
2776
|
+
</tr>
|
2777
|
+
</tbody>
|
2778
|
+
</table></div>
|
2779
|
+
<p class="since">Since 2.14</p>
|
2780
|
+
</div>
|
2781
|
+
<hr>
|
2782
|
+
<div class="refsect2">
|
2783
|
+
<a name="gtk-file-chooser-unselect-file"></a><h3>gtk_file_chooser_unselect_file ()</h3>
|
2784
|
+
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_unselect_file (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
2785
|
+
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>);</pre>
|
2786
|
+
<p>
|
2787
|
+
Unselects the file referred to by <em class="parameter"><code>file</code></em>. If the file is not in the current
|
2788
|
+
directory, does not exist, or is otherwise not currently selected, does nothing.
|
2789
|
+
</p>
|
2790
|
+
<div class="variablelist"><table border="0">
|
2791
|
+
<col align="left" valign="top">
|
2792
|
+
<tbody>
|
2793
|
+
<tr>
|
2794
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
2795
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
2796
|
+
</td>
|
2797
|
+
</tr>
|
2798
|
+
<tr>
|
2799
|
+
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2800
|
+
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>
|
2801
|
+
</td>
|
2802
|
+
</tr>
|
2803
|
+
</tbody>
|
2804
|
+
</table></div>
|
2805
|
+
<p class="since">Since 2.14</p>
|
2806
|
+
</div>
|
2807
|
+
</div>
|
2808
|
+
<div class="refsect1">
|
2809
|
+
<a name="GtkFileChooser.property-details"></a><h2>Property Details</h2>
|
2810
|
+
<div class="refsect2">
|
2811
|
+
<a name="GtkFileChooser--action"></a><h3>The <code class="literal">"action"</code> property</h3>
|
2812
|
+
<pre class="programlisting"> "action" <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> : Read / Write</pre>
|
2813
|
+
<p>The type of operation that the file selector is performing.</p>
|
2814
|
+
<p>Default value: GTK_FILE_CHOOSER_ACTION_OPEN</p>
|
2815
|
+
</div>
|
2816
|
+
<hr>
|
2817
|
+
<div class="refsect2">
|
2818
|
+
<a name="GtkFileChooser--create-folders"></a><h3>The <code class="literal">"create-folders"</code> property</h3>
|
2819
|
+
<pre class="programlisting"> "create-folders" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2820
|
+
<p>
|
2821
|
+
Whether a file chooser not in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_OPEN</code></a> mode
|
2822
|
+
will offer the user to create new folders.
|
2823
|
+
</p>
|
2824
|
+
<p>Default value: TRUE</p>
|
2825
|
+
<p class="since">Since 2.18</p>
|
2826
|
+
</div>
|
2827
|
+
<hr>
|
2828
|
+
<div class="refsect2">
|
2829
|
+
<a name="GtkFileChooser--do-overwrite-confirmation"></a><h3>The <code class="literal">"do-overwrite-confirmation"</code> property</h3>
|
2830
|
+
<pre class="programlisting"> "do-overwrite-confirmation" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2831
|
+
<p>
|
2832
|
+
Whether a file chooser in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode
|
2833
|
+
will present an overwrite confirmation dialog if the user
|
2834
|
+
selects a file name that already exists.
|
2835
|
+
</p>
|
2836
|
+
<p>Default value: FALSE</p>
|
2837
|
+
<p class="since">Since 2.8</p>
|
2838
|
+
</div>
|
2839
|
+
<hr>
|
2840
|
+
<div class="refsect2">
|
2841
|
+
<a name="GtkFileChooser--extra-widget"></a><h3>The <code class="literal">"extra-widget"</code> property</h3>
|
2842
|
+
<pre class="programlisting"> "extra-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
|
2843
|
+
<p>Application supplied widget for extra options.</p>
|
2844
|
+
</div>
|
2845
|
+
<hr>
|
2846
|
+
<div class="refsect2">
|
2847
|
+
<a name="GtkFileChooser--file-system-backend"></a><h3>The <code class="literal">"file-system-backend"</code> property</h3>
|
2848
|
+
<pre class="programlisting"> "file-system-backend" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Write / Construct Only</pre>
|
2849
|
+
<p>Name of file system backend to use.</p>
|
2850
|
+
<p>Default value: NULL</p>
|
2851
|
+
</div>
|
2852
|
+
<hr>
|
2853
|
+
<div class="refsect2">
|
2854
|
+
<a name="GtkFileChooser--filter"></a><h3>The <code class="literal">"filter"</code> property</h3>
|
2855
|
+
<pre class="programlisting"> "filter" <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>* : Read / Write</pre>
|
2856
|
+
<p>The current filter for selecting which files are displayed.</p>
|
2857
|
+
</div>
|
2858
|
+
<hr>
|
2859
|
+
<div class="refsect2">
|
2860
|
+
<a name="GtkFileChooser--local-only"></a><h3>The <code class="literal">"local-only"</code> property</h3>
|
2861
|
+
<pre class="programlisting"> "local-only" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2862
|
+
<p>Whether the selected file(s) should be limited to local file: URLs.</p>
|
2863
|
+
<p>Default value: TRUE</p>
|
2864
|
+
</div>
|
2865
|
+
<hr>
|
2866
|
+
<div class="refsect2">
|
2867
|
+
<a name="GtkFileChooser--preview-widget"></a><h3>The <code class="literal">"preview-widget"</code> property</h3>
|
2868
|
+
<pre class="programlisting"> "preview-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
|
2869
|
+
<p>Application supplied widget for custom previews.</p>
|
2870
|
+
</div>
|
2871
|
+
<hr>
|
2872
|
+
<div class="refsect2">
|
2873
|
+
<a name="GtkFileChooser--preview-widget-active"></a><h3>The <code class="literal">"preview-widget-active"</code> property</h3>
|
2874
|
+
<pre class="programlisting"> "preview-widget-active" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2875
|
+
<p>Whether the application supplied widget for custom previews should be shown.</p>
|
2876
|
+
<p>Default value: TRUE</p>
|
2877
|
+
</div>
|
2878
|
+
<hr>
|
2879
|
+
<div class="refsect2">
|
2880
|
+
<a name="GtkFileChooser--select-multiple"></a><h3>The <code class="literal">"select-multiple"</code> property</h3>
|
2881
|
+
<pre class="programlisting"> "select-multiple" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2882
|
+
<p>Whether to allow multiple files to be selected.</p>
|
2883
|
+
<p>Default value: FALSE</p>
|
2884
|
+
</div>
|
2885
|
+
<hr>
|
2886
|
+
<div class="refsect2">
|
2887
|
+
<a name="GtkFileChooser--show-hidden"></a><h3>The <code class="literal">"show-hidden"</code> property</h3>
|
2888
|
+
<pre class="programlisting"> "show-hidden" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2889
|
+
<p>Whether the hidden files and folders should be displayed.</p>
|
2890
|
+
<p>Default value: FALSE</p>
|
2891
|
+
</div>
|
2892
|
+
<hr>
|
2893
|
+
<div class="refsect2">
|
2894
|
+
<a name="GtkFileChooser--use-preview-label"></a><h3>The <code class="literal">"use-preview-label"</code> property</h3>
|
2895
|
+
<pre class="programlisting"> "use-preview-label" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write</pre>
|
2896
|
+
<p>Whether to display a stock label with the name of the previewed file.</p>
|
2897
|
+
<p>Default value: TRUE</p>
|
2898
|
+
</div>
|
2899
|
+
</div>
|
2900
|
+
<div class="refsect1">
|
2901
|
+
<a name="GtkFileChooser.signal-details"></a><h2>Signal Details</h2>
|
2902
|
+
<div class="refsect2">
|
2903
|
+
<a name="GtkFileChooser-confirm-overwrite"></a><h3>The <code class="literal">"confirm-overwrite"</code> signal</h3>
|
2904
|
+
<pre class="programlisting"><a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="returnvalue">GtkFileChooserConfirmation</span></a>user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
2905
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
2906
|
+
<p>
|
2907
|
+
This signal gets emitted whenever it is appropriate to present a
|
2908
|
+
confirmation dialog when the user has selected a file name that
|
2909
|
+
already exists. The signal only gets emitted when the file
|
2910
|
+
chooser is in <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-SAVE:CAPS"><code class="literal">GTK_FILE_CHOOSER_ACTION_SAVE</code></a> mode.
|
2911
|
+
</p>
|
2912
|
+
<p>
|
2913
|
+
Most applications just need to turn on the
|
2914
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooser--do-overwrite-confirmation" title='The "do-overwrite-confirmation" property'><span class="type">"do-overwrite-confirmation"</span></a> property (or call the
|
2915
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-do-overwrite-confirmation" title="gtk_file_chooser_set_do_overwrite_confirmation ()"><code class="function">gtk_file_chooser_set_do_overwrite_confirmation()</code></a> function), and
|
2916
|
+
they will automatically get a stock confirmation dialog.
|
2917
|
+
Applications which need to customize this behavior should do
|
2918
|
+
that, and also connect to the <a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'><span class="type">"confirm-overwrite"</span></a>
|
2919
|
+
signal.
|
2920
|
+
</p>
|
2921
|
+
<p>
|
2922
|
+
A signal handler for this signal must return a
|
2923
|
+
<a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value, which indicates the action to
|
2924
|
+
take. If the handler determines that the user wants to select a
|
2925
|
+
different filename, it should return
|
2926
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-SELECT-AGAIN:CAPS"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</code></a>. If it determines
|
2927
|
+
that the user is satisfied with his choice of file name, it
|
2928
|
+
should return <a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-ACCEPT-FILENAME:CAPS"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</code></a>.
|
2929
|
+
On the other hand, if it determines that the stock confirmation
|
2930
|
+
dialog should be used, it should return
|
2931
|
+
<a class="link" href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-CONFIRM:CAPS"><code class="literal">GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM</code></a>. The following example
|
2932
|
+
illustrates this.
|
2933
|
+
</p>
|
2934
|
+
<div class="example">
|
2935
|
+
<a name="gtkfilechooser-confirmation"></a><p class="title"><b>Example 43. Custom confirmation</b></p>
|
2936
|
+
<div class="example-contents">
|
2937
|
+
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2938
|
+
<tbody>
|
2939
|
+
<tr>
|
2940
|
+
<td class="listing_lines" align="right"><pre>1
|
2941
|
+
2
|
2942
|
+
3
|
2943
|
+
4
|
2944
|
+
5
|
2945
|
+
6
|
2946
|
+
7
|
2947
|
+
8
|
2948
|
+
9
|
2949
|
+
10
|
2950
|
+
11
|
2951
|
+
12
|
2952
|
+
13
|
2953
|
+
14
|
2954
|
+
15
|
2955
|
+
16
|
2956
|
+
17
|
2957
|
+
18
|
2958
|
+
19
|
2959
|
+
20
|
2960
|
+
21
|
2961
|
+
22
|
2962
|
+
23
|
2963
|
+
24
|
2964
|
+
25
|
2965
|
+
26
|
2966
|
+
27
|
2967
|
+
28</pre></td>
|
2968
|
+
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> <a href="GtkFileChooser.html#GtkFileChooserConfirmation">GtkFileChooserConfirmation</a></span>
|
2969
|
+
<span class="function">confirm_overwrite_callback</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkFileChooser</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> data</span><span class="symbol">)</span>
|
2970
|
+
<span class="cbracket">{</span>
|
2971
|
+
<span class="normal"> </span><span class="type">char</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">uri</span><span class="symbol">;</span>
|
2972
|
+
<span class="normal"> uri </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-get-uri">gtk_file_chooser_get_uri</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">);</span>
|
2973
|
+
|
2974
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">is_uri_read_only</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri</span><span class="symbol">))</span>
|
2975
|
+
<span class="normal"> </span><span class="cbracket">{</span>
|
2976
|
+
<span class="normal"> </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function">user_wants_to_replace_read_only_file</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">uri</span><span class="symbol">))</span>
|
2977
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-ACCEPT-FILENAME:CAPS">GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME</a></span><span class="symbol">;</span>
|
2978
|
+
<span class="normal"> </span><span class="keyword">else</span>
|
2979
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-SELECT-AGAIN:CAPS">GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN</a></span><span class="symbol">;</span>
|
2980
|
+
<span class="normal"> </span><span class="cbracket">}</span><span class="normal"> </span><span class="keyword">else</span>
|
2981
|
+
<span class="normal"> </span><span class="keyword">return</span><span class="normal"> <a href="GtkFileChooser.html#GTK-FILE-CHOOSER-CONFIRMATION-CONFIRM:CAPS">GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM</a></span><span class="symbol">;</span><span class="normal"> </span><span class="comment">// fall back to the default dialog</span>
|
2982
|
+
<span class="cbracket">}</span>
|
2983
|
+
|
2984
|
+
<span class="symbol">...</span>
|
2985
|
+
|
2986
|
+
<span class="normal">chooser </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFileChooserDialog.html#gtk-file-chooser-dialog-new">gtk_file_chooser_dialog_new</a></span><span class="normal"> </span><span class="symbol">(...);</span>
|
2987
|
+
|
2988
|
+
<span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-do-overwrite-confirmation">gtk_file_chooser_set_do_overwrite_confirmation</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_FILE_CHOOSER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">dialog</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">);</span>
|
2989
|
+
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"confirm-overwrite"</span><span class="symbol">,</span>
|
2990
|
+
<span class="normal"> </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">confirm_overwrite_callback</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
2991
|
+
|
2992
|
+
<span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkDialog.html#gtk-dialog-run">gtk_dialog_run</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">)</span><span class="normal"> </span><span class="symbol">==</span><span class="normal"> <a href="GtkDialog.html#GTK-RESPONSE-ACCEPT:CAPS">GTK_RESPONSE_ACCEPT</a></span><span class="symbol">)</span>
|
2993
|
+
<span class="normal"> </span><span class="function">save_to_file</span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-get-filename">gtk_file_chooser_get_filename</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_FILE_CHOOSER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">));</span>
|
2994
|
+
|
2995
|
+
<span class="function"><a href="GtkWidget.html#gtk-widget-destroy">gtk_widget_destroy</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">chooser</span><span class="symbol">);</span></pre></td>
|
2996
|
+
</tr>
|
2997
|
+
</tbody>
|
2998
|
+
</table>
|
2999
|
+
</div>
|
3000
|
+
|
3001
|
+
</div>
|
3002
|
+
<p><br class="example-break">
|
3003
|
+
</p>
|
3004
|
+
<div class="variablelist"><table border="0">
|
3005
|
+
<col align="left" valign="top">
|
3006
|
+
<tbody>
|
3007
|
+
<tr>
|
3008
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3009
|
+
<td>the object which received the signal.</td>
|
3010
|
+
</tr>
|
3011
|
+
<tr>
|
3012
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3013
|
+
<td>user data set when the signal handler was connected.</td>
|
3014
|
+
</tr>
|
3015
|
+
<tr>
|
3016
|
+
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3017
|
+
<td>a <a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value that indicates which
|
3018
|
+
action to take after emitting the signal.</td>
|
3019
|
+
</tr>
|
3020
|
+
</tbody>
|
3021
|
+
</table></div>
|
3022
|
+
<p class="since">Since 2.8</p>
|
3023
|
+
</div>
|
3024
|
+
<hr>
|
3025
|
+
<div class="refsect2">
|
3026
|
+
<a name="GtkFileChooser-current-folder-changed"></a><h3>The <code class="literal">"current-folder-changed"</code> signal</h3>
|
3027
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
3028
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
3029
|
+
<p>
|
3030
|
+
This signal is emitted when the current folder in a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
3031
|
+
changes. This can happen due to the user performing some action that
|
3032
|
+
changes folders, such as selecting a bookmark or visiting a folder on the
|
3033
|
+
file list. It can also happen as a result of calling a function to
|
3034
|
+
explicitly change the current folder in a file chooser.
|
3035
|
+
</p>
|
3036
|
+
<p>
|
3037
|
+
Normally you do not need to connect to this signal, unless you need to keep
|
3038
|
+
track of which folder a file chooser is showing.
|
3039
|
+
</p>
|
3040
|
+
<p>
|
3041
|
+
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder"><code class="function">gtk_file_chooser_set_current_folder()</code></a>,
|
3042
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder" title="gtk_file_chooser_get_current_folder"><code class="function">gtk_file_chooser_get_current_folder()</code></a>,
|
3043
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder-uri" title="gtk_file_chooser_set_current_folder_uri ()"><code class="function">gtk_file_chooser_set_current_folder_uri()</code></a>,
|
3044
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder-uri" title="gtk_file_chooser_get_current_folder_uri ()"><code class="function">gtk_file_chooser_get_current_folder_uri()</code></a>.
|
3045
|
+
</p>
|
3046
|
+
<div class="variablelist"><table border="0">
|
3047
|
+
<col align="left" valign="top">
|
3048
|
+
<tbody>
|
3049
|
+
<tr>
|
3050
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3051
|
+
<td>the object which received the signal.</td>
|
3052
|
+
</tr>
|
3053
|
+
<tr>
|
3054
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3055
|
+
<td>user data set when the signal handler was connected.</td>
|
3056
|
+
</tr>
|
3057
|
+
</tbody>
|
3058
|
+
</table></div>
|
3059
|
+
</div>
|
3060
|
+
<hr>
|
3061
|
+
<div class="refsect2">
|
3062
|
+
<a name="GtkFileChooser-file-activated"></a><h3>The <code class="literal">"file-activated"</code> signal</h3>
|
3063
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
3064
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
3065
|
+
<p>
|
3066
|
+
This signal is emitted when the user "activates" a file in the file
|
3067
|
+
chooser. This can happen by double-clicking on a file in the file list, or
|
3068
|
+
by pressing <span class="keycap"><strong>Enter</strong></span>.
|
3069
|
+
</p>
|
3070
|
+
<p>
|
3071
|
+
Normally you do not need to connect to this signal. It is used internally
|
3072
|
+
by <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a> to know when to activate the default button in the
|
3073
|
+
dialog.
|
3074
|
+
</p>
|
3075
|
+
<p>
|
3076
|
+
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename"><code class="function">gtk_file_chooser_get_filename()</code></a>,
|
3077
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames"><code class="function">gtk_file_chooser_get_filenames()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a>,
|
3078
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>.
|
3079
|
+
</p>
|
3080
|
+
<div class="variablelist"><table border="0">
|
3081
|
+
<col align="left" valign="top">
|
3082
|
+
<tbody>
|
3083
|
+
<tr>
|
3084
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3085
|
+
<td>the object which received the signal.</td>
|
3086
|
+
</tr>
|
3087
|
+
<tr>
|
3088
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3089
|
+
<td>user data set when the signal handler was connected.</td>
|
3090
|
+
</tr>
|
3091
|
+
</tbody>
|
3092
|
+
</table></div>
|
3093
|
+
</div>
|
3094
|
+
<hr>
|
3095
|
+
<div class="refsect2">
|
3096
|
+
<a name="GtkFileChooser-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3>
|
3097
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
3098
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
3099
|
+
<p>
|
3100
|
+
This signal is emitted when there is a change in the set of selected files
|
3101
|
+
in a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>. This can happen when the user modifies the selection
|
3102
|
+
with the mouse or the keyboard, or when explicitly calling functions to
|
3103
|
+
change the selection.
|
3104
|
+
</p>
|
3105
|
+
<p>
|
3106
|
+
Normally you do not need to connect to this signal, as it is easier to wait
|
3107
|
+
for the file chooser to finish running, and then to get the list of
|
3108
|
+
selected files using the functions mentioned below.
|
3109
|
+
</p>
|
3110
|
+
<p>
|
3111
|
+
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename"><code class="function">gtk_file_chooser_select_filename()</code></a>,
|
3112
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-filename" title="gtk_file_chooser_unselect_filename"><code class="function">gtk_file_chooser_unselect_filename()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename"><code class="function">gtk_file_chooser_get_filename()</code></a>,
|
3113
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames"><code class="function">gtk_file_chooser_get_filenames()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-uri" title="gtk_file_chooser_select_uri ()"><code class="function">gtk_file_chooser_select_uri()</code></a>,
|
3114
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-uri" title="gtk_file_chooser_unselect_uri ()"><code class="function">gtk_file_chooser_unselect_uri()</code></a>, <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uri" title="gtk_file_chooser_get_uri ()"><code class="function">gtk_file_chooser_get_uri()</code></a>,
|
3115
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-uris" title="gtk_file_chooser_get_uris ()"><code class="function">gtk_file_chooser_get_uris()</code></a>.
|
3116
|
+
</p>
|
3117
|
+
<div class="variablelist"><table border="0">
|
3118
|
+
<col align="left" valign="top">
|
3119
|
+
<tbody>
|
3120
|
+
<tr>
|
3121
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3122
|
+
<td>the object which received the signal.</td>
|
3123
|
+
</tr>
|
3124
|
+
<tr>
|
3125
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3126
|
+
<td>user data set when the signal handler was connected.</td>
|
3127
|
+
</tr>
|
3128
|
+
</tbody>
|
3129
|
+
</table></div>
|
3130
|
+
</div>
|
3131
|
+
<hr>
|
3132
|
+
<div class="refsect2">
|
3133
|
+
<a name="GtkFileChooser-update-preview"></a><h3>The <code class="literal">"update-preview"</code> signal</h3>
|
3134
|
+
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser,
|
3135
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
|
3136
|
+
<p>
|
3137
|
+
This signal is emitted when the preview in a file chooser should be
|
3138
|
+
regenerated. For example, this can happen when the currently selected file
|
3139
|
+
changes. You should use this signal if you want your file chooser to have
|
3140
|
+
a preview widget.
|
3141
|
+
</p>
|
3142
|
+
<p>
|
3143
|
+
Once you have installed a preview widget with
|
3144
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>, you should update it when this
|
3145
|
+
signal is emitted. You can use the functions
|
3146
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename"><code class="function">gtk_file_chooser_get_preview_filename()</code></a> or
|
3147
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()"><code class="function">gtk_file_chooser_get_preview_uri()</code></a> to get the name of the file to preview.
|
3148
|
+
Your widget may not be able to preview all kinds of files; your callback
|
3149
|
+
must call <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a> to inform the file
|
3150
|
+
chooser about whether the preview was generated successfully or not.
|
3151
|
+
</p>
|
3152
|
+
<p>
|
3153
|
+
Please see the example code in <a class="xref" href="GtkFileChooser.html#gtkfilechooser-preview" title="Adding a Preview Widget">the section called “Adding a Preview Widget”</a>.
|
3154
|
+
</p>
|
3155
|
+
<p>
|
3156
|
+
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget" title="gtk_file_chooser_set_preview_widget ()"><code class="function">gtk_file_chooser_set_preview_widget()</code></a>,
|
3157
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview-widget-active" title="gtk_file_chooser_set_preview_widget_active ()"><code class="function">gtk_file_chooser_set_preview_widget_active()</code></a>,
|
3158
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-use-preview-label" title="gtk_file_chooser_set_use_preview_label ()"><code class="function">gtk_file_chooser_set_use_preview_label()</code></a>,
|
3159
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename"><code class="function">gtk_file_chooser_get_preview_filename()</code></a>,
|
3160
|
+
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-uri" title="gtk_file_chooser_get_preview_uri ()"><code class="function">gtk_file_chooser_get_preview_uri()</code></a>.
|
3161
|
+
</p>
|
3162
|
+
<div class="variablelist"><table border="0">
|
3163
|
+
<col align="left" valign="top">
|
3164
|
+
<tbody>
|
3165
|
+
<tr>
|
3166
|
+
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3167
|
+
<td>the object which received the signal.</td>
|
3168
|
+
</tr>
|
3169
|
+
<tr>
|
3170
|
+
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
3171
|
+
<td>user data set when the signal handler was connected.</td>
|
3172
|
+
</tr>
|
3173
|
+
</tbody>
|
3174
|
+
</table></div>
|
3175
|
+
</div>
|
3176
|
+
</div>
|
3177
|
+
<div class="refsect1">
|
3178
|
+
<a name="GtkFileChooser.see-also"></a><h2>See Also</h2>
|
3179
|
+
<a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a>, <a class="link" href="GtkFileChooserWidget.html" title="GtkFileChooserWidget"><span class="type">GtkFileChooserWidget</span></a>, <a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a>
|
3180
|
+
</div>
|
3181
|
+
</div>
|
3182
|
+
<div class="footer">
|
3183
|
+
<hr>
|
3184
|
+
Generated by GTK-Doc V1.18</div>
|
3185
|
+
</body>
|
3186
|
+
</html>
|