gtk2 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +66 -1
- data/ext/gtk2/extconf.rb +0 -96
- data/ext/gtk2/global.h +274 -13
- data/ext/gtk2/gtk2.def +5 -3
- data/ext/gtk2/init.c +263 -19
- data/ext/gtk2/rbgdk.c +245 -89
- data/ext/gtk2/rbgdk.h +32 -6
- data/ext/gtk2/rbgdkatom.c +38 -28
- data/ext/gtk2/rbgdkcairo.c +32 -42
- data/ext/gtk2/rbgdkcolor.c +52 -42
- data/ext/gtk2/rbgdkcolormap.c +42 -37
- data/ext/gtk2/rbgdkconst.c +23 -13
- data/ext/gtk2/rbgdkconversions.h +19 -6
- data/ext/gtk2/rbgdkcursor.c +37 -25
- data/ext/gtk2/rbgdkdevice.c +77 -67
- data/ext/gtk2/rbgdkdisplay.c +158 -150
- data/ext/gtk2/rbgdkdisplaymanager.c +27 -15
- data/ext/gtk2/rbgdkdragcontext.c +121 -70
- data/ext/gtk2/rbgdkdraw.c +252 -160
- data/ext/gtk2/rbgdkevent.c +30 -20
- data/ext/gtk2/rbgdkgc.c +123 -116
- data/ext/gtk2/rbgdkgeometry.c +77 -68
- data/ext/gtk2/rbgdkimage.c +58 -47
- data/ext/gtk2/rbgdkinput.c +33 -26
- data/ext/gtk2/rbgdkkeymap.c +38 -27
- data/ext/gtk2/rbgdkkeyval.c +44 -32
- data/ext/gtk2/rbgdkpango.c +66 -39
- data/ext/gtk2/rbgdkpangorenderer.c +63 -35
- data/ext/gtk2/rbgdkpixbuf.c +36 -25
- data/ext/gtk2/rbgdkpixmap.c +65 -49
- data/ext/gtk2/rbgdkproperty.c +66 -60
- data/ext/gtk2/rbgdkrectangle.c +54 -46
- data/ext/gtk2/rbgdkregion.c +144 -79
- data/ext/gtk2/rbgdkrgb.c +74 -58
- data/ext/gtk2/rbgdkscreen.c +103 -97
- data/ext/gtk2/rbgdkselection.c +49 -39
- data/ext/gtk2/rbgdkthreads.c +32 -19
- data/ext/gtk2/rbgdktimecoord.c +60 -38
- data/ext/gtk2/rbgdkvisual.c +79 -71
- data/ext/gtk2/rbgdkwindow.c +284 -305
- data/ext/gtk2/rbgdkwindowattr.c +69 -58
- data/ext/gtk2/rbgdkx11.c +41 -28
- data/ext/gtk2/rbgtk.c +498 -19
- data/ext/gtk2/rbgtk.h +35 -20
- data/ext/gtk2/rbgtkaboutdialog.c +33 -80
- data/ext/gtk2/rbgtkaccelerator.c +36 -23
- data/ext/gtk2/rbgtkaccelgroup.c +50 -40
- data/ext/gtk2/rbgtkaccelgroupentry.c +32 -20
- data/ext/gtk2/rbgtkaccelkey.c +40 -28
- data/ext/gtk2/rbgtkaccellabel.c +30 -18
- data/ext/gtk2/rbgtkaccelmap.c +55 -42
- data/ext/gtk2/rbgtkaccessible.c +25 -14
- data/ext/gtk2/rbgtkaction.c +68 -68
- data/ext/gtk2/rbgtkactiongroup.c +317 -195
- data/ext/gtk2/rbgtkadjustment.c +33 -46
- data/ext/gtk2/rbgtkalignment.c +36 -24
- data/ext/gtk2/rbgtkallocation.c +53 -42
- data/ext/gtk2/rbgtkarrow.c +34 -22
- data/ext/gtk2/rbgtkaspectframe.c +32 -20
- data/ext/gtk2/rbgtkassistant.c +81 -61
- data/ext/gtk2/rbgtkbbox.c +32 -20
- data/ext/gtk2/rbgtkbin.c +28 -16
- data/ext/gtk2/rbgtkbindingset.c +42 -35
- data/ext/gtk2/rbgtkborder.c +34 -23
- data/ext/gtk2/rbgtkbox.c +40 -29
- data/ext/gtk2/rbgtkbuildable.c +57 -45
- data/ext/gtk2/rbgtkbuilder.c +53 -38
- data/ext/gtk2/rbgtkbutton.c +41 -55
- data/ext/gtk2/rbgtkcalendar.c +51 -40
- data/ext/gtk2/rbgtkcelleditable.c +28 -17
- data/ext/gtk2/rbgtkcelllayout.c +41 -30
- data/ext/gtk2/rbgtkcellrenderer.c +43 -32
- data/ext/gtk2/rbgtkcellrendereraccel.c +26 -18
- data/ext/gtk2/rbgtkcellrenderercombo.c +25 -17
- data/ext/gtk2/rbgtkcellrendererpixbuf.c +24 -17
- data/ext/gtk2/rbgtkcellrendererprogress.c +25 -17
- data/ext/gtk2/rbgtkcellrendererspin.c +24 -16
- data/ext/gtk2/rbgtkcellrendererspinner.c +23 -11
- data/ext/gtk2/rbgtkcellrenderertext.c +28 -21
- data/ext/gtk2/rbgtkcellrenderertoggle.c +24 -16
- data/ext/gtk2/rbgtkcellview.c +34 -33
- data/ext/gtk2/rbgtkcheckbutton.c +28 -16
- data/ext/gtk2/rbgtkcheckmenuitem.c +31 -19
- data/ext/gtk2/rbgtkclipboard.c +123 -77
- data/ext/gtk2/rbgtkcolorbutton.c +26 -31
- data/ext/gtk2/rbgtkcolorsel.c +109 -55
- data/ext/gtk2/rbgtkcolorselectiondialog.c +28 -19
- data/ext/gtk2/rbgtkcombo.c +43 -32
- data/ext/gtk2/rbgtkcombobox.c +44 -83
- data/ext/gtk2/rbgtkcomboboxentry.c +26 -21
- data/ext/gtk2/rbgtkconst.c +23 -13
- data/ext/gtk2/rbgtkcontainer.c +153 -100
- data/ext/gtk2/rbgtkconversions.h +19 -6
- data/ext/gtk2/rbgtkcurve.c +46 -36
- data/ext/gtk2/rbgtkdialog.c +104 -70
- data/ext/gtk2/rbgtkdrag.c +173 -121
- data/ext/gtk2/rbgtkdrawingarea.c +28 -16
- data/ext/gtk2/rbgtkeditable.c +63 -51
- data/ext/gtk2/rbgtkentry.c +48 -85
- data/ext/gtk2/rbgtkentrycompletion.c +42 -55
- data/ext/gtk2/rbgtkeventbox.c +28 -16
- data/ext/gtk2/rbgtkexpander.c +26 -35
- data/ext/gtk2/rbgtkfilechooser.c +87 -143
- data/ext/gtk2/rbgtkfilechooserbutton.c +26 -32
- data/ext/gtk2/rbgtkfilechooserdialog.c +25 -15
- data/ext/gtk2/rbgtkfilechooserwidget.c +26 -15
- data/ext/gtk2/rbgtkfilefilter.c +45 -35
- data/ext/gtk2/rbgtkfilesel.c +54 -43
- data/ext/gtk2/rbgtkfilesystemerror.c +51 -0
- data/ext/gtk2/rbgtkfixed.c +36 -25
- data/ext/gtk2/rbgtkfontbutton.c +26 -37
- data/ext/gtk2/rbgtkfontselection.c +27 -15
- data/ext/gtk2/rbgtkfontselectiondialog.c +43 -32
- data/ext/gtk2/rbgtkframe.c +39 -28
- data/ext/gtk2/rbgtkgamma.c +32 -20
- data/ext/gtk2/rbgtkhandlebox.c +31 -19
- data/ext/gtk2/rbgtkhbbox.c +28 -16
- data/ext/gtk2/rbgtkhbox.c +29 -17
- data/ext/gtk2/rbgtkhpaned.c +28 -16
- data/ext/gtk2/rbgtkhruler.c +28 -16
- data/ext/gtk2/rbgtkhscale.c +28 -16
- data/ext/gtk2/rbgtkhscrollbar.c +28 -16
- data/ext/gtk2/rbgtkhseparator.c +28 -16
- data/ext/gtk2/rbgtkiconfactory.c +35 -23
- data/ext/gtk2/rbgtkiconinfo.c +42 -30
- data/ext/gtk2/rbgtkiconset.c +31 -19
- data/ext/gtk2/rbgtkiconsize.c +38 -25
- data/ext/gtk2/rbgtkiconsource.c +62 -50
- data/ext/gtk2/rbgtkicontheme.c +95 -95
- data/ext/gtk2/rbgtkiconview.c +87 -121
- data/ext/gtk2/rbgtkimage.c +31 -40
- data/ext/gtk2/rbgtkimagemenuitem.c +26 -14
- data/ext/gtk2/rbgtkimcontext.c +46 -34
- data/ext/gtk2/rbgtkimcontextsimple.c +47 -24
- data/ext/gtk2/rbgtkimmulticontext.c +26 -14
- data/ext/gtk2/rbgtkinputdialog.c +28 -16
- data/ext/gtk2/rbgtkinvisible.c +24 -18
- data/ext/gtk2/rbgtkitem.c +32 -20
- data/ext/gtk2/rbgtkitemfactory.c +65 -57
- data/ext/gtk2/rbgtklabel.c +46 -57
- data/ext/gtk2/rbgtklayout.c +40 -29
- data/ext/gtk2/rbgtklinkbutton.c +26 -15
- data/ext/gtk2/rbgtkliststore.c +145 -102
- data/ext/gtk2/rbgtkmacros.h +19 -6
- data/ext/gtk2/rbgtkmenu.c +47 -59
- data/ext/gtk2/rbgtkmenubar.c +30 -30
- data/ext/gtk2/rbgtkmenuitem.c +34 -41
- data/ext/gtk2/rbgtkmenushell.c +43 -42
- data/ext/gtk2/rbgtkmenutoolbutton.c +27 -16
- data/ext/gtk2/rbgtkmessagedialog.c +31 -25
- data/ext/gtk2/rbgtkmisc.c +33 -22
- data/ext/gtk2/rbgtknotebook.c +98 -134
- data/ext/gtk2/rbgtkobject.c +46 -81
- data/ext/gtk2/rbgtkoptionmenu.c +35 -23
- data/ext/gtk2/rbgtkpagesetup.c +64 -54
- data/ext/gtk2/rbgtkpagesetupunixdialog.c +34 -27
- data/ext/gtk2/rbgtkpaned.c +46 -36
- data/ext/gtk2/rbgtkpapersize.c +60 -54
- data/ext/gtk2/rbgtkplug.c +32 -20
- data/ext/gtk2/rbgtkprintcontext.c +43 -35
- data/ext/gtk2/rbgtkprinter.c +36 -37
- data/ext/gtk2/rbgtkprintjob.c +36 -37
- data/ext/gtk2/rbgtkprintoperation.c +44 -33
- data/ext/gtk2/rbgtkprintoperationpreview.c +30 -18
- data/ext/gtk2/rbgtkprintsettings.c +248 -192
- data/ext/gtk2/rbgtkprintunixdialog.c +33 -45
- data/ext/gtk2/rbgtkprogress.c +23 -13
- data/ext/gtk2/rbgtkprogressbar.c +47 -46
- data/ext/gtk2/rbgtkradioaction.c +84 -39
- data/ext/gtk2/rbgtkradiobutton.c +33 -21
- data/ext/gtk2/rbgtkradiomenuitem.c +86 -45
- data/ext/gtk2/rbgtkradiotoolbutton.c +99 -53
- data/ext/gtk2/rbgtkrange.c +36 -56
- data/ext/gtk2/rbgtkrc.c +61 -49
- data/ext/gtk2/rbgtkrcstyle.c +59 -48
- data/ext/gtk2/rbgtkrecentaction.c +28 -16
- data/ext/gtk2/rbgtkrecentchooser.c +58 -92
- data/ext/gtk2/rbgtkrecentchooserdialog.c +29 -18
- data/ext/gtk2/rbgtkrecentchoosermenu.c +25 -21
- data/ext/gtk2/rbgtkrecentchooserwidget.c +24 -13
- data/ext/gtk2/rbgtkrecentdata.c +47 -36
- data/ext/gtk2/rbgtkrecentfilter.c +55 -46
- data/ext/gtk2/rbgtkrecentfilterinfo.c +51 -40
- data/ext/gtk2/rbgtkrecentinfo.c +66 -56
- data/ext/gtk2/rbgtkrecentmanager.c +47 -43
- data/ext/gtk2/rbgtkruler.c +35 -30
- data/ext/gtk2/rbgtkscale.c +29 -18
- data/ext/gtk2/rbgtkscalebutton.c +27 -27
- data/ext/gtk2/rbgtkscrollbar.c +23 -13
- data/ext/gtk2/rbgtkscrolledwindow.c +44 -60
- data/ext/gtk2/rbgtkselection.c +87 -67
- data/ext/gtk2/rbgtkselectiondata.c +74 -65
- data/ext/gtk2/rbgtkseparator.c +23 -13
- data/ext/gtk2/rbgtkseparatormenuitem.c +25 -13
- data/ext/gtk2/rbgtkseparatortoolitem.c +26 -21
- data/ext/gtk2/rbgtksettings.c +123 -103
- data/ext/gtk2/rbgtksizegroup.c +33 -30
- data/ext/gtk2/rbgtksocket.c +32 -20
- data/ext/gtk2/rbgtkspinbutton.c +48 -38
- data/ext/gtk2/rbgtkspinner.c +27 -14
- data/ext/gtk2/rbgtkstatusbar.c +36 -31
- data/ext/gtk2/rbgtkstatusicon.c +31 -44
- data/ext/gtk2/rbgtkstock.c +137 -125
- data/ext/gtk2/rbgtkstyle.c +177 -161
- data/ext/gtk2/rbgtktable.c +58 -47
- data/ext/gtk2/rbgtktargetlist.c +56 -36
- data/ext/gtk2/rbgtktearoffmenuitem.c +28 -16
- data/ext/gtk2/rbgtktextappearance.c +44 -34
- data/ext/gtk2/rbgtktextattributes.c +54 -42
- data/ext/gtk2/rbgtktextbuffer.c +188 -191
- data/ext/gtk2/rbgtktextchild.c +29 -18
- data/ext/gtk2/rbgtktextiter.c +153 -145
- data/ext/gtk2/rbgtktextmark.c +33 -30
- data/ext/gtk2/rbgtktexttag.c +34 -22
- data/ext/gtk2/rbgtktexttagtable.c +36 -25
- data/ext/gtk2/rbgtktextview.c +85 -73
- data/ext/gtk2/rbgtktoggleaction.c +27 -22
- data/ext/gtk2/rbgtktogglebutton.c +37 -26
- data/ext/gtk2/rbgtktoggletoolbutton.c +26 -20
- data/ext/gtk2/rbgtktoolbar.c +66 -69
- data/ext/gtk2/rbgtktoolbutton.c +27 -40
- data/ext/gtk2/rbgtktoolitem.c +60 -62
- data/ext/gtk2/rbgtktooltip.c +36 -25
- data/ext/gtk2/rbgtktooltips.c +42 -34
- data/ext/gtk2/rbgtktreedragdest.c +20 -11
- data/ext/gtk2/rbgtktreedragsource.c +20 -11
- data/ext/gtk2/rbgtktreeiter.c +58 -47
- data/ext/gtk2/rbgtktreemodel.c +83 -65
- data/ext/gtk2/rbgtktreemodelfilter.c +47 -35
- data/ext/gtk2/rbgtktreemodelsort.c +38 -27
- data/ext/gtk2/rbgtktreepath.c +55 -44
- data/ext/gtk2/rbgtktreerowreference.c +60 -42
- data/ext/gtk2/rbgtktreeselection.c +61 -52
- data/ext/gtk2/rbgtktreesortable.c +52 -42
- data/ext/gtk2/rbgtktreestore.c +88 -67
- data/ext/gtk2/rbgtktreeview.c +157 -185
- data/ext/gtk2/rbgtktreeviewcolumn.c +57 -62
- data/ext/gtk2/rbgtkuimanager.c +61 -61
- data/ext/gtk2/rbgtkvbbox.c +28 -16
- data/ext/gtk2/rbgtkvbox.c +29 -17
- data/ext/gtk2/rbgtkviewport.c +28 -16
- data/ext/gtk2/rbgtkvolumebutton.c +28 -16
- data/ext/gtk2/rbgtkvpaned.c +28 -16
- data/ext/gtk2/rbgtkvruler.c +28 -16
- data/ext/gtk2/rbgtkvscale.c +28 -16
- data/ext/gtk2/rbgtkvscrollbar.c +28 -16
- data/ext/gtk2/rbgtkvseparator.c +28 -16
- data/ext/gtk2/rbgtkwidget.c +284 -296
- data/ext/gtk2/rbgtkwindow.c +156 -214
- data/ext/gtk2/rbgtkwindowgroup.c +35 -24
- data/lib/1.8/gtk2.so +0 -0
- data/lib/1.9/gtk2.so +0 -0
- data/sample/testgtk/labels.rb +1 -0
- data/sample/testgtk/testgtk.rb +2 -0
- data/vendor/local/bin/gtk-builder-convert +29 -2
- data/vendor/local/bin/gtk-demo.exe +0 -0
- data/vendor/local/bin/gtk-query-immodules-2.0.exe +0 -0
- data/vendor/local/bin/gtk-update-icon-cache.exe +0 -0
- data/vendor/local/bin/libgailutil-18.dll +0 -0
- data/vendor/local/bin/libgdk-win32-2.0-0.dll +0 -0
- data/vendor/local/bin/libgtk-win32-2.0-0.dll +0 -0
- data/vendor/local/etc/gtk-2.0/gtk.immodules +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdk.h +4 -7
- data/vendor/local/include/gtk-2.0/gdk/gdkcairo.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdisplay.h +4 -2
- data/vendor/local/include/gtk-2.0/gdk/gdkdnd.h +7 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkdrawable.h +7 -4
- data/vendor/local/include/gtk-2.0/gdk/gdkfont.h +1 -1
- data/vendor/local/include/gtk-2.0/gdk/gdkinput.h +2 -1
- data/vendor/local/include/gtk-2.0/gdk/gdkpixmap.h +4 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkproperty.h +13 -9
- data/vendor/local/include/gtk-2.0/gdk/gdkspawn.h +2 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwin32.h +6 -0
- data/vendor/local/include/gtk-2.0/gdk/gdkwindow.h +16 -6
- data/vendor/local/include/gtk-2.0/gtk/gtk.h +1 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkaboutdialog.h +18 -14
- data/vendor/local/include/gtk-2.0/gtk/gtkaction.h +7 -7
- data/vendor/local/include/gtk-2.0/gtk/gtkactiongroup.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkassistant.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkbutton.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcolorbutton.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkcombobox.h +15 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxentry.h +3 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkcomboboxtext.h +77 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkentry.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkentrybuffer.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkexpander.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooser.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfilechooserbutton.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfilefilter.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfilesel.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkfontbutton.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkfontsel.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkframe.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkhruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkiconfactory.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtkicontheme.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkimage.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkitemfactory.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtklabel.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtklinkbutton.h +3 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkmain.h +5 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkmenu.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkmenuitem.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtknotebook.h +9 -7
- data/vendor/local/include/gtk-2.0/gtk/gtkpapersize.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkprintoperation.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkprintsettings.h +7 -7
- data/vendor/local/include/gtk-2.0/gtk/gtkprivate.h +25 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkprogressbar.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkrange.h +6 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentfilter.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtkrecentmanager.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkstatusicon.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktextmark.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtktoolbutton.h +3 -3
- data/vendor/local/include/gtk-2.0/gtk/gtktoolitemgroup.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtktoolpalette.h +2 -2
- data/vendor/local/include/gtk-2.0/gtk/gtktreeviewcolumn.h +1 -1
- data/vendor/local/include/gtk-2.0/gtk/gtktypeutils.h +2 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkversion.h +4 -4
- data/vendor/local/include/gtk-2.0/gtk/gtkvruler.h +4 -0
- data/vendor/local/include/gtk-2.0/gtk/gtkwidget.h +6 -2
- data/vendor/local/include/gtk-2.0/gtk/gtkwindow.h +8 -7
- 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/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 +1 -1
- data/vendor/local/lib/pkgconfig/gdk-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gdk-win32-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gtk+-win32-2.0.pc +1 -1
- data/vendor/local/manifest/{gtk+-dev_2.22.1-1_win32.mft → gtk+-dev_2.24.8-1_win32.mft} +10 -8
- data/vendor/local/manifest/{gtk+_2.22.1-1_win32.mft → gtk+_2.24.8-1_win32.mft} +2 -6
- data/vendor/local/share/doc/{gtk+-2.22.1 → gtk+-2.24.8}/COPYING +0 -0
- data/vendor/local/share/doc/{gtk+-dev-2.22.1 → gtk+-dev-2.24.8}/COPYING +0 -0
- data/vendor/local/share/gtk-2.0/demo/appwindow.c +0 -21
- data/vendor/local/share/gtk-2.0/demo/combobox.c +6 -6
- data/vendor/local/share/gtk-2.0/demo/editable_cells.c +5 -5
- data/vendor/local/share/gtk-2.0/demo/iconview.c +1 -0
- data/vendor/local/share/gtk-2.0/demo/offscreen_window.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/offscreen_window2.c +1 -1
- data/vendor/local/share/gtk-2.0/demo/sizegroup.c +2 -2
- data/vendor/local/share/gtk-2.0/demo/textview.c +4 -4
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailMisc.html +74 -108
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util-GailTextUtil.html +48 -62
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/gail-libgail-util.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/index.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/libgail-util-main.html +3 -3
- data/vendor/local/share/gtk-doc/html/gail-libgail-util/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplay.html +154 -211
- data/vendor/local/share/gtk-doc/html/gdk/GdkDisplayManager.html +35 -39
- data/vendor/local/share/gtk-doc/html/gdk/GdkScreen.html +182 -241
- data/vendor/local/share/gtk-doc/html/gdk/annotation-glossary.html +9 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-10.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-12.html +8 -8
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-14.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-16.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-18.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-2.html +26 -26
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-20.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-22.html +6 -6
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-4.html +7 -7
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-6.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk/api-index-2-8.html +10 -10
- data/vendor/local/share/gtk-doc/html/gdk/api-index-deprecated.html +150 -20
- data/vendor/local/share/gtk-doc/html/gdk/api-index-full.html +174 -138
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Application-launching.html +24 -27
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Bitmaps-and-Pixmaps.html +136 -136
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cairo-Interaction.html +88 -46
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Colormaps-and-Colors.html +139 -203
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Cursors.html +76 -95
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html +164 -203
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Drawing-Primitives.html +303 -419
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Event-Structures.html +324 -439
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Events.html +114 -147
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Fonts.html +157 -236
- data/vendor/local/share/gtk-doc/html/gdk/gdk-GdkRGB.html +159 -233
- data/vendor/local/share/gtk-doc/html/gdk/gdk-General.html +114 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Graphics-Contexts.html +170 -252
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Images.html +92 -133
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input-Devices.html +146 -194
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Input.html +37 -55
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Keyboard-Handling.html +183 -198
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pango-Interaction.html +94 -121
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Pixbufs.html +100 -158
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Points-Rectangles-and-Regions.html +147 -179
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Properties-and-Atoms.html +190 -237
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Selections.html +100 -137
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Testing.html +26 -39
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Threads.html +61 -87
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Visuals.html +86 -111
- data/vendor/local/share/gtk-doc/html/gdk/gdk-Windows.html +725 -801
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp +51 -134
- data/vendor/local/share/gtk-doc/html/gdk/gdk.devhelp2 +75 -158
- data/vendor/local/share/gtk-doc/html/gdk/index.html +10 -13
- data/vendor/local/share/gtk-doc/html/gdk/index.sgml +10 -94
- data/vendor/local/share/gtk-doc/html/gdk/multihead.html +15 -15
- data/vendor/local/share/gtk-doc/html/gdk/reference.html +8 -10
- data/vendor/local/share/gtk-doc/html/gdk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/AbstractObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/Actions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/Builder.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/ButtonWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/DeprecatedObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/DisplayWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/GtkAboutDialog.html +228 -212
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccelLabel.html +41 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkAccessible.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkAction.html +181 -248
- data/vendor/local/share/gtk-doc/html/gtk/GtkActionGroup.html +178 -261
- data/vendor/local/share/gtk-doc/html/gtk/GtkActivatable.html +48 -52
- data/vendor/local/share/gtk-doc/html/gtk/GtkAdjustment.html +80 -116
- data/vendor/local/share/gtk-doc/html/gtk/GtkAlignment.html +58 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkArrow.html +32 -38
- data/vendor/local/share/gtk-doc/html/gtk/GtkAspectFrame.html +38 -48
- data/vendor/local/share/gtk-doc/html/gtk/GtkAssistant.html +113 -134
- data/vendor/local/share/gtk-doc/html/gtk/GtkBin.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/GtkBox.html +97 -122
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuildable.html +88 -116
- data/vendor/local/share/gtk-doc/html/gtk/GtkBuilder.html +100 -139
- data/vendor/local/share/gtk-doc/html/gtk/GtkButton.html +156 -187
- data/vendor/local/share/gtk-doc/html/gtk/GtkButtonBox.html +61 -78
- data/vendor/local/share/gtk-doc/html/gtk/GtkCList.html +637 -917
- data/vendor/local/share/gtk-doc/html/gtk/GtkCTree.html +570 -1841
- data/vendor/local/share/gtk-doc/html/gtk/GtkCalendar.html +130 -165
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellEditable.html +38 -40
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellLayout.html +62 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRenderer.html +136 -160
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererAccel.html +40 -49
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererCombo.html +29 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererPixbuf.html +33 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererProgress.html +25 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpin.html +21 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererSpinner.html +21 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererText.html +75 -80
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellRendererToggle.html +47 -56
- data/vendor/local/share/gtk-doc/html/gtk/GtkCellView.html +65 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkCheckButton.html +32 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorButton.html +63 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelection.html +128 -200
- data/vendor/local/share/gtk-doc/html/gtk/GtkColorSelectionDialog.html +31 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkCombo.html +65 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBox.html +346 -188
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxEntry.html +59 -48
- data/vendor/local/share/gtk-doc/html/gtk/GtkComboBoxText.html +328 -0
- data/vendor/local/share/gtk-doc/html/gtk/GtkContainer.html +170 -262
- data/vendor/local/share/gtk-doc/html/gtk/GtkCurve.html +63 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkDialog.html +102 -124
- data/vendor/local/share/gtk-doc/html/gtk/GtkDrawingArea.html +28 -30
- data/vendor/local/share/gtk-doc/html/gtk/GtkEditable.html +71 -90
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntry.html +389 -491
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryBuffer.html +73 -106
- data/vendor/local/share/gtk-doc/html/gtk/GtkEntryCompletion.html +132 -187
- data/vendor/local/share/gtk-doc/html/gtk/GtkEventBox.html +37 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkExpander.html +80 -100
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooser.html +358 -414
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserButton.html +71 -94
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserDialog.html +32 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileChooserWidget.html +23 -28
- data/vendor/local/share/gtk-doc/html/gtk/GtkFileSelection.html +104 -148
- data/vendor/local/share/gtk-doc/html/gtk/GtkFixed.html +43 -54
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontButton.html +64 -90
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelection.html +70 -85
- data/vendor/local/share/gtk-doc/html/gtk/GtkFontSelectionDialog.html +54 -63
- data/vendor/local/share/gtk-doc/html/gtk/GtkFrame.html +55 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkGammaCurve.html +20 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkHBox.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkHButtonBox.html +31 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkHPaned.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/GtkHRuler.html +32 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSV.html +67 -92
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScale.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkHScrollbar.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkHSeparator.html +21 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkHandleBox.html +57 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContext.html +153 -191
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMContextSimple.html +20 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkIMMulticontext.html +20 -24
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconTheme.html +213 -271
- data/vendor/local/share/gtk-doc/html/gtk/GtkIconView.html +333 -455
- data/vendor/local/share/gtk-doc/html/gtk/GtkImage.html +241 -262
- data/vendor/local/share/gtk-doc/html/gtk/GtkImageMenuItem.html +60 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkInfoBar.html +69 -82
- data/vendor/local/share/gtk-doc/html/gtk/GtkInputDialog.html +37 -42
- data/vendor/local/share/gtk-doc/html/gtk/GtkInvisible.html +42 -50
- data/vendor/local/share/gtk-doc/html/gtk/GtkItem.html +38 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkItemFactory.html +185 -276
- data/vendor/local/share/gtk-doc/html/gtk/GtkLabel.html +201 -251
- data/vendor/local/share/gtk-doc/html/gtk/GtkLayout.html +72 -78
- data/vendor/local/share/gtk-doc/html/gtk/GtkLinkButton.html +55 -64
- data/vendor/local/share/gtk-doc/html/gtk/GtkList.html +132 -182
- data/vendor/local/share/gtk-doc/html/gtk/GtkListItem.html +82 -132
- data/vendor/local/share/gtk-doc/html/gtk/GtkListStore.html +142 -172
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenu.html +185 -229
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuBar.html +43 -51
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuItem.html +114 -147
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuShell.html +89 -121
- data/vendor/local/share/gtk-doc/html/gtk/GtkMenuToolButton.html +75 -51
- data/vendor/local/share/gtk-doc/html/gtk/GtkMessageDialog.html +83 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkMisc.html +37 -41
- data/vendor/local/share/gtk-doc/html/gtk/GtkNotebook.html +398 -454
- data/vendor/local/share/gtk-doc/html/gtk/GtkObject.html +150 -208
- data/vendor/local/share/gtk-doc/html/gtk/GtkOffscreenWindow.html +30 -34
- data/vendor/local/share/gtk-doc/html/gtk/GtkOldEditable.html +82 -167
- data/vendor/local/share/gtk-doc/html/gtk/GtkOptionMenu.html +58 -68
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetup.html +117 -162
- data/vendor/local/share/gtk-doc/html/gtk/GtkPageSetupUnixDialog.html +24 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkPaned.html +99 -139
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkPaperSize.html → GtkPaperSize.html} +206 -254
- data/vendor/local/share/gtk-doc/html/gtk/GtkPixmap.html +51 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkPlug.html +67 -83
- data/vendor/local/share/gtk-doc/html/gtk/GtkPreview.html +122 -149
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintContext.html +40 -51
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintJob.html +57 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintSettings.html +284 -413
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrintUnixDialog.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkPrinter.html +112 -142
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgress.html +82 -113
- data/vendor/local/share/gtk-doc/html/gtk/GtkProgressBar.html +93 -110
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioAction.html +44 -55
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioButton.html +88 -81
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioMenuItem.html +65 -73
- data/vendor/local/share/gtk-doc/html/gtk/GtkRadioToolButton.html +35 -44
- data/vendor/local/share/gtk-doc/html/gtk/GtkRange.html +224 -188
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentAction.html +36 -43
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooser.html +137 -196
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserDialog.html +29 -31
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserMenu.html +27 -32
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentChooserWidget.html +19 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentFilter.html +67 -89
- data/vendor/local/share/gtk-doc/html/gtk/GtkRecentManager.html +219 -286
- data/vendor/local/share/gtk-doc/html/gtk/GtkRuler.html +85 -60
- data/vendor/local/share/gtk-doc/html/gtk/GtkScale.html +63 -74
- data/vendor/local/share/gtk-doc/html/gtk/GtkScaleButton.html +67 -84
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrollbar.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk/GtkScrolledWindow.html +98 -146
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparator.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorMenuItem.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkSeparatorToolItem.html +26 -29
- data/vendor/local/share/gtk-doc/html/gtk/GtkSettings.html +134 -264
- data/vendor/local/share/gtk-doc/html/gtk/GtkSizeGroup.html +40 -47
- data/vendor/local/share/gtk-doc/html/gtk/GtkSocket.html +52 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinButton.html +134 -179
- data/vendor/local/share/gtk-doc/html/gtk/GtkSpinner.html +26 -27
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusIcon.html +221 -285
- data/vendor/local/share/gtk-doc/html/gtk/GtkStatusbar.html +62 -77
- data/vendor/local/share/gtk-doc/html/gtk/GtkStyle.html +754 -1135
- data/vendor/local/share/gtk-doc/html/gtk/GtkTable.html +96 -137
- data/vendor/local/share/gtk-doc/html/gtk/GtkTearoffMenuItem.html +20 -21
- data/vendor/local/share/gtk-doc/html/gtk/GtkText.html +105 -148
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextBuffer.html +527 -685
- data/vendor/local/share/gtk-doc/html/gtk/{gtk-GtkTextIter.html → GtkTextIter.html} +666 -807
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextMark.html +43 -48
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTag.html +180 -210
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextTagTable.html +86 -78
- data/vendor/local/share/gtk-doc/html/gtk/GtkTextView.html +355 -439
- data/vendor/local/share/gtk-doc/html/gtk/GtkTipsQuery.html +76 -96
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleAction.html +45 -59
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleButton.html +61 -73
- data/vendor/local/share/gtk-doc/html/gtk/GtkToggleToolButton.html +34 -40
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolButton.html +82 -93
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItem.html +135 -168
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolItemGroup.html +86 -105
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolPalette.html +121 -144
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolShell.html +44 -61
- data/vendor/local/share/gtk-doc/html/gtk/GtkToolbar.html +251 -362
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltip.html +37 -37
- data/vendor/local/share/gtk-doc/html/gtk/GtkTooltips.html +62 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkTree.html +107 -154
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeItem.html +48 -136
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModel.html +434 -566
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelFilter.html +97 -127
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeModelSort.html +65 -72
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSelection.html +125 -173
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeSortable.html +55 -64
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeStore.html +173 -202
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeView.html +588 -867
- data/vendor/local/share/gtk-doc/html/gtk/GtkTreeViewColumn.html +209 -288
- data/vendor/local/share/gtk-doc/html/gtk/GtkUIManager.html +127 -191
- data/vendor/local/share/gtk-doc/html/gtk/GtkVBox.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk/GtkVButtonBox.html +29 -36
- data/vendor/local/share/gtk-doc/html/gtk/GtkVPaned.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/GtkVRuler.html +33 -26
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScale.html +26 -31
- data/vendor/local/share/gtk-doc/html/gtk/GtkVScrollbar.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkVSeparator.html +19 -20
- data/vendor/local/share/gtk-doc/html/gtk/GtkViewport.html +60 -71
- data/vendor/local/share/gtk-doc/html/gtk/GtkVolumeButton.html +18 -19
- data/vendor/local/share/gtk-doc/html/gtk/GtkWidget.html +1499 -1795
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindow.html +447 -597
- data/vendor/local/share/gtk-doc/html/gtk/GtkWindowGroup.html +23 -41
- data/vendor/local/share/gtk-doc/html/gtk/LayoutContainers.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/MenusAndCombos.html +8 -5
- data/vendor/local/share/gtk-doc/html/gtk/MiscObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/NumericEntry.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/Ornaments.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/PlugSocket.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/Printing.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/RecentDocuments.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/ScrollingWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/SelectorWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/SpecialObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/TextWidget.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/TextWidgetObjects.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidget.html +18 -18
- data/vendor/local/share/gtk-doc/html/gtk/TreeWidgetObjects.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/WindowWidgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/annotation-glossary.html +20 -14
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-10.html +23 -23
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-12.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-14.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-16.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-18.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-2.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-20.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-22.html +8 -8
- 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 +31 -31
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-6.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/api-index-2-8.html +10 -10
- data/vendor/local/share/gtk-doc/html/gtk/api-index-deprecated.html +239 -48
- data/vendor/local/share/gtk-doc/html/gtk/api-index-full.html +476 -388
- data/vendor/local/share/gtk-doc/html/gtk/ch01.html +17 -6
- data/vendor/local/share/gtk-doc/html/gtk/ch02.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/chap-drawing-model.html +19 -19
- data/vendor/local/share/gtk-doc/html/gtk/checklist-gdkeventexpose-region.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/checklist-modifiers.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/checklist-named-icons.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/decorating-the-assistant-pages.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/glossary.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Accelerator-Maps.html +78 -133
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Bindings.html +172 -234
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Clipboards.html +235 -339
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Drag-and-Drop.html +248 -318
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Feature-Test-Macros.html +37 -43
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Filesystem-utilities.html +54 -60
- data/vendor/local/share/gtk-doc/html/gtk/gtk-General.html +295 -339
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Graphics-Contexts.html +36 -42
- data/vendor/local/share/gtk-doc/html/gtk/gtk-GtkTreeView-drag-and-drop.html +80 -85
- data/vendor/local/share/gtk-doc/html/gtk/gtk-High-level-Printing-API.html +225 -293
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Keyboard-Accelerators.html +180 -268
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Orientable.html +19 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Resource-Files.html +159 -195
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Selections.html +377 -450
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Signals.html +192 -308
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html +55 -55
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Stock-Items.html +154 -158
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Testing.html +95 -143
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Themeable-Stock-Images.html +212 -243
- data/vendor/local/share/gtk-doc/html/gtk/gtk-Types.html +273 -345
- data/vendor/local/share/gtk-doc/html/gtk/gtk-builder-convert.html +20 -13
- data/vendor/local/share/gtk-doc/html/gtk/gtk-building.html +22 -22
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-1-2.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-changes-2-0.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-compiling.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-directfb.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkcheckmenuitem.html +65 -77
- data/vendor/local/share/gtk-doc/html/gtk/gtk-gtkfilefilter.html +62 -79
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-ClientSideWindows.html +15 -15
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAboutDialog.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAction.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkAssistant.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkBuilder.html +7 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkColorButton.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkComboBox.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkFileChooser.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkIconView.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkLinkButton.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-GtkRecentChooser.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-checklist.html +9 -9
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-entry-icons.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-label-links.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-migrating-tooltips.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtk-osx.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtk-query-immodules-2.0.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk-question-index.html +115 -115
- data/vendor/local/share/gtk-doc/html/gtk/gtk-resources.html +11 -11
- data/vendor/local/share/gtk-doc/html/gtk/gtk-running.html +60 -33
- data/vendor/local/share/gtk-doc/html/gtk/gtk-update-icon-cache.html +12 -12
- data/vendor/local/share/gtk-doc/html/gtk/gtk-windows.html +16 -16
- data/vendor/local/share/gtk-doc/html/gtk/gtk-x11.html +14 -14
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp +440 -413
- data/vendor/local/share/gtk-doc/html/gtk/gtk.devhelp2 +483 -456
- data/vendor/local/share/gtk-doc/html/gtk/gtk.html +8 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtkbase.html +6 -6
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-extra-widgets.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-installing-preview.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-new-features.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkfilechooser-selection-modes.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/gtkobjects.html +11 -8
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-advanced.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/gtkrecent-chooser.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/index.html +16 -12
- data/vendor/local/share/gtk-doc/html/gtk/index.sgml +189 -142
- data/vendor/local/share/gtk-doc/html/gtk/migrating-GtkCombo.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/migrating-gnomeuiinfo.html +20 -20
- data/vendor/local/share/gtk-doc/html/gtk/migrating.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/new-features-GtkComboBox.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/pt05.html +7 -7
- data/vendor/local/share/gtk-doc/html/gtk/setting-the-page-flow.html +5 -5
- data/vendor/local/share/gtk-doc/html/gtk/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gtk/{document-x-generic.png → text-x-generic.png} +0 -0
- data/vendor/local/share/gtk-doc/html/gtk/ui-manager.html +5 -5
- data/vendor/local/share/icons/hicolor/index.theme +1662 -0
- data/vendor/local/share/locale/be/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/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/cs/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/gtk20-properties.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/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/gl/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/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/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/nb/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/nl/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/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/sl/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/gtk20.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.mo +0 -0
- data/vendor/local/src/dieterv/packaging/gtk+_2.24.8-1_win32.log +4937 -0
- data/vendor/local/src/{tml/packaging/gtk+_2.22.1-1_win32.sh → dieterv/packaging/gtk+_2.24.8-1_win32.sh} +8 -8
- metadata +29 -31
- data/ChangeLog +0 -6902
- data/ext/gtk2/rbgtkmain.c +0 -493
- data/vendor/local/share/gtk-doc/html/gdk/gdk-X-Window-System-Interaction.html +0 -2500
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/kg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20-properties.mo +0 -0
- data/vendor/local/share/locale/lg/LC_MESSAGES/gtk20.mo +0 -0
- data/vendor/local/src/tml/packaging/gtk+_2.22.1-1_win32.log +0 -5048
@@ -4,11 +4,11 @@
|
|
4
4
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
5
5
|
<title>GtkFileChooser</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
|
7
|
-
<link rel="home" href="index.html" title="GTK+ Reference Manual">
|
7
|
+
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
|
8
8
|
<link rel="up" href="SelectorWidgets.html" title="Selectors (File/Font/Color/Input Devices)">
|
9
9
|
<link rel="prev" href="GtkHSV.html" title="GtkHSV">
|
10
10
|
<link rel="next" href="GtkFileChooserButton.html" title="GtkFileChooserButton">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<td><a accesskey="p" href="GtkHSV.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
|
18
18
|
<td><a accesskey="u" href="SelectorWidgets.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
|
19
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+ Reference Manual</th>
|
20
|
+
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
|
21
21
|
<td><a accesskey="n" href="GtkFileChooserButton.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
|
22
22
|
</tr>
|
23
23
|
<tr><td colspan="5" class="shortcuts">
|
@@ -36,7 +36,7 @@
|
|
36
36
|
<a href="#GtkFileChooser.signals" class="shortcut">Signals</a>
|
37
37
|
</td></tr>
|
38
38
|
</table>
|
39
|
-
<div class="refentry"
|
39
|
+
<div class="refentry">
|
40
40
|
<a name="GtkFileChooser"></a><div class="titlepage"></div>
|
41
41
|
<div class="refnamediv"><table width="100%"><tr>
|
42
42
|
<td valign="top">
|
@@ -45,7 +45,7 @@
|
|
45
45
|
</td>
|
46
46
|
<td valign="top" align="right"></td>
|
47
47
|
</tr></table></div>
|
48
|
-
<div class="refsynopsisdiv"
|
48
|
+
<div class="refsynopsisdiv">
|
49
49
|
<a name="GtkFileChooser.synopsis"></a><h2>Synopsis</h2>
|
50
50
|
<pre class="synopsis">
|
51
51
|
#include <gtk/gtk.h>
|
@@ -79,19 +79,15 @@ enum <a class="link" href="GtkFileChooser.html#GtkFileChooserErro
|
|
79
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
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
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
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
|
87
|
-
<span class="returnvalue">void</span> <a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-filename" title="gtk_file_chooser_unselect_filename ()">gtk_file_chooser_unselect_filename</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
88
|
-
<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);
|
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>
|
89
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>);
|
90
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>);
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
<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" title="gtk_file_chooser_get_current_folder ()">gtk_file_chooser_get_current_folder</a> (<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
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>
|
95
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>);
|
96
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>,
|
97
93
|
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);
|
@@ -118,8 +114,7 @@ enum <a class="link" href="GtkFileChooser.html#GtkFileChooserErro
|
|
118
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>);
|
119
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>
|
120
116
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
121
|
-
<
|
122
|
-
(<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>
|
123
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>);
|
124
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>,
|
125
120
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);
|
@@ -132,16 +127,9 @@ enum <a class="link" href="GtkFileChooser.html#GtkFileChooserErro
|
|
132
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>,
|
133
128
|
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);
|
134
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>);
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
<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>);
|
139
|
-
<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" title="gtk_file_chooser_remove_shortcut_folder ()">gtk_file_chooser_remove_shortcut_folder</a>
|
140
|
-
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
141
|
-
<em class="parameter"><code>const <span class="type">char</span> *folder</code></em>,
|
142
|
-
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
|
143
|
-
<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-folders" title="gtk_file_chooser_list_shortcut_folders ()">gtk_file_chooser_list_shortcut_folders</a>
|
144
|
-
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);
|
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>
|
145
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>
|
146
134
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
147
135
|
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>,
|
@@ -171,26 +159,26 @@ enum <a class="link" href="GtkFileChooser.html#GtkFileChooserErro
|
|
171
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>);
|
172
160
|
</pre>
|
173
161
|
</div>
|
174
|
-
<div class="refsect1"
|
162
|
+
<div class="refsect1">
|
175
163
|
<a name="GtkFileChooser.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
176
164
|
<pre class="synopsis">
|
177
165
|
GInterface
|
178
166
|
+----GtkFileChooser
|
179
167
|
</pre>
|
180
168
|
</div>
|
181
|
-
<div class="refsect1"
|
169
|
+
<div class="refsect1">
|
182
170
|
<a name="GtkFileChooser.prerequisites"></a><h2>Prerequisites</h2>
|
183
171
|
<p>
|
184
172
|
GtkFileChooser requires
|
185
173
|
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
|
186
174
|
</div>
|
187
|
-
<div class="refsect1"
|
175
|
+
<div class="refsect1">
|
188
176
|
<a name="GtkFileChooser.implementations"></a><h2>Known Implementations</h2>
|
189
177
|
<p>
|
190
178
|
GtkFileChooser is implemented by
|
191
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>
|
192
180
|
</div>
|
193
|
-
<div class="refsect1"
|
181
|
+
<div class="refsect1">
|
194
182
|
<a name="GtkFileChooser.properties"></a><h2>Properties</h2>
|
195
183
|
<pre class="synopsis">
|
196
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
|
@@ -207,17 +195,17 @@ GtkFileChooser is implemented by
|
|
207
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
|
208
196
|
</pre>
|
209
197
|
</div>
|
210
|
-
<div class="refsect1"
|
198
|
+
<div class="refsect1">
|
211
199
|
<a name="GtkFileChooser.signals"></a><h2>Signals</h2>
|
212
200
|
<pre class="synopsis">
|
213
|
-
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-confirm-overwrite" title='The "confirm-overwrite" signal'>confirm-overwrite</a>" : Run Last
|
214
|
-
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-current-folder-changed" title='The "current-folder-changed" signal'>current-folder-changed</a>" : Run Last
|
215
|
-
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-file-activated" title='The "file-activated" signal'>file-activated</a>" : Run Last
|
216
|
-
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-selection-changed" title='The "selection-changed" signal'>selection-changed</a>" : Run Last
|
217
|
-
"<a class="link" href="GtkFileChooser.html#GtkFileChooser-update-preview" title='The "update-preview" signal'>update-preview</a>" : Run Last
|
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>
|
218
206
|
</pre>
|
219
207
|
</div>
|
220
|
-
<div class="refsect1"
|
208
|
+
<div class="refsect1">
|
221
209
|
<a name="GtkFileChooser.description"></a><h2>Description</h2>
|
222
210
|
<p>
|
223
211
|
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> is an interface that can be implemented by file
|
@@ -231,7 +219,7 @@ interface.
|
|
231
219
|
<p>
|
232
220
|
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> allows for shortcuts to various places in the filesystem.
|
233
221
|
In the default implementation these are displayed in the left pane. It
|
234
|
-
may be a bit confusing at first
|
222
|
+
may be a bit confusing at first that these shortcuts come from various
|
235
223
|
sources and in various flavours, so lets explain the terminology here:
|
236
224
|
</p>
|
237
225
|
<div class="variablelist"><table border="0">
|
@@ -265,7 +253,9 @@ sources and in various flavours, so lets explain the terminology here:
|
|
265
253
|
</table></div>
|
266
254
|
<p>
|
267
255
|
</p>
|
268
|
-
<
|
256
|
+
<p>
|
257
|
+
</p>
|
258
|
+
<div class="refsect2">
|
269
259
|
<a name="gtkfilechooser-encodings"></a><h3>File Names and Encodings</h3>
|
270
260
|
When the user is finished selecting files in a
|
271
261
|
<a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>, your program can get the selected names
|
@@ -276,10 +266,10 @@ the character set specified by the
|
|
276
266
|
<code class="envar">G_FILENAME_ENCODING</code> environment variable.
|
277
267
|
Please see the Glib documentation for more details about this
|
278
268
|
variable.
|
279
|
-
<div class="note"
|
269
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
280
270
|
<h3 class="title">Note</h3>
|
281
271
|
This means that while you can pass the result of
|
282
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename
|
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
|
283
273
|
<code class="function">open(2)</code> or
|
284
274
|
<code class="function">fopen(3)</code>, you may not be able to
|
285
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
|
@@ -288,8 +278,10 @@ variable.
|
|
288
278
|
into strings that can be passed to GTK+ widgets.
|
289
279
|
</div>
|
290
280
|
</div>
|
281
|
+
<p>
|
282
|
+
</p>
|
291
283
|
<hr>
|
292
|
-
<div class="refsect2"
|
284
|
+
<div class="refsect2">
|
293
285
|
<a name="gtkfilechooser-preview"></a><h3>Adding a Preview Widget</h3>
|
294
286
|
<p>
|
295
287
|
You can add a custom preview widget to a file chooser and then
|
@@ -301,7 +293,7 @@ you need to update the contents of the preview.
|
|
301
293
|
</p>
|
302
294
|
<p>
|
303
295
|
Your callback should use
|
304
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename
|
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
|
305
297
|
previewing. Once you have generated the preview for the
|
306
298
|
corresponding file, you must call
|
307
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
|
@@ -309,7 +301,7 @@ flag that indicates whether your callback could successfully
|
|
309
301
|
generate a preview.
|
310
302
|
</p>
|
311
303
|
<div class="example">
|
312
|
-
<a name="example-gtkfilechooser-preview"></a><p class="title"><b>Example
|
304
|
+
<a name="example-gtkfilechooser-preview"></a><p class="title"><b>Example 40. Sample Usage</b></p>
|
313
305
|
<div class="example-contents">
|
314
306
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
315
307
|
<tbody>
|
@@ -370,7 +362,7 @@ generate a preview.
|
|
370
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>
|
371
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>
|
372
364
|
|
373
|
-
<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-
|
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>
|
374
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>
|
375
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>
|
376
368
|
|
@@ -388,8 +380,10 @@ generate a preview.
|
|
388
380
|
</div>
|
389
381
|
<br class="example-break">
|
390
382
|
</div>
|
383
|
+
<p>
|
384
|
+
</p>
|
391
385
|
<hr>
|
392
|
-
<div class="refsect2"
|
386
|
+
<div class="refsect2">
|
393
387
|
<a name="gtkfilechooser-extra"></a><h3>Adding Extra Widgets</h3>
|
394
388
|
<p>
|
395
389
|
You can add extra widgets to a file chooser to provide options
|
@@ -400,7 +394,7 @@ file in read-only mode. You can use
|
|
400
394
|
widgets in a file chooser.
|
401
395
|
</p>
|
402
396
|
<div class="example">
|
403
|
-
<a name="example-gtkfilechooser-extra"></a><p class="title"><b>Example
|
397
|
+
<a name="example-gtkfilechooser-extra"></a><p class="title"><b>Example 41. Sample Usage</b></p>
|
404
398
|
<div class="example-contents">
|
405
399
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
406
400
|
<tbody>
|
@@ -427,7 +421,7 @@ widgets in a file chooser.
|
|
427
421
|
</div>
|
428
422
|
|
429
423
|
</div>
|
430
|
-
<br class="example-break"><div class="note"
|
424
|
+
<br class="example-break"><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
431
425
|
<h3 class="title">Note</h3>
|
432
426
|
If you want to set more than one extra widget in the file
|
433
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>
|
@@ -435,8 +429,10 @@ widgets in a file chooser.
|
|
435
429
|
the whole extra widget.
|
436
430
|
</div>
|
437
431
|
</div>
|
432
|
+
<p>
|
433
|
+
</p>
|
438
434
|
<hr>
|
439
|
-
<div class="refsect2"
|
435
|
+
<div class="refsect2">
|
440
436
|
<a name="gtkfilechooser-key-bindings"></a><h3>Key Bindings</h3>
|
441
437
|
<p>
|
442
438
|
Internally, GTK+ implements a file chooser's graphical user
|
@@ -447,7 +443,7 @@ bindings</a> and their associated signals. This section
|
|
447
443
|
describes the available key binding signals.
|
448
444
|
</p>
|
449
445
|
<div class="example">
|
450
|
-
<a name="gtkfilechooser-key-binding-example"></a><p class="title"><b>Example
|
446
|
+
<a name="gtkfilechooser-key-binding-example"></a><p class="title"><b>Example 42. GtkFileChooser key binding example</b></p>
|
451
447
|
<div class="example-contents">
|
452
448
|
<p>
|
453
449
|
The default keys that activate the key-binding signals in
|
@@ -469,24 +465,26 @@ follows:
|
|
469
465
|
<td>
|
470
466
|
<span class="keycap"><strong>Control</strong></span>+<span class="keycap"><strong>L</strong></span> (empty path);
|
471
467
|
<span class="keycap"><strong>/</strong></span> (path of "/")
|
472
|
-
<sup>[<a name="
|
468
|
+
<sup>[<a name="id1216647" href="#ftn.id1216647" class="footnote">a</a>]</sup>;
|
473
469
|
<span class="keycap"><strong>~</strong></span> (path of "~")
|
474
470
|
</td>
|
475
471
|
</tr>
|
476
472
|
<tr>
|
477
473
|
<td>up-folder</td>
|
478
474
|
<td>
|
479
|
-
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Up</strong></span
|
480
|
-
<
|
481
|
-
|
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="id1216713" href="#ftn.id1216713" class="footnote">b</a>]</sup>;
|
482
478
|
<span class="keycap"><strong>Backspace</strong></span>
|
483
479
|
</td>
|
484
480
|
</tr>
|
485
481
|
<tr>
|
486
482
|
<td>down-folder</td>
|
487
483
|
<td>
|
488
|
-
<span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>Down</strong></span
|
489
|
-
</
|
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="id1216773" href="#ftn.id1216773" class="footnote">c</a>]</sup>
|
487
|
+
</td>
|
490
488
|
</tr>
|
491
489
|
<tr>
|
492
490
|
<td>home-folder</td>
|
@@ -508,7 +506,8 @@ follows:
|
|
508
506
|
</tr>
|
509
507
|
</tbody>
|
510
508
|
<tbody class="footnotes"><tr><td colspan="2">
|
511
|
-
<div class="footnote"><span class="keycap"><strong><sup>[<a name="ftn.
|
509
|
+
<div class="footnote"><span class="keycap"><strong><sup>[<a name="ftn.id1216647" href="#id1216647" class="keycap">a</a>] </sup>/</strong></span></div>
|
510
|
+
<div class="footnote"></div>
|
512
511
|
<div class="footnote"></div>
|
513
512
|
</td></tr></tbody>
|
514
513
|
</table></div>
|
@@ -516,7 +515,7 @@ follows:
|
|
516
515
|
You can change these defaults to something else. For
|
517
516
|
example, to add a <span class="keycap"><strong>Shift</strong></span> modifier to a few
|
518
517
|
of the default bindings, you can include the following
|
519
|
-
fragment in your <code class="filename">.gtkrc-
|
518
|
+
fragment in your <code class="filename">.gtkrc-3.0</code> file:
|
520
519
|
</p>
|
521
520
|
<pre class="programlisting">
|
522
521
|
binding "my-own-gtkfilechooser-bindings" {
|
@@ -535,7 +534,7 @@ class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
|
|
535
534
|
</pre>
|
536
535
|
</div>
|
537
536
|
</div>
|
538
|
-
<br class="example-break"><div class="refsect3"
|
537
|
+
<br class="example-break"><div class="refsect3">
|
539
538
|
<a name="GtkFileChooserDefault-location-popup"></a><h4>The "GtkFileChooserDefault::location-popup" signal</h4>
|
540
539
|
<pre class="programlisting">
|
541
540
|
void user_function (GtkFileChooserDefault *chooser,
|
@@ -580,16 +579,16 @@ of "~" itself for access to home directories.
|
|
580
579
|
</tr>
|
581
580
|
</tbody>
|
582
581
|
</table></div>
|
583
|
-
<div class="note"
|
582
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
584
583
|
<h3 class="title">Note</h3>
|
585
584
|
You can create your own bindings for the
|
586
|
-
GtkFileChooserDefault::location-popup signal with custom
|
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
|
587
586
|
<em class="parameter"><code>path</code></em> strings, and have a crude form
|
588
587
|
of easily-to-type bookmarks. For example, say you access
|
589
588
|
the path <code class="filename">/home/username/misc</code> very
|
590
589
|
frequently. You could then create an <span class="keycap"><strong>Alt</strong></span>+<span class="keycap"><strong>M</strong></span>
|
591
590
|
shortcut by including the following in your
|
592
|
-
<code class="filename">.gtkrc-
|
591
|
+
<code class="filename">.gtkrc-3.0</code>:
|
593
592
|
<pre class="programlisting">
|
594
593
|
binding "misc-shortcut" {
|
595
594
|
bind "<Alt>M" {
|
@@ -601,7 +600,7 @@ of "~" itself for access to home directories.
|
|
601
600
|
</pre>
|
602
601
|
</div>
|
603
602
|
</div>
|
604
|
-
<div class="refsect3"
|
603
|
+
<div class="refsect3">
|
605
604
|
<a name="GtkFileChooserDefault-up-folder"></a><h4>The "GtkFileChooserDefault::up-folder" signal</h4>
|
606
605
|
<pre class="programlisting">
|
607
606
|
void user_function (GtkFileChooserDefault *chooser,
|
@@ -632,7 +631,7 @@ is bound to <span class="keycap"><strong>Backspace</strong></span> and
|
|
632
631
|
</tbody>
|
633
632
|
</table></div>
|
634
633
|
</div>
|
635
|
-
<div class="refsect3"
|
634
|
+
<div class="refsect3">
|
636
635
|
<a name="GtkFileChooserDefault-down-folder"></a><h4>The "GtkFileChooserDefault::down-folder" signal</h4>
|
637
636
|
<pre class="programlisting">
|
638
637
|
void user_function (GtkFileChooserDefault *chooser,
|
@@ -667,7 +666,7 @@ default this is bound to
|
|
667
666
|
</tbody>
|
668
667
|
</table></div>
|
669
668
|
</div>
|
670
|
-
<div class="refsect3"
|
669
|
+
<div class="refsect3">
|
671
670
|
<a name="GtkFileChooserDefault-home-folder"></a><h4>The "GtkFileChooserDefault::home-folder" signal</h4>
|
672
671
|
<pre class="programlisting">
|
673
672
|
void user_function (GtkFileChooserDefault *chooser,
|
@@ -697,7 +696,7 @@ folder in the file list. By default this is bound to
|
|
697
696
|
</tbody>
|
698
697
|
</table></div>
|
699
698
|
</div>
|
700
|
-
<div class="refsect3"
|
699
|
+
<div class="refsect3">
|
701
700
|
<a name="GtkFileChooserDefault-desktop-folder"></a><h4>The "GtkFileChooserDefault::desktop-folder" signal</h4>
|
702
701
|
<pre class="programlisting">
|
703
702
|
void user_function (GtkFileChooserDefault *chooser,
|
@@ -726,7 +725,7 @@ folder in the file list. By default this is bound to
|
|
726
725
|
</tbody>
|
727
726
|
</table></div>
|
728
727
|
</div>
|
729
|
-
<div class="refsect3"
|
728
|
+
<div class="refsect3">
|
730
729
|
<a name="GtkFileChooserDefault-quick-bookmark"></a><h4>The "GtkFileChooserDefault::quick-bookmark" signal</h4>
|
731
730
|
<pre class="programlisting">
|
732
731
|
void user_function (GtkFileChooserDefault *chooser,
|
@@ -774,17 +773,19 @@ defined to switch to the bookmark at index 10.
|
|
774
773
|
</table></div>
|
775
774
|
</div>
|
776
775
|
</div>
|
776
|
+
<p>
|
777
|
+
</p>
|
777
778
|
</div>
|
778
|
-
<div class="refsect1"
|
779
|
+
<div class="refsect1">
|
779
780
|
<a name="GtkFileChooser.details"></a><h2>Details</h2>
|
780
|
-
<div class="refsect2"
|
781
|
+
<div class="refsect2">
|
781
782
|
<a name="GtkFileChooser-struct"></a><h3>GtkFileChooser</h3>
|
782
783
|
<pre class="programlisting">typedef struct _GtkFileChooser GtkFileChooser;</pre>
|
783
784
|
<p>
|
784
785
|
</p>
|
785
786
|
</div>
|
786
787
|
<hr>
|
787
|
-
<div class="refsect2"
|
788
|
+
<div class="refsect2">
|
788
789
|
<a name="GtkFileChooserAction"></a><h3>enum GtkFileChooserAction</h3>
|
789
790
|
<pre class="programlisting">typedef enum
|
790
791
|
{
|
@@ -832,7 +833,7 @@ or to save to a possibly new file.
|
|
832
833
|
</table></div>
|
833
834
|
</div>
|
834
835
|
<hr>
|
835
|
-
<div class="refsect2"
|
836
|
+
<div class="refsect2">
|
836
837
|
<a name="GtkFileChooserConfirmation"></a><h3>enum GtkFileChooserConfirmation</h3>
|
837
838
|
<pre class="programlisting">typedef enum
|
838
839
|
{
|
@@ -874,7 +875,7 @@ let the user choose another filename.
|
|
874
875
|
<p class="since">Since 2.8</p>
|
875
876
|
</div>
|
876
877
|
<hr>
|
877
|
-
<div class="refsect2"
|
878
|
+
<div class="refsect2">
|
878
879
|
<a name="GTK-FILE-CHOOSER-ERROR:CAPS"></a><h3>GTK_FILE_CHOOSER_ERROR</h3>
|
879
880
|
<pre class="programlisting">#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
|
880
881
|
</pre>
|
@@ -883,7 +884,7 @@ Used to get the <a href="http://library.gnome.org/devel/glib/unstable/glib-Error
|
|
883
884
|
</p>
|
884
885
|
</div>
|
885
886
|
<hr>
|
886
|
-
<div class="refsect2"
|
887
|
+
<div class="refsect2">
|
887
888
|
<a name="GtkFileChooserError"></a><h3>enum GtkFileChooserError</h3>
|
888
889
|
<pre class="programlisting">typedef enum {
|
889
890
|
GTK_FILE_CHOOSER_ERROR_NONEXISTENT,
|
@@ -917,13 +918,14 @@ These identify the various errors that can occur while calling
|
|
917
918
|
</tr>
|
918
919
|
<tr>
|
919
920
|
<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>
|
920
|
-
<td
|
921
|
+
<td>Indicates an incomplete hostname (e.g. "http://foo" without a slash after that).
|
922
|
+
</td>
|
921
923
|
</tr>
|
922
924
|
</tbody>
|
923
925
|
</table></div>
|
924
926
|
</div>
|
925
927
|
<hr>
|
926
|
-
<div class="refsect2"
|
928
|
+
<div class="refsect2">
|
927
929
|
<a name="gtk-file-chooser-set-action"></a><h3>gtk_file_chooser_set_action ()</h3>
|
928
930
|
<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
931
|
<em class="parameter"><code><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> action</code></em>);</pre>
|
@@ -944,15 +946,14 @@ an option to create a new folder might be shown if the action is
|
|
944
946
|
</tr>
|
945
947
|
<tr>
|
946
948
|
<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
|
948
|
-
</td>
|
949
|
+
<td>the action that the file selector is performing</td>
|
949
950
|
</tr>
|
950
951
|
</tbody>
|
951
952
|
</table></div>
|
952
953
|
<p class="since">Since 2.4</p>
|
953
954
|
</div>
|
954
955
|
<hr>
|
955
|
-
<div class="refsect2"
|
956
|
+
<div class="refsect2">
|
956
957
|
<a name="gtk-file-chooser-get-action"></a><h3>gtk_file_chooser_get_action ()</h3>
|
957
958
|
<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>
|
958
959
|
<p>
|
@@ -969,16 +970,14 @@ Gets the type of operation that the file chooser is performing; see
|
|
969
970
|
</tr>
|
970
971
|
<tr>
|
971
972
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
972
|
-
<td>
|
973
|
-
|
974
|
-
</td>
|
973
|
+
<td>the action that the file selector is performing</td>
|
975
974
|
</tr>
|
976
975
|
</tbody>
|
977
976
|
</table></div>
|
978
977
|
<p class="since">Since 2.4</p>
|
979
978
|
</div>
|
980
979
|
<hr>
|
981
|
-
<div class="refsect2"
|
980
|
+
<div class="refsect2">
|
982
981
|
<a name="gtk-file-chooser-set-local-only"></a><h3>gtk_file_chooser_set_local_only ()</h3>
|
983
982
|
<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>,
|
984
983
|
<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>
|
@@ -989,7 +988,7 @@ then the selected file are files are guaranteed to be
|
|
989
988
|
accessible through the operating systems native file
|
990
989
|
file system and therefore the application only
|
991
990
|
needs to worry about the filename functions in
|
992
|
-
<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
|
991
|
+
<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>,
|
993
992
|
rather than the URI functions like
|
994
993
|
<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>,
|
995
994
|
</p>
|
@@ -1004,15 +1003,14 @@ rather than the URI functions like
|
|
1004
1003
|
<tr>
|
1005
1004
|
<td><p><span class="term"><em class="parameter"><code>local_only</code></em> :</span></p></td>
|
1006
1005
|
<td>
|
1007
|
-
<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
|
1008
|
-
</td>
|
1006
|
+
<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>
|
1009
1007
|
</tr>
|
1010
1008
|
</tbody>
|
1011
1009
|
</table></div>
|
1012
1010
|
<p class="since">Since 2.4</p>
|
1013
1011
|
</div>
|
1014
1012
|
<hr>
|
1015
|
-
<div class="refsect2"
|
1013
|
+
<div class="refsect2">
|
1016
1014
|
<a name="gtk-file-chooser-get-local-only"></a><h3>gtk_file_chooser_get_local_only ()</h3>
|
1017
1015
|
<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>
|
1018
1016
|
<p>
|
@@ -1024,21 +1022,20 @@ file selector. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-se
|
|
1024
1022
|
<tbody>
|
1025
1023
|
<tr>
|
1026
1024
|
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
1027
|
-
<td>a <span class="type">
|
1025
|
+
<td>a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
1028
1026
|
</td>
|
1029
1027
|
</tr>
|
1030
1028
|
<tr>
|
1031
1029
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1032
|
-
<td>
|
1033
|
-
|
1034
|
-
</td>
|
1030
|
+
<td>
|
1031
|
+
<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>
|
1035
1032
|
</tr>
|
1036
1033
|
</tbody>
|
1037
1034
|
</table></div>
|
1038
1035
|
<p class="since">Since 2.4</p>
|
1039
1036
|
</div>
|
1040
1037
|
<hr>
|
1041
|
-
<div class="refsect2"
|
1038
|
+
<div class="refsect2">
|
1042
1039
|
<a name="gtk-file-chooser-set-select-multiple"></a><h3>gtk_file_chooser_set_select_multiple ()</h3>
|
1043
1040
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_select_multiple
|
1044
1041
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
@@ -1059,15 +1056,14 @@ only relevant if the action is set to be <a class="link" href="GtkFileChooser.ht
|
|
1059
1056
|
<tr>
|
1060
1057
|
<td><p><span class="term"><em class="parameter"><code>select_multiple</code></em> :</span></p></td>
|
1061
1058
|
<td>
|
1062
|
-
<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
|
1063
|
-
</td>
|
1059
|
+
<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>
|
1064
1060
|
</tr>
|
1065
1061
|
</tbody>
|
1066
1062
|
</table></div>
|
1067
1063
|
<p class="since">Since 2.4</p>
|
1068
1064
|
</div>
|
1069
1065
|
<hr>
|
1070
|
-
<div class="refsect2"
|
1066
|
+
<div class="refsect2">
|
1071
1067
|
<a name="gtk-file-chooser-get-select-multiple"></a><h3>gtk_file_chooser_get_select_multiple ()</h3>
|
1072
1068
|
<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
|
1073
1069
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
@@ -1085,16 +1081,15 @@ selector. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-sel
|
|
1085
1081
|
</tr>
|
1086
1082
|
<tr>
|
1087
1083
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1088
|
-
<td>
|
1089
|
-
|
1090
|
-
</td>
|
1084
|
+
<td>
|
1085
|
+
<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>
|
1091
1086
|
</tr>
|
1092
1087
|
</tbody>
|
1093
1088
|
</table></div>
|
1094
1089
|
<p class="since">Since 2.4</p>
|
1095
1090
|
</div>
|
1096
1091
|
<hr>
|
1097
|
-
<div class="refsect2"
|
1092
|
+
<div class="refsect2">
|
1098
1093
|
<a name="gtk-file-chooser-set-show-hidden"></a><h3>gtk_file_chooser_set_show_hidden ()</h3>
|
1099
1094
|
<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>,
|
1100
1095
|
<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>
|
@@ -1112,15 +1107,14 @@ Sets whether hidden files and folders are displayed in the file selector.
|
|
1112
1107
|
<tr>
|
1113
1108
|
<td><p><span class="term"><em class="parameter"><code>show_hidden</code></em> :</span></p></td>
|
1114
1109
|
<td>
|
1115
|
-
<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
|
1116
|
-
</td>
|
1110
|
+
<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>
|
1117
1111
|
</tr>
|
1118
1112
|
</tbody>
|
1119
1113
|
</table></div>
|
1120
1114
|
<p class="since">Since 2.6</p>
|
1121
1115
|
</div>
|
1122
1116
|
<hr>
|
1123
|
-
<div class="refsect2"
|
1117
|
+
<div class="refsect2">
|
1124
1118
|
<a name="gtk-file-chooser-get-show-hidden"></a><h3>gtk_file_chooser_get_show_hidden ()</h3>
|
1125
1119
|
<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>
|
1126
1120
|
<p>
|
@@ -1137,16 +1131,15 @@ See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-show-hidden"
|
|
1137
1131
|
</tr>
|
1138
1132
|
<tr>
|
1139
1133
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1140
|
-
<td>
|
1141
|
-
|
1142
|
-
</td>
|
1134
|
+
<td>
|
1135
|
+
<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>
|
1143
1136
|
</tr>
|
1144
1137
|
</tbody>
|
1145
1138
|
</table></div>
|
1146
1139
|
<p class="since">Since 2.6</p>
|
1147
1140
|
</div>
|
1148
1141
|
<hr>
|
1149
|
-
<div class="refsect2"
|
1142
|
+
<div class="refsect2">
|
1150
1143
|
<a name="gtk-file-chooser-set-do-overwrite-confirmation"></a><h3>gtk_file_chooser_set_do_overwrite_confirmation ()</h3>
|
1151
1144
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_do_overwrite_confirmation
|
1152
1145
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
@@ -1176,15 +1169,14 @@ for the details.
|
|
1176
1169
|
</tr>
|
1177
1170
|
<tr>
|
1178
1171
|
<td><p><span class="term"><em class="parameter"><code>do_overwrite_confirmation</code></em> :</span></p></td>
|
1179
|
-
<td>whether to confirm overwriting in save mode
|
1180
|
-
</td>
|
1172
|
+
<td>whether to confirm overwriting in save mode</td>
|
1181
1173
|
</tr>
|
1182
1174
|
</tbody>
|
1183
1175
|
</table></div>
|
1184
1176
|
<p class="since">Since 2.8</p>
|
1185
1177
|
</div>
|
1186
1178
|
<hr>
|
1187
|
-
<div class="refsect2"
|
1179
|
+
<div class="refsect2">
|
1188
1180
|
<a name="gtk-file-chooser-get-do-overwrite-confirmation"></a><h3>gtk_file_chooser_get_do_overwrite_confirmation ()</h3>
|
1189
1181
|
<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
|
1190
1182
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
@@ -1202,17 +1194,16 @@ types a file name that already exists.
|
|
1202
1194
|
</tr>
|
1203
1195
|
<tr>
|
1204
1196
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1205
|
-
<td>
|
1206
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#
|
1207
|
-
|
1208
|
-
</td>
|
1197
|
+
<td>
|
1198
|
+
<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;
|
1199
|
+
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
|
1209
1200
|
</tr>
|
1210
1201
|
</tbody>
|
1211
1202
|
</table></div>
|
1212
1203
|
<p class="since">Since 2.8</p>
|
1213
1204
|
</div>
|
1214
1205
|
<hr>
|
1215
|
-
<div class="refsect2"
|
1206
|
+
<div class="refsect2">
|
1216
1207
|
<a name="gtk-file-chooser-set-create-folders"></a><h3>gtk_file_chooser_set_create_folders ()</h3>
|
1217
1208
|
<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>,
|
1218
1209
|
<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>
|
@@ -1232,15 +1223,14 @@ This is only relevant if the action is not set to be
|
|
1232
1223
|
<tr>
|
1233
1224
|
<td><p><span class="term"><em class="parameter"><code>create_folders</code></em> :</span></p></td>
|
1234
1225
|
<td>
|
1235
|
-
<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
|
1236
|
-
</td>
|
1226
|
+
<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>
|
1237
1227
|
</tr>
|
1238
1228
|
</tbody>
|
1239
1229
|
</table></div>
|
1240
1230
|
<p class="since">Since 2.18</p>
|
1241
1231
|
</div>
|
1242
1232
|
<hr>
|
1243
|
-
<div class="refsect2"
|
1233
|
+
<div class="refsect2">
|
1244
1234
|
<a name="gtk-file-chooser-get-create-folders"></a><h3>gtk_file_chooser_get_create_folders ()</h3>
|
1245
1235
|
<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>
|
1246
1236
|
<p>
|
@@ -1257,16 +1247,15 @@ See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-create-folder
|
|
1257
1247
|
</tr>
|
1258
1248
|
<tr>
|
1259
1249
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1260
|
-
<td>
|
1261
|
-
|
1262
|
-
</td>
|
1250
|
+
<td>
|
1251
|
+
<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>
|
1263
1252
|
</tr>
|
1264
1253
|
</tbody>
|
1265
1254
|
</table></div>
|
1266
1255
|
<p class="since">Since 2.18</p>
|
1267
1256
|
</div>
|
1268
1257
|
<hr>
|
1269
|
-
<div class="refsect2"
|
1258
|
+
<div class="refsect2">
|
1270
1259
|
<a name="gtk-file-chooser-set-current-name"></a><h3>gtk_file_chooser_set_current_name ()</h3>
|
1271
1260
|
<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>,
|
1272
1261
|
<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>
|
@@ -1278,7 +1267,7 @@ such uses as a suggested name in a "Save As..." dialog.
|
|
1278
1267
|
</p>
|
1279
1268
|
<p>
|
1280
1269
|
If you want to preselect a particular existing file, you should use
|
1281
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-filename" title="gtk_file_chooser_set_filename
|
1270
|
+
<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.
|
1282
1271
|
Please see the documentation for those functions for an example of using
|
1283
1272
|
<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.
|
1284
1273
|
</p>
|
@@ -1292,7 +1281,7 @@ Please see the documentation for those functions for an example of using
|
|
1292
1281
|
</tr>
|
1293
1282
|
<tr>
|
1294
1283
|
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
|
1295
|
-
<td>the filename to use, as a UTF-8 string
|
1284
|
+
<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>
|
1296
1285
|
</td>
|
1297
1286
|
</tr>
|
1298
1287
|
</tbody>
|
@@ -1300,9 +1289,10 @@ Please see the documentation for those functions for an example of using
|
|
1300
1289
|
<p class="since">Since 2.4</p>
|
1301
1290
|
</div>
|
1302
1291
|
<hr>
|
1303
|
-
<div class="refsect2"
|
1304
|
-
<a name="gtk-file-chooser-get-filename"></a><h3>gtk_file_chooser_get_filename
|
1305
|
-
<pre class="programlisting"
|
1292
|
+
<div class="refsect2">
|
1293
|
+
<a name="gtk-file-chooser-get-filename"></a><h3>gtk_file_chooser_get_filename</h3>
|
1294
|
+
<pre class="programlisting">#define gtk_file_chooser_get_filename gtk_file_chooser_get_filename_utf8
|
1295
|
+
</pre>
|
1306
1296
|
<p>
|
1307
1297
|
Gets the filename for the currently selected file in
|
1308
1298
|
the file selector. If multiple files are selected,
|
@@ -1322,10 +1312,9 @@ folder.
|
|
1322
1312
|
</tr>
|
1323
1313
|
<tr>
|
1324
1314
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1325
|
-
<td>
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1315
|
+
<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>
|
1316
|
+
if no file is selected, or the selected file can't
|
1317
|
+
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>
|
1329
1318
|
</td>
|
1330
1319
|
</tr>
|
1331
1320
|
</tbody>
|
@@ -1333,10 +1322,10 @@ folder.
|
|
1333
1322
|
<p class="since">Since 2.4</p>
|
1334
1323
|
</div>
|
1335
1324
|
<hr>
|
1336
|
-
<div class="refsect2"
|
1337
|
-
<a name="gtk-file-chooser-set-filename"></a><h3>gtk_file_chooser_set_filename
|
1338
|
-
<pre class="programlisting"
|
1339
|
-
|
1325
|
+
<div class="refsect2">
|
1326
|
+
<a name="gtk-file-chooser-set-filename"></a><h3>gtk_file_chooser_set_filename</h3>
|
1327
|
+
<pre class="programlisting">#define gtk_file_chooser_set_filename gtk_file_chooser_set_filename_utf8
|
1328
|
+
</pre>
|
1340
1329
|
<p>
|
1341
1330
|
Sets <em class="parameter"><code>filename</code></em> as the current filename for the file chooser, by changing
|
1342
1331
|
to the file's parent folder and actually selecting the file in list. If
|
@@ -1347,7 +1336,7 @@ will also appear in the dialog's file name entry.
|
|
1347
1336
|
If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current
|
1348
1337
|
folder of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>. This
|
1349
1338
|
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
|
1350
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename
|
1339
|
+
<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>.
|
1351
1340
|
</p>
|
1352
1341
|
<p>
|
1353
1342
|
Note that the file must exist, or nothing will be done except
|
@@ -1405,25 +1394,24 @@ Instead, use something similar to this:
|
|
1405
1394
|
</tr>
|
1406
1395
|
<tr>
|
1407
1396
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1408
|
-
<td>the filename to set as current
|
1397
|
+
<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>
|
1409
1398
|
</td>
|
1410
1399
|
</tr>
|
1411
1400
|
<tr>
|
1412
1401
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1413
|
-
<td>
|
1414
|
-
|
1415
|
-
|
1416
|
-
</td>
|
1402
|
+
<td>
|
1403
|
+
<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
|
1404
|
+
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>
|
1417
1405
|
</tr>
|
1418
1406
|
</tbody>
|
1419
1407
|
</table></div>
|
1420
1408
|
<p class="since">Since 2.4</p>
|
1421
1409
|
</div>
|
1422
1410
|
<hr>
|
1423
|
-
<div class="refsect2"
|
1424
|
-
<a name="gtk-file-chooser-select-filename"></a><h3>gtk_file_chooser_select_filename
|
1425
|
-
<pre class="programlisting"
|
1426
|
-
|
1411
|
+
<div class="refsect2">
|
1412
|
+
<a name="gtk-file-chooser-select-filename"></a><h3>gtk_file_chooser_select_filename</h3>
|
1413
|
+
<pre class="programlisting">#define gtk_file_chooser_select_filename gtk_file_chooser_select_filename_utf8
|
1414
|
+
</pre>
|
1427
1415
|
<p>
|
1428
1416
|
Selects a filename. If the file name isn't in the current
|
1429
1417
|
folder of <em class="parameter"><code>chooser</code></em>, then the current folder of <em class="parameter"><code>chooser</code></em> will
|
@@ -1439,25 +1427,24 @@ be changed to the folder containing <em class="parameter"><code>filename</code><
|
|
1439
1427
|
</tr>
|
1440
1428
|
<tr>
|
1441
1429
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1442
|
-
<td>the filename to select
|
1430
|
+
<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>
|
1443
1431
|
</td>
|
1444
1432
|
</tr>
|
1445
1433
|
<tr>
|
1446
1434
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1447
|
-
<td>
|
1448
|
-
|
1449
|
-
|
1450
|
-
</td>
|
1435
|
+
<td>
|
1436
|
+
<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
|
1437
|
+
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>
|
1451
1438
|
</tr>
|
1452
1439
|
</tbody>
|
1453
1440
|
</table></div>
|
1454
1441
|
<p class="since">Since 2.4</p>
|
1455
1442
|
</div>
|
1456
1443
|
<hr>
|
1457
|
-
<div class="refsect2"
|
1458
|
-
<a name="gtk-file-chooser-unselect-filename"></a><h3>gtk_file_chooser_unselect_filename
|
1459
|
-
<pre class="programlisting"
|
1460
|
-
|
1444
|
+
<div class="refsect2">
|
1445
|
+
<a name="gtk-file-chooser-unselect-filename"></a><h3>gtk_file_chooser_unselect_filename</h3>
|
1446
|
+
<pre class="programlisting">#define gtk_file_chooser_unselect_filename gtk_file_chooser_unselect_filename_utf8
|
1447
|
+
</pre>
|
1461
1448
|
<p>
|
1462
1449
|
Unselects a currently selected filename. If the filename
|
1463
1450
|
is not in the current directory, does not exist, or
|
@@ -1473,7 +1460,7 @@ is otherwise not currently selected, does nothing.
|
|
1473
1460
|
</tr>
|
1474
1461
|
<tr>
|
1475
1462
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1476
|
-
<td>the filename to unselect
|
1463
|
+
<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>
|
1477
1464
|
</td>
|
1478
1465
|
</tr>
|
1479
1466
|
</tbody>
|
@@ -1481,7 +1468,7 @@ is otherwise not currently selected, does nothing.
|
|
1481
1468
|
<p class="since">Since 2.4</p>
|
1482
1469
|
</div>
|
1483
1470
|
<hr>
|
1484
|
-
<div class="refsect2"
|
1471
|
+
<div class="refsect2">
|
1485
1472
|
<a name="gtk-file-chooser-select-all"></a><h3>gtk_file_chooser_select_all ()</h3>
|
1486
1473
|
<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>
|
1487
1474
|
<p>
|
@@ -1498,7 +1485,7 @@ Selects all the files in the current folder of a file chooser.
|
|
1498
1485
|
<p class="since">Since 2.4</p>
|
1499
1486
|
</div>
|
1500
1487
|
<hr>
|
1501
|
-
<div class="refsect2"
|
1488
|
+
<div class="refsect2">
|
1502
1489
|
<a name="gtk-file-chooser-unselect-all"></a><h3>gtk_file_chooser_unselect_all ()</h3>
|
1503
1490
|
<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>
|
1504
1491
|
<p>
|
@@ -1515,9 +1502,10 @@ Unselects all the files in the current folder of a file chooser.
|
|
1515
1502
|
<p class="since">Since 2.4</p>
|
1516
1503
|
</div>
|
1517
1504
|
<hr>
|
1518
|
-
<div class="refsect2"
|
1519
|
-
<a name="gtk-file-chooser-get-filenames"></a><h3>gtk_file_chooser_get_filenames
|
1520
|
-
<pre class="programlisting"
|
1505
|
+
<div class="refsect2">
|
1506
|
+
<a name="gtk-file-chooser-get-filenames"></a><h3>gtk_file_chooser_get_filenames</h3>
|
1507
|
+
<pre class="programlisting">#define gtk_file_chooser_get_filenames gtk_file_chooser_get_filenames_utf8
|
1508
|
+
</pre>
|
1521
1509
|
<p>
|
1522
1510
|
Lists all the selected files and subfolders in the current folder of
|
1523
1511
|
<em class="parameter"><code>chooser</code></em>. The returned names are full absolute paths. If files in the current
|
@@ -1534,9 +1522,10 @@ folder cannot be represented as local filenames they will be ignored. (See
|
|
1534
1522
|
</tr>
|
1535
1523
|
<tr>
|
1536
1524
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1537
|
-
<td>
|
1538
|
-
|
1539
|
-
|
1525
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
|
1526
|
+
containing the filenames of all selected files and subfolders in
|
1527
|
+
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>,
|
1528
|
+
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>
|
1540
1529
|
</td>
|
1541
1530
|
</tr>
|
1542
1531
|
</tbody>
|
@@ -1544,10 +1533,10 @@ folder cannot be represented as local filenames they will be ignored. (See
|
|
1544
1533
|
<p class="since">Since 2.4</p>
|
1545
1534
|
</div>
|
1546
1535
|
<hr>
|
1547
|
-
<div class="refsect2"
|
1548
|
-
<a name="gtk-file-chooser-set-current-folder"></a><h3>gtk_file_chooser_set_current_folder
|
1549
|
-
<pre class="programlisting"
|
1550
|
-
|
1536
|
+
<div class="refsect2">
|
1537
|
+
<a name="gtk-file-chooser-set-current-folder"></a><h3>gtk_file_chooser_set_current_folder</h3>
|
1538
|
+
<pre class="programlisting">#define gtk_file_chooser_set_current_folder gtk_file_chooser_set_current_folder_utf8
|
1539
|
+
</pre>
|
1551
1540
|
<p>
|
1552
1541
|
Sets the current folder for <em class="parameter"><code>chooser</code></em> from a local filename.
|
1553
1542
|
The user will be shown the full contents of the current folder,
|
@@ -1563,33 +1552,33 @@ plus user interface elements for navigating to other folders.
|
|
1563
1552
|
</tr>
|
1564
1553
|
<tr>
|
1565
1554
|
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
|
1566
|
-
<td>the full path of the new current folder
|
1555
|
+
<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>
|
1567
1556
|
</td>
|
1568
1557
|
</tr>
|
1569
1558
|
<tr>
|
1570
1559
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1571
|
-
<td>
|
1572
|
-
|
1573
|
-
|
1574
|
-
</td>
|
1560
|
+
<td>
|
1561
|
+
<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>
|
1562
|
+
otherwise.</td>
|
1575
1563
|
</tr>
|
1576
1564
|
</tbody>
|
1577
1565
|
</table></div>
|
1578
1566
|
<p class="since">Since 2.4</p>
|
1579
1567
|
</div>
|
1580
1568
|
<hr>
|
1581
|
-
<div class="refsect2"
|
1582
|
-
<a name="gtk-file-chooser-get-current-folder"></a><h3>gtk_file_chooser_get_current_folder
|
1583
|
-
<pre class="programlisting"
|
1569
|
+
<div class="refsect2">
|
1570
|
+
<a name="gtk-file-chooser-get-current-folder"></a><h3>gtk_file_chooser_get_current_folder</h3>
|
1571
|
+
<pre class="programlisting">#define gtk_file_chooser_get_current_folder gtk_file_chooser_get_current_folder_utf8
|
1572
|
+
</pre>
|
1584
1573
|
<p>
|
1585
1574
|
Gets the current folder of <em class="parameter"><code>chooser</code></em> as a local filename.
|
1586
|
-
See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder
|
1575
|
+
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>.
|
1587
1576
|
</p>
|
1588
1577
|
<p>
|
1589
1578
|
Note that this is the folder that the file chooser is currently displaying
|
1590
1579
|
(e.g. "/home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
|
1591
1580
|
as the currently-selected folder if the chooser is in
|
1592
|
-
<code class="literal">
|
1581
|
+
<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
|
1593
1582
|
(e.g. "/home/username/Documents/selected-folder/". To get the
|
1594
1583
|
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
|
1595
1584
|
usual way to get the selection.
|
@@ -1604,12 +1593,12 @@ usual way to get the selection.
|
|
1604
1593
|
</tr>
|
1605
1594
|
<tr>
|
1606
1595
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1607
|
-
<td>
|
1608
|
-
|
1609
|
-
|
1610
|
-
|
1611
|
-
|
1612
|
-
|
1596
|
+
<td>the full path of the current folder,
|
1597
|
+
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
|
1598
|
+
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
|
1599
|
+
<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
|
1600
|
+
was requested from it; for example, as would be for calling
|
1601
|
+
<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>
|
1613
1602
|
</td>
|
1614
1603
|
</tr>
|
1615
1604
|
</tbody>
|
@@ -1617,7 +1606,7 @@ last folder that was requested from it; for example, as would be for calling
|
|
1617
1606
|
<p class="since">Since 2.4</p>
|
1618
1607
|
</div>
|
1619
1608
|
<hr>
|
1620
|
-
<div class="refsect2"
|
1609
|
+
<div class="refsect2">
|
1621
1610
|
<a name="gtk-file-chooser-get-uri"></a><h3>gtk_file_chooser_get_uri ()</h3>
|
1622
1611
|
<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>
|
1623
1612
|
<p>
|
@@ -1639,9 +1628,8 @@ folder.
|
|
1639
1628
|
</tr>
|
1640
1629
|
<tr>
|
1641
1630
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1642
|
-
<td>
|
1643
|
-
|
1644
|
-
|
1631
|
+
<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>
|
1632
|
+
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>
|
1645
1633
|
</td>
|
1646
1634
|
</tr>
|
1647
1635
|
</tbody>
|
@@ -1649,7 +1637,7 @@ folder.
|
|
1649
1637
|
<p class="since">Since 2.4</p>
|
1650
1638
|
</div>
|
1651
1639
|
<hr>
|
1652
|
-
<div class="refsect2"
|
1640
|
+
<div class="refsect2">
|
1653
1641
|
<a name="gtk-file-chooser-set-uri"></a><h3>gtk_file_chooser_set_uri ()</h3>
|
1654
1642
|
<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>,
|
1655
1643
|
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
@@ -1719,22 +1707,20 @@ Instead, use something similar to this:
|
|
1719
1707
|
</tr>
|
1720
1708
|
<tr>
|
1721
1709
|
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1722
|
-
<td>the URI to set as current
|
1723
|
-
</td>
|
1710
|
+
<td>the URI to set as current</td>
|
1724
1711
|
</tr>
|
1725
1712
|
<tr>
|
1726
1713
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1727
|
-
<td>
|
1728
|
-
|
1729
|
-
|
1730
|
-
</td>
|
1714
|
+
<td>
|
1715
|
+
<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
|
1716
|
+
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>
|
1731
1717
|
</tr>
|
1732
1718
|
</tbody>
|
1733
1719
|
</table></div>
|
1734
1720
|
<p class="since">Since 2.4</p>
|
1735
1721
|
</div>
|
1736
1722
|
<hr>
|
1737
|
-
<div class="refsect2"
|
1723
|
+
<div class="refsect2">
|
1738
1724
|
<a name="gtk-file-chooser-select-uri"></a><h3>gtk_file_chooser_select_uri ()</h3>
|
1739
1725
|
<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>,
|
1740
1726
|
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
@@ -1753,22 +1739,20 @@ file in the current folder of <em class="parameter"><code>chooser</code></em>, t
|
|
1753
1739
|
</tr>
|
1754
1740
|
<tr>
|
1755
1741
|
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1756
|
-
<td>the URI to select
|
1757
|
-
</td>
|
1742
|
+
<td>the URI to select</td>
|
1758
1743
|
</tr>
|
1759
1744
|
<tr>
|
1760
1745
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1761
|
-
<td>
|
1762
|
-
|
1763
|
-
|
1764
|
-
</td>
|
1746
|
+
<td>
|
1747
|
+
<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
|
1748
|
+
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>
|
1765
1749
|
</tr>
|
1766
1750
|
</tbody>
|
1767
1751
|
</table></div>
|
1768
1752
|
<p class="since">Since 2.4</p>
|
1769
1753
|
</div>
|
1770
1754
|
<hr>
|
1771
|
-
<div class="refsect2"
|
1755
|
+
<div class="refsect2">
|
1772
1756
|
<a name="gtk-file-chooser-unselect-uri"></a><h3>gtk_file_chooser_unselect_uri ()</h3>
|
1773
1757
|
<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>,
|
1774
1758
|
<em class="parameter"><code>const <span class="type">char</span> *uri</code></em>);</pre>
|
@@ -1787,15 +1771,14 @@ is otherwise not currently selected, does nothing.
|
|
1787
1771
|
</tr>
|
1788
1772
|
<tr>
|
1789
1773
|
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1790
|
-
<td>the URI to unselect
|
1791
|
-
</td>
|
1774
|
+
<td>the URI to unselect</td>
|
1792
1775
|
</tr>
|
1793
1776
|
</tbody>
|
1794
1777
|
</table></div>
|
1795
1778
|
<p class="since">Since 2.4</p>
|
1796
1779
|
</div>
|
1797
1780
|
<hr>
|
1798
|
-
<div class="refsect2"
|
1781
|
+
<div class="refsect2">
|
1799
1782
|
<a name="gtk-file-chooser-get-uris"></a><h3>gtk_file_chooser_get_uris ()</h3>
|
1800
1783
|
<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>
|
1801
1784
|
<p>
|
@@ -1812,9 +1795,9 @@ Lists all the selected files and subfolders in the current folder of
|
|
1812
1795
|
</tr>
|
1813
1796
|
<tr>
|
1814
1797
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1815
|
-
<td>
|
1816
|
-
|
1817
|
-
|
1798
|
+
<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
|
1799
|
+
files and subfolders in the current folder. Free the returned list
|
1800
|
+
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>
|
1818
1801
|
</td>
|
1819
1802
|
</tr>
|
1820
1803
|
</tbody>
|
@@ -1822,7 +1805,7 @@ Lists all the selected files and subfolders in the current folder of
|
|
1822
1805
|
<p class="since">Since 2.4</p>
|
1823
1806
|
</div>
|
1824
1807
|
<hr>
|
1825
|
-
<div class="refsect2"
|
1808
|
+
<div class="refsect2">
|
1826
1809
|
<a name="gtk-file-chooser-set-current-folder-uri"></a><h3>gtk_file_chooser_set_current_folder_uri ()</h3>
|
1827
1810
|
<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
|
1828
1811
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
@@ -1842,22 +1825,20 @@ plus user interface elements for navigating to other folders.
|
|
1842
1825
|
</tr>
|
1843
1826
|
<tr>
|
1844
1827
|
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
1845
|
-
<td>the URI for the new current folder
|
1846
|
-
</td>
|
1828
|
+
<td>the URI for the new current folder</td>
|
1847
1829
|
</tr>
|
1848
1830
|
<tr>
|
1849
1831
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1850
|
-
<td>
|
1851
|
-
|
1852
|
-
|
1853
|
-
</td>
|
1832
|
+
<td>
|
1833
|
+
<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>
|
1834
|
+
otherwise.</td>
|
1854
1835
|
</tr>
|
1855
1836
|
</tbody>
|
1856
1837
|
</table></div>
|
1857
1838
|
<p class="since">Since 2.4</p>
|
1858
1839
|
</div>
|
1859
1840
|
<hr>
|
1860
|
-
<div class="refsect2"
|
1841
|
+
<div class="refsect2">
|
1861
1842
|
<a name="gtk-file-chooser-get-current-folder-uri"></a><h3>gtk_file_chooser_get_current_folder_uri ()</h3>
|
1862
1843
|
<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
|
1863
1844
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
@@ -1869,7 +1850,7 @@ See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folde
|
|
1869
1850
|
Note that this is the folder that the file chooser is currently displaying
|
1870
1851
|
(e.g. "file:///home/username/Documents"), which is <span class="emphasis"><em>not the same</em></span>
|
1871
1852
|
as the currently-selected folder if the chooser is in
|
1872
|
-
<code class="literal">
|
1853
|
+
<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
|
1873
1854
|
(e.g. "file:///home/username/Documents/selected-folder/". To get the
|
1874
1855
|
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
|
1875
1856
|
usual way to get the selection.
|
@@ -1884,19 +1865,17 @@ usual way to get the selection.
|
|
1884
1865
|
</tr>
|
1885
1866
|
<tr>
|
1886
1867
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1887
|
-
<td>
|
1868
|
+
<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
|
1888
1869
|
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
|
1889
1870
|
last folder that was requested from it; for example, as would be for calling
|
1890
|
-
<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
|
1891
|
-
|
1892
|
-
</td>
|
1871
|
+
<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>
|
1893
1872
|
</tr>
|
1894
1873
|
</tbody>
|
1895
1874
|
</table></div>
|
1896
1875
|
<p class="since">Since 2.4</p>
|
1897
1876
|
</div>
|
1898
1877
|
<hr>
|
1899
|
-
<div class="refsect2"
|
1878
|
+
<div class="refsect2">
|
1900
1879
|
<a name="gtk-file-chooser-set-preview-widget"></a><h3>gtk_file_chooser_set_preview_widget ()</h3>
|
1901
1880
|
<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>,
|
1902
1881
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *preview_widget</code></em>);</pre>
|
@@ -1904,7 +1883,7 @@ last folder that was requested from it; for example, as would be for calling
|
|
1904
1883
|
Sets an application-supplied widget to use to display a custom preview
|
1905
1884
|
of the currently selected file. To implement a preview, after setting the
|
1906
1885
|
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>
|
1907
|
-
signal, and call <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename
|
1886
|
+
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
|
1908
1887
|
<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
|
1909
1888
|
display a preview of the new file, update your widget and
|
1910
1889
|
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>.
|
@@ -1926,15 +1905,14 @@ it may display no preview at all.
|
|
1926
1905
|
</tr>
|
1927
1906
|
<tr>
|
1928
1907
|
<td><p><span class="term"><em class="parameter"><code>preview_widget</code></em> :</span></p></td>
|
1929
|
-
<td>widget for displaying preview
|
1930
|
-
</td>
|
1908
|
+
<td>widget for displaying preview.</td>
|
1931
1909
|
</tr>
|
1932
1910
|
</tbody>
|
1933
1911
|
</table></div>
|
1934
1912
|
<p class="since">Since 2.4</p>
|
1935
1913
|
</div>
|
1936
1914
|
<hr>
|
1937
|
-
<div class="refsect2"
|
1915
|
+
<div class="refsect2">
|
1938
1916
|
<a name="gtk-file-chooser-get-preview-widget"></a><h3>gtk_file_chooser_get_preview_widget ()</h3>
|
1939
1917
|
<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>
|
1940
1918
|
<p>
|
@@ -1951,8 +1929,7 @@ Gets the current preview widget; see
|
|
1951
1929
|
</tr>
|
1952
1930
|
<tr>
|
1953
1931
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1954
|
-
<td>
|
1955
|
-
|
1932
|
+
<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>
|
1956
1933
|
</td>
|
1957
1934
|
</tr>
|
1958
1935
|
</tbody>
|
@@ -1960,7 +1937,7 @@ Gets the current preview widget; see
|
|
1960
1937
|
<p class="since">Since 2.4</p>
|
1961
1938
|
</div>
|
1962
1939
|
<hr>
|
1963
|
-
<div class="refsect2"
|
1940
|
+
<div class="refsect2">
|
1964
1941
|
<a name="gtk-file-chooser-set-preview-widget-active"></a><h3>gtk_file_chooser_set_preview_widget_active ()</h3>
|
1965
1942
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_preview_widget_active
|
1966
1943
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
@@ -1983,15 +1960,14 @@ or it may display no preview at all. See
|
|
1983
1960
|
</tr>
|
1984
1961
|
<tr>
|
1985
1962
|
<td><p><span class="term"><em class="parameter"><code>active</code></em> :</span></p></td>
|
1986
|
-
<td>whether to display the user-specified preview widget
|
1987
|
-
</td>
|
1963
|
+
<td>whether to display the user-specified preview widget</td>
|
1988
1964
|
</tr>
|
1989
1965
|
</tbody>
|
1990
1966
|
</table></div>
|
1991
1967
|
<p class="since">Since 2.4</p>
|
1992
1968
|
</div>
|
1993
1969
|
<hr>
|
1994
|
-
<div class="refsect2"
|
1970
|
+
<div class="refsect2">
|
1995
1971
|
<a name="gtk-file-chooser-get-preview-widget-active"></a><h3>gtk_file_chooser_get_preview_widget_active ()</h3>
|
1996
1972
|
<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
|
1997
1973
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
@@ -2010,16 +1986,15 @@ should be shown for the current filename. See
|
|
2010
1986
|
</tr>
|
2011
1987
|
<tr>
|
2012
1988
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2013
|
-
<td>
|
2014
|
-
|
2015
|
-
</td>
|
1989
|
+
<td>
|
1990
|
+
<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>
|
2016
1991
|
</tr>
|
2017
1992
|
</tbody>
|
2018
1993
|
</table></div>
|
2019
1994
|
<p class="since">Since 2.4</p>
|
2020
1995
|
</div>
|
2021
1996
|
<hr>
|
2022
|
-
<div class="refsect2"
|
1997
|
+
<div class="refsect2">
|
2023
1998
|
<a name="gtk-file-chooser-set-use-preview-label"></a><h3>gtk_file_chooser_set_use_preview_label ()</h3>
|
2024
1999
|
<pre class="programlisting"><span class="returnvalue">void</span> gtk_file_chooser_set_use_preview_label
|
2025
2000
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
@@ -2043,15 +2018,14 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview
|
|
2043
2018
|
</tr>
|
2044
2019
|
<tr>
|
2045
2020
|
<td><p><span class="term"><em class="parameter"><code>use_label</code></em> :</span></p></td>
|
2046
|
-
<td>whether to display a stock label with the name of the previewed file
|
2047
|
-
</td>
|
2021
|
+
<td>whether to display a stock label with the name of the previewed file</td>
|
2048
2022
|
</tr>
|
2049
2023
|
</tbody>
|
2050
2024
|
</table></div>
|
2051
2025
|
<p class="since">Since 2.4</p>
|
2052
2026
|
</div>
|
2053
2027
|
<hr>
|
2054
|
-
<div class="refsect2"
|
2028
|
+
<div class="refsect2">
|
2055
2029
|
<a name="gtk-file-chooser-get-use-preview-label"></a><h3>gtk_file_chooser_get_use_preview_label ()</h3>
|
2056
2030
|
<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
|
2057
2031
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
@@ -2069,18 +2043,18 @@ file. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-use-pr
|
|
2069
2043
|
</tr>
|
2070
2044
|
<tr>
|
2071
2045
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2072
|
-
<td>
|
2073
|
-
|
2074
|
-
</td>
|
2046
|
+
<td>
|
2047
|
+
<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
|
2048
|
+
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>
|
2075
2049
|
</tr>
|
2076
2050
|
</tbody>
|
2077
2051
|
</table></div>
|
2078
2052
|
</div>
|
2079
2053
|
<hr>
|
2080
|
-
<div class="refsect2"
|
2081
|
-
<a name="gtk-file-chooser-get-preview-filename"></a><h3>gtk_file_chooser_get_preview_filename
|
2082
|
-
<pre class="programlisting"
|
2083
|
-
|
2054
|
+
<div class="refsect2">
|
2055
|
+
<a name="gtk-file-chooser-get-preview-filename"></a><h3>gtk_file_chooser_get_preview_filename</h3>
|
2056
|
+
<pre class="programlisting">#define gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_filename_utf8
|
2057
|
+
</pre>
|
2084
2058
|
<p>
|
2085
2059
|
Gets the filename that should be previewed in a custom preview
|
2086
2060
|
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>.
|
@@ -2095,10 +2069,9 @@ widget. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-previ
|
|
2095
2069
|
</tr>
|
2096
2070
|
<tr>
|
2097
2071
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2098
|
-
<td>
|
2099
|
-
is selected, or if the selected file cannot be represented
|
2100
|
-
|
2101
|
-
|
2072
|
+
<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
|
2073
|
+
no file is selected, or if the selected file cannot be represented
|
2074
|
+
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>
|
2102
2075
|
</td>
|
2103
2076
|
</tr>
|
2104
2077
|
</tbody>
|
@@ -2106,7 +2079,7 @@ widget. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-previ
|
|
2106
2079
|
<p class="since">Since 2.4</p>
|
2107
2080
|
</div>
|
2108
2081
|
<hr>
|
2109
|
-
<div class="refsect2"
|
2082
|
+
<div class="refsect2">
|
2110
2083
|
<a name="gtk-file-chooser-get-preview-uri"></a><h3>gtk_file_chooser_get_preview_uri ()</h3>
|
2111
2084
|
<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>
|
2112
2085
|
<p>
|
@@ -2123,17 +2096,15 @@ widget. See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-previ
|
|
2123
2096
|
</tr>
|
2124
2097
|
<tr>
|
2125
2098
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2126
|
-
<td>
|
2127
|
-
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
|
2128
|
-
|
2129
|
-
</td>
|
2099
|
+
<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
|
2100
|
+
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>
|
2130
2101
|
</tr>
|
2131
2102
|
</tbody>
|
2132
2103
|
</table></div>
|
2133
2104
|
<p class="since">Since 2.4</p>
|
2134
2105
|
</div>
|
2135
2106
|
<hr>
|
2136
|
-
<div class="refsect2"
|
2107
|
+
<div class="refsect2">
|
2137
2108
|
<a name="gtk-file-chooser-set-extra-widget"></a><h3>gtk_file_chooser_set_extra_widget ()</h3>
|
2138
2109
|
<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>,
|
2139
2110
|
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *extra_widget</code></em>);</pre>
|
@@ -2150,15 +2121,14 @@ Sets an application-supplied widget to provide extra options to the user.
|
|
2150
2121
|
</tr>
|
2151
2122
|
<tr>
|
2152
2123
|
<td><p><span class="term"><em class="parameter"><code>extra_widget</code></em> :</span></p></td>
|
2153
|
-
<td>widget for extra options
|
2154
|
-
</td>
|
2124
|
+
<td>widget for extra options</td>
|
2155
2125
|
</tr>
|
2156
2126
|
</tbody>
|
2157
2127
|
</table></div>
|
2158
2128
|
<p class="since">Since 2.4</p>
|
2159
2129
|
</div>
|
2160
2130
|
<hr>
|
2161
|
-
<div class="refsect2"
|
2131
|
+
<div class="refsect2">
|
2162
2132
|
<a name="gtk-file-chooser-get-extra-widget"></a><h3>gtk_file_chooser_get_extra_widget ()</h3>
|
2163
2133
|
<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>
|
2164
2134
|
<p>
|
@@ -2175,8 +2145,7 @@ Gets the current preview widget; see
|
|
2175
2145
|
</tr>
|
2176
2146
|
<tr>
|
2177
2147
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2178
|
-
<td>
|
2179
|
-
|
2148
|
+
<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>
|
2180
2149
|
</td>
|
2181
2150
|
</tr>
|
2182
2151
|
</tbody>
|
@@ -2184,7 +2153,7 @@ Gets the current preview widget; see
|
|
2184
2153
|
<p class="since">Since 2.4</p>
|
2185
2154
|
</div>
|
2186
2155
|
<hr>
|
2187
|
-
<div class="refsect2"
|
2156
|
+
<div class="refsect2">
|
2188
2157
|
<a name="gtk-file-chooser-add-filter"></a><h3>gtk_file_chooser_add_filter ()</h3>
|
2189
2158
|
<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>,
|
2190
2159
|
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
@@ -2215,7 +2184,7 @@ ref and sink it if you want to keep a reference.
|
|
2215
2184
|
<p class="since">Since 2.4</p>
|
2216
2185
|
</div>
|
2217
2186
|
<hr>
|
2218
|
-
<div class="refsect2"
|
2187
|
+
<div class="refsect2">
|
2219
2188
|
<a name="gtk-file-chooser-remove-filter"></a><h3>gtk_file_chooser_remove_filter ()</h3>
|
2220
2189
|
<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>,
|
2221
2190
|
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
@@ -2240,7 +2209,7 @@ Removes <em class="parameter"><code>filter</code></em> from the list of filters
|
|
2240
2209
|
<p class="since">Since 2.4</p>
|
2241
2210
|
</div>
|
2242
2211
|
<hr>
|
2243
|
-
<div class="refsect2"
|
2212
|
+
<div class="refsect2">
|
2244
2213
|
<a name="gtk-file-chooser-list-filters"></a><h3>gtk_file_chooser_list_filters ()</h3>
|
2245
2214
|
<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>
|
2246
2215
|
<p>
|
@@ -2257,10 +2226,10 @@ Lists the current set of user-selectable filters; see
|
|
2257
2226
|
</tr>
|
2258
2227
|
<tr>
|
2259
2228
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2260
|
-
<td>
|
2261
|
-
|
2262
|
-
owned by GTK+, but you must free the list
|
2263
|
-
<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>
|
2229
|
+
<td>a
|
2230
|
+
<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
|
2231
|
+
contents of the list are owned by GTK+, but you must free the list
|
2232
|
+
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>
|
2264
2233
|
</td>
|
2265
2234
|
</tr>
|
2266
2235
|
</tbody>
|
@@ -2268,7 +2237,7 @@ Lists the current set of user-selectable filters; see
|
|
2268
2237
|
<p class="since">Since 2.4</p>
|
2269
2238
|
</div>
|
2270
2239
|
<hr>
|
2271
|
-
<div class="refsect2"
|
2240
|
+
<div class="refsect2">
|
2272
2241
|
<a name="gtk-file-chooser-set-filter"></a><h3>gtk_file_chooser_set_filter ()</h3>
|
2273
2242
|
<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>,
|
2274
2243
|
<em class="parameter"><code><a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a> *filter</code></em>);</pre>
|
@@ -2298,7 +2267,7 @@ set of files without letting the user change it.
|
|
2298
2267
|
<p class="since">Since 2.4</p>
|
2299
2268
|
</div>
|
2300
2269
|
<hr>
|
2301
|
-
<div class="refsect2"
|
2270
|
+
<div class="refsect2">
|
2302
2271
|
<a name="gtk-file-chooser-get-filter"></a><h3>gtk_file_chooser_get_filter ()</h3>
|
2303
2272
|
<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>
|
2304
2273
|
<p>
|
@@ -2314,8 +2283,7 @@ Gets the current filter; see <a class="link" href="GtkFileChooser.html#gtk-file-
|
|
2314
2283
|
</tr>
|
2315
2284
|
<tr>
|
2316
2285
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2317
|
-
<td>
|
2318
|
-
|
2286
|
+
<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>
|
2319
2287
|
</td>
|
2320
2288
|
</tr>
|
2321
2289
|
</tbody>
|
@@ -2323,12 +2291,10 @@ Gets the current filter; see <a class="link" href="GtkFileChooser.html#gtk-file-
|
|
2323
2291
|
<p class="since">Since 2.4</p>
|
2324
2292
|
</div>
|
2325
2293
|
<hr>
|
2326
|
-
<div class="refsect2"
|
2327
|
-
<a name="gtk-file-chooser-add-shortcut-folder"></a><h3>gtk_file_chooser_add_shortcut_folder
|
2328
|
-
<pre class="programlisting"
|
2329
|
-
|
2330
|
-
<em class="parameter"><code>const <span class="type">char</span> *folder</code></em>,
|
2331
|
-
<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>
|
2294
|
+
<div class="refsect2">
|
2295
|
+
<a name="gtk-file-chooser-add-shortcut-folder"></a><h3>gtk_file_chooser_add_shortcut_folder</h3>
|
2296
|
+
<pre class="programlisting">#define gtk_file_chooser_add_shortcut_folder gtk_file_chooser_add_shortcut_folder_utf8
|
2297
|
+
</pre>
|
2332
2298
|
<p>
|
2333
2299
|
Adds a folder to be displayed with the shortcut folders in a file chooser.
|
2334
2300
|
Note that shortcut folders do not get saved, as they are provided by the
|
@@ -2345,32 +2311,29 @@ application. For example, you can use this to add a
|
|
2345
2311
|
</tr>
|
2346
2312
|
<tr>
|
2347
2313
|
<td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
|
2348
|
-
<td>filename of the folder to add
|
2314
|
+
<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>
|
2349
2315
|
</td>
|
2350
2316
|
</tr>
|
2351
2317
|
<tr>
|
2352
2318
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2353
|
-
<td>
|
2319
|
+
<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
2320
|
</td>
|
2355
2321
|
</tr>
|
2356
2322
|
<tr>
|
2357
2323
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2358
|
-
<td>
|
2359
|
-
|
2360
|
-
|
2361
|
-
</td>
|
2324
|
+
<td>
|
2325
|
+
<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>
|
2326
|
+
otherwise. In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.</td>
|
2362
2327
|
</tr>
|
2363
2328
|
</tbody>
|
2364
2329
|
</table></div>
|
2365
2330
|
<p class="since">Since 2.4</p>
|
2366
2331
|
</div>
|
2367
2332
|
<hr>
|
2368
|
-
<div class="refsect2"
|
2369
|
-
<a name="gtk-file-chooser-remove-shortcut-folder"></a><h3>gtk_file_chooser_remove_shortcut_folder
|
2370
|
-
<pre class="programlisting"
|
2371
|
-
|
2372
|
-
<em class="parameter"><code>const <span class="type">char</span> *folder</code></em>,
|
2373
|
-
<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>
|
2333
|
+
<div class="refsect2">
|
2334
|
+
<a name="gtk-file-chooser-remove-shortcut-folder"></a><h3>gtk_file_chooser_remove_shortcut_folder</h3>
|
2335
|
+
<pre class="programlisting">#define gtk_file_chooser_remove_shortcut_folder gtk_file_chooser_remove_shortcut_folder_utf8
|
2336
|
+
</pre>
|
2374
2337
|
<p>
|
2375
2338
|
Removes a folder from a file chooser's list of shortcut folders.
|
2376
2339
|
</p>
|
@@ -2384,21 +2347,20 @@ Removes a folder from a file chooser's list of shortcut folders.
|
|
2384
2347
|
</tr>
|
2385
2348
|
<tr>
|
2386
2349
|
<td><p><span class="term"><em class="parameter"><code>folder</code></em> :</span></p></td>
|
2387
|
-
<td>filename of the folder to remove
|
2350
|
+
<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>
|
2388
2351
|
</td>
|
2389
2352
|
</tr>
|
2390
2353
|
<tr>
|
2391
2354
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2392
|
-
<td>
|
2355
|
+
<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>
|
2393
2356
|
</td>
|
2394
2357
|
</tr>
|
2395
2358
|
<tr>
|
2396
2359
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2397
|
-
<td>
|
2360
|
+
<td>
|
2361
|
+
<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.
|
2398
2362
|
In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.
|
2399
|
-
|
2400
|
-
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>
|
2401
|
-
|
2363
|
+
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>
|
2402
2364
|
</td>
|
2403
2365
|
</tr>
|
2404
2366
|
</tbody>
|
@@ -2406,13 +2368,13 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcu
|
|
2406
2368
|
<p class="since">Since 2.4</p>
|
2407
2369
|
</div>
|
2408
2370
|
<hr>
|
2409
|
-
<div class="refsect2"
|
2410
|
-
<a name="gtk-file-chooser-list-shortcut-folders"></a><h3>gtk_file_chooser_list_shortcut_folders
|
2411
|
-
<pre class="programlisting"
|
2412
|
-
|
2371
|
+
<div class="refsect2">
|
2372
|
+
<a name="gtk-file-chooser-list-shortcut-folders"></a><h3>gtk_file_chooser_list_shortcut_folders</h3>
|
2373
|
+
<pre class="programlisting">#define gtk_file_chooser_list_shortcut_folders gtk_file_chooser_list_shortcut_folders_utf8
|
2374
|
+
</pre>
|
2413
2375
|
<p>
|
2414
2376
|
Queries the list of shortcut folders in the file chooser, as set by
|
2415
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcut-folder" title="gtk_file_chooser_add_shortcut_folder
|
2377
|
+
<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>.
|
2416
2378
|
</p>
|
2417
2379
|
<div class="variablelist"><table border="0">
|
2418
2380
|
<col align="left" valign="top">
|
@@ -2424,9 +2386,10 @@ Queries the list of shortcut folders in the file chooser, as set by
|
|
2424
2386
|
</tr>
|
2425
2387
|
<tr>
|
2426
2388
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2427
|
-
<td>
|
2428
|
-
|
2429
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-
|
2389
|
+
<td>A list of
|
2390
|
+
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
|
2391
|
+
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
|
2392
|
+
<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>
|
2430
2393
|
</td>
|
2431
2394
|
</tr>
|
2432
2395
|
</tbody>
|
@@ -2434,7 +2397,7 @@ folders. Free the returned list with <a href="http://library.gnome.org/devel/gl
|
|
2434
2397
|
<p class="since">Since 2.4</p>
|
2435
2398
|
</div>
|
2436
2399
|
<hr>
|
2437
|
-
<div class="refsect2"
|
2400
|
+
<div class="refsect2">
|
2438
2401
|
<a name="gtk-file-chooser-add-shortcut-folder-uri"></a><h3>gtk_file_chooser_add_shortcut_folder_uri ()</h3>
|
2439
2402
|
<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
|
2440
2403
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
@@ -2456,27 +2419,25 @@ by the application. For example, you can use this to add a
|
|
2456
2419
|
</tr>
|
2457
2420
|
<tr>
|
2458
2421
|
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
2459
|
-
<td>URI of the folder to add
|
2460
|
-
</td>
|
2422
|
+
<td>URI of the folder to add</td>
|
2461
2423
|
</tr>
|
2462
2424
|
<tr>
|
2463
2425
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2464
|
-
<td>
|
2426
|
+
<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>
|
2465
2427
|
</td>
|
2466
2428
|
</tr>
|
2467
2429
|
<tr>
|
2468
2430
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2469
|
-
<td>
|
2470
|
-
|
2471
|
-
|
2472
|
-
</td>
|
2431
|
+
<td>
|
2432
|
+
<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>
|
2433
|
+
otherwise. In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.</td>
|
2473
2434
|
</tr>
|
2474
2435
|
</tbody>
|
2475
2436
|
</table></div>
|
2476
2437
|
<p class="since">Since 2.4</p>
|
2477
2438
|
</div>
|
2478
2439
|
<hr>
|
2479
|
-
<div class="refsect2"
|
2440
|
+
<div class="refsect2">
|
2480
2441
|
<a name="gtk-file-chooser-remove-shortcut-folder-uri"></a><h3>gtk_file_chooser_remove_shortcut_folder_uri ()</h3>
|
2481
2442
|
<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
|
2482
2443
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
@@ -2495,21 +2456,19 @@ Removes a folder URI from a file chooser's list of shortcut folders.
|
|
2495
2456
|
</tr>
|
2496
2457
|
<tr>
|
2497
2458
|
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
|
2498
|
-
<td>URI of the folder to remove
|
2499
|
-
</td>
|
2459
|
+
<td>URI of the folder to remove</td>
|
2500
2460
|
</tr>
|
2501
2461
|
<tr>
|
2502
2462
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2503
|
-
<td>
|
2463
|
+
<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>
|
2504
2464
|
</td>
|
2505
2465
|
</tr>
|
2506
2466
|
<tr>
|
2507
2467
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2508
|
-
<td>
|
2468
|
+
<td>
|
2469
|
+
<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.
|
2509
2470
|
In the latter case, the <em class="parameter"><code>error</code></em> will be set as appropriate.
|
2510
|
-
|
2511
2471
|
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>
|
2512
|
-
|
2513
2472
|
</td>
|
2514
2473
|
</tr>
|
2515
2474
|
</tbody>
|
@@ -2517,7 +2476,7 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-add-shortcu
|
|
2517
2476
|
<p class="since">Since 2.4</p>
|
2518
2477
|
</div>
|
2519
2478
|
<hr>
|
2520
|
-
<div class="refsect2"
|
2479
|
+
<div class="refsect2">
|
2521
2480
|
<a name="gtk-file-chooser-list-shortcut-folder-uris"></a><h3>gtk_file_chooser_list_shortcut_folder_uris ()</h3>
|
2522
2481
|
<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
|
2523
2482
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
@@ -2535,9 +2494,9 @@ Queries the list of shortcut folders in the file chooser, as set by
|
|
2535
2494
|
</tr>
|
2536
2495
|
<tr>
|
2537
2496
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2538
|
-
<td>
|
2539
|
-
|
2540
|
-
<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>
|
2497
|
+
<td>A list of folder
|
2498
|
+
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
|
2499
|
+
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>
|
2541
2500
|
</td>
|
2542
2501
|
</tr>
|
2543
2502
|
</tbody>
|
@@ -2545,7 +2504,7 @@ folders. Free the returned list with <a href="http://library.gnome.org/devel/gl
|
|
2545
2504
|
<p class="since">Since 2.4</p>
|
2546
2505
|
</div>
|
2547
2506
|
<hr>
|
2548
|
-
<div class="refsect2"
|
2507
|
+
<div class="refsect2">
|
2549
2508
|
<a name="gtk-file-chooser-get-current-folder-file"></a><h3>gtk_file_chooser_get_current_folder_file ()</h3>
|
2550
2509
|
<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
|
2551
2510
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>);</pre>
|
@@ -2563,8 +2522,7 @@ See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folde
|
|
2563
2522
|
</tr>
|
2564
2523
|
<tr>
|
2565
2524
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2566
|
-
<td>
|
2567
|
-
|
2525
|
+
<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>
|
2568
2526
|
</td>
|
2569
2527
|
</tr>
|
2570
2528
|
</tbody>
|
@@ -2572,7 +2530,7 @@ See <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folde
|
|
2572
2530
|
<p class="since">Since 2.14</p>
|
2573
2531
|
</div>
|
2574
2532
|
<hr>
|
2575
|
-
<div class="refsect2"
|
2533
|
+
<div class="refsect2">
|
2576
2534
|
<a name="gtk-file-chooser-get-file"></a><h3>gtk_file_chooser_get_file ()</h3>
|
2577
2535
|
<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>
|
2578
2536
|
<p>
|
@@ -2594,9 +2552,8 @@ folder.
|
|
2594
2552
|
</tr>
|
2595
2553
|
<tr>
|
2596
2554
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2597
|
-
<td>
|
2598
|
-
|
2599
|
-
|
2555
|
+
<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;
|
2556
|
+
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>
|
2600
2557
|
</td>
|
2601
2558
|
</tr>
|
2602
2559
|
</tbody>
|
@@ -2604,7 +2561,7 @@ folder.
|
|
2604
2561
|
<p class="since">Since 2.14</p>
|
2605
2562
|
</div>
|
2606
2563
|
<hr>
|
2607
|
-
<div class="refsect2"
|
2564
|
+
<div class="refsect2">
|
2608
2565
|
<a name="gtk-file-chooser-get-files"></a><h3>gtk_file_chooser_get_files ()</h3>
|
2609
2566
|
<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>
|
2610
2567
|
<p>
|
@@ -2621,9 +2578,10 @@ as <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class=
|
|
2621
2578
|
</tr>
|
2622
2579
|
<tr>
|
2623
2580
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2624
|
-
<td>
|
2625
|
-
|
2626
|
-
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
|
2581
|
+
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>
|
2582
|
+
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
|
2583
|
+
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
|
2584
|
+
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>
|
2627
2585
|
</td>
|
2628
2586
|
</tr>
|
2629
2587
|
</tbody>
|
@@ -2631,7 +2589,7 @@ as <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class=
|
|
2631
2589
|
<p class="since">Since 2.14</p>
|
2632
2590
|
</div>
|
2633
2591
|
<hr>
|
2634
|
-
<div class="refsect2"
|
2592
|
+
<div class="refsect2">
|
2635
2593
|
<a name="gtk-file-chooser-get-preview-file"></a><h3>gtk_file_chooser_get_preview_file ()</h3>
|
2636
2594
|
<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>
|
2637
2595
|
<p>
|
@@ -2648,9 +2606,8 @@ Internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-choose
|
|
2648
2606
|
</tr>
|
2649
2607
|
<tr>
|
2650
2608
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2651
|
-
<td>
|
2652
|
-
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>.
|
2653
|
-
|
2609
|
+
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the file to preview,
|
2610
|
+
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>
|
2654
2611
|
</td>
|
2655
2612
|
</tr>
|
2656
2613
|
</tbody>
|
@@ -2658,7 +2615,7 @@ Internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-choose
|
|
2658
2615
|
<p class="since">Since 2.14</p>
|
2659
2616
|
</div>
|
2660
2617
|
<hr>
|
2661
|
-
<div class="refsect2"
|
2618
|
+
<div class="refsect2">
|
2662
2619
|
<a name="gtk-file-chooser-select-file"></a><h3>gtk_file_chooser_select_file ()</h3>
|
2663
2620
|
<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>,
|
2664
2621
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
@@ -2677,27 +2634,25 @@ Selects the file referred to by <em class="parameter"><code>file</code></em>. An
|
|
2677
2634
|
</tr>
|
2678
2635
|
<tr>
|
2679
2636
|
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2680
|
-
<td>the file to select
|
2681
|
-
</td>
|
2637
|
+
<td>the file to select</td>
|
2682
2638
|
</tr>
|
2683
2639
|
<tr>
|
2684
2640
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2685
|
-
<td>
|
2641
|
+
<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>
|
2686
2642
|
</td>
|
2687
2643
|
</tr>
|
2688
2644
|
<tr>
|
2689
2645
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2690
|
-
<td>
|
2691
|
-
|
2692
|
-
|
2693
|
-
</td>
|
2646
|
+
<td>
|
2647
|
+
<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
|
2648
|
+
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>
|
2694
2649
|
</tr>
|
2695
2650
|
</tbody>
|
2696
2651
|
</table></div>
|
2697
2652
|
<p class="since">Since 2.14</p>
|
2698
2653
|
</div>
|
2699
2654
|
<hr>
|
2700
|
-
<div class="refsect2"
|
2655
|
+
<div class="refsect2">
|
2701
2656
|
<a name="gtk-file-chooser-set-current-folder-file"></a><h3>gtk_file_chooser_set_current_folder_file ()</h3>
|
2702
2657
|
<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
|
2703
2658
|
(<em class="parameter"><code><a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a> *chooser</code></em>,
|
@@ -2717,27 +2672,25 @@ Internal function, see <a class="link" href="GtkFileChooser.html#gtk-file-choose
|
|
2717
2672
|
</tr>
|
2718
2673
|
<tr>
|
2719
2674
|
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2720
|
-
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the new folder
|
2721
|
-
</td>
|
2675
|
+
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> for the new folder</td>
|
2722
2676
|
</tr>
|
2723
2677
|
<tr>
|
2724
2678
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2725
|
-
<td>
|
2679
|
+
<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>
|
2726
2680
|
</td>
|
2727
2681
|
</tr>
|
2728
2682
|
<tr>
|
2729
2683
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2730
|
-
<td>
|
2731
|
-
|
2732
|
-
|
2733
|
-
</td>
|
2684
|
+
<td>
|
2685
|
+
<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>
|
2686
|
+
otherwise.</td>
|
2734
2687
|
</tr>
|
2735
2688
|
</tbody>
|
2736
2689
|
</table></div>
|
2737
2690
|
<p class="since">Since 2.14</p>
|
2738
2691
|
</div>
|
2739
2692
|
<hr>
|
2740
|
-
<div class="refsect2"
|
2693
|
+
<div class="refsect2">
|
2741
2694
|
<a name="gtk-file-chooser-set-file"></a><h3>gtk_file_chooser_set_file ()</h3>
|
2742
2695
|
<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>,
|
2743
2696
|
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
|
@@ -2752,7 +2705,7 @@ will also appear in the dialog's file name entry.
|
|
2752
2705
|
If the file name isn't in the current folder of <em class="parameter"><code>chooser</code></em>, then the current
|
2753
2706
|
folder of <em class="parameter"><code>chooser</code></em> will be changed to the folder containing <em class="parameter"><code>filename</code></em>. This
|
2754
2707
|
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
|
2755
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename
|
2708
|
+
<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>.
|
2756
2709
|
</p>
|
2757
2710
|
<p>
|
2758
2711
|
Note that the file must exist, or nothing will be done except
|
@@ -2810,27 +2763,25 @@ Instead, use something similar to this:
|
|
2810
2763
|
</tr>
|
2811
2764
|
<tr>
|
2812
2765
|
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
2813
|
-
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> to set as current
|
2814
|
-
</td>
|
2766
|
+
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> to set as current</td>
|
2815
2767
|
</tr>
|
2816
2768
|
<tr>
|
2817
2769
|
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
|
2818
|
-
<td>
|
2770
|
+
<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>
|
2819
2771
|
</td>
|
2820
2772
|
</tr>
|
2821
2773
|
<tr>
|
2822
2774
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2823
|
-
<td>
|
2824
|
-
|
2825
|
-
|
2826
|
-
</td>
|
2775
|
+
<td>
|
2776
|
+
<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
|
2777
|
+
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>
|
2827
2778
|
</tr>
|
2828
2779
|
</tbody>
|
2829
2780
|
</table></div>
|
2830
2781
|
<p class="since">Since 2.14</p>
|
2831
2782
|
</div>
|
2832
2783
|
<hr>
|
2833
|
-
<div class="refsect2"
|
2784
|
+
<div class="refsect2">
|
2834
2785
|
<a name="gtk-file-chooser-unselect-file"></a><h3>gtk_file_chooser_unselect_file ()</h3>
|
2835
2786
|
<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>,
|
2836
2787
|
<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>
|
@@ -2856,16 +2807,16 @@ directory, does not exist, or is otherwise not currently selected, does nothing.
|
|
2856
2807
|
<p class="since">Since 2.14</p>
|
2857
2808
|
</div>
|
2858
2809
|
</div>
|
2859
|
-
<div class="refsect1"
|
2810
|
+
<div class="refsect1">
|
2860
2811
|
<a name="GtkFileChooser.property-details"></a><h2>Property Details</h2>
|
2861
|
-
<div class="refsect2"
|
2812
|
+
<div class="refsect2">
|
2862
2813
|
<a name="GtkFileChooser--action"></a><h3>The <code class="literal">"action"</code> property</h3>
|
2863
2814
|
<pre class="programlisting"> "action" <a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> : Read / Write</pre>
|
2864
2815
|
<p>The type of operation that the file selector is performing.</p>
|
2865
2816
|
<p>Default value: GTK_FILE_CHOOSER_ACTION_OPEN</p>
|
2866
2817
|
</div>
|
2867
2818
|
<hr>
|
2868
|
-
<div class="refsect2"
|
2819
|
+
<div class="refsect2">
|
2869
2820
|
<a name="GtkFileChooser--create-folders"></a><h3>The <code class="literal">"create-folders"</code> property</h3>
|
2870
2821
|
<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>
|
2871
2822
|
<p>
|
@@ -2876,7 +2827,7 @@ will offer the user to create new folders.
|
|
2876
2827
|
<p class="since">Since 2.18</p>
|
2877
2828
|
</div>
|
2878
2829
|
<hr>
|
2879
|
-
<div class="refsect2"
|
2830
|
+
<div class="refsect2">
|
2880
2831
|
<a name="GtkFileChooser--do-overwrite-confirmation"></a><h3>The <code class="literal">"do-overwrite-confirmation"</code> property</h3>
|
2881
2832
|
<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>
|
2882
2833
|
<p>
|
@@ -2888,72 +2839,72 @@ selects a file name that already exists.
|
|
2888
2839
|
<p class="since">Since 2.8</p>
|
2889
2840
|
</div>
|
2890
2841
|
<hr>
|
2891
|
-
<div class="refsect2"
|
2842
|
+
<div class="refsect2">
|
2892
2843
|
<a name="GtkFileChooser--extra-widget"></a><h3>The <code class="literal">"extra-widget"</code> property</h3>
|
2893
2844
|
<pre class="programlisting"> "extra-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
|
2894
2845
|
<p>Application supplied widget for extra options.</p>
|
2895
2846
|
</div>
|
2896
2847
|
<hr>
|
2897
|
-
<div class="refsect2"
|
2848
|
+
<div class="refsect2">
|
2898
2849
|
<a name="GtkFileChooser--file-system-backend"></a><h3>The <code class="literal">"file-system-backend"</code> property</h3>
|
2899
2850
|
<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>
|
2900
2851
|
<p>Name of file system backend to use.</p>
|
2901
2852
|
<p>Default value: NULL</p>
|
2902
2853
|
</div>
|
2903
2854
|
<hr>
|
2904
|
-
<div class="refsect2"
|
2855
|
+
<div class="refsect2">
|
2905
2856
|
<a name="GtkFileChooser--filter"></a><h3>The <code class="literal">"filter"</code> property</h3>
|
2906
2857
|
<pre class="programlisting"> "filter" <a class="link" href="gtk-gtkfilefilter.html#GtkFileFilter"><span class="type">GtkFileFilter</span></a>* : Read / Write</pre>
|
2907
2858
|
<p>The current filter for selecting which files are displayed.</p>
|
2908
2859
|
</div>
|
2909
2860
|
<hr>
|
2910
|
-
<div class="refsect2"
|
2861
|
+
<div class="refsect2">
|
2911
2862
|
<a name="GtkFileChooser--local-only"></a><h3>The <code class="literal">"local-only"</code> property</h3>
|
2912
2863
|
<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>
|
2913
2864
|
<p>Whether the selected file(s) should be limited to local file: URLs.</p>
|
2914
2865
|
<p>Default value: TRUE</p>
|
2915
2866
|
</div>
|
2916
2867
|
<hr>
|
2917
|
-
<div class="refsect2"
|
2868
|
+
<div class="refsect2">
|
2918
2869
|
<a name="GtkFileChooser--preview-widget"></a><h3>The <code class="literal">"preview-widget"</code> property</h3>
|
2919
2870
|
<pre class="programlisting"> "preview-widget" <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>* : Read / Write</pre>
|
2920
2871
|
<p>Application supplied widget for custom previews.</p>
|
2921
2872
|
</div>
|
2922
2873
|
<hr>
|
2923
|
-
<div class="refsect2"
|
2874
|
+
<div class="refsect2">
|
2924
2875
|
<a name="GtkFileChooser--preview-widget-active"></a><h3>The <code class="literal">"preview-widget-active"</code> property</h3>
|
2925
2876
|
<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>
|
2926
2877
|
<p>Whether the application supplied widget for custom previews should be shown.</p>
|
2927
2878
|
<p>Default value: TRUE</p>
|
2928
2879
|
</div>
|
2929
2880
|
<hr>
|
2930
|
-
<div class="refsect2"
|
2881
|
+
<div class="refsect2">
|
2931
2882
|
<a name="GtkFileChooser--select-multiple"></a><h3>The <code class="literal">"select-multiple"</code> property</h3>
|
2932
2883
|
<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>
|
2933
2884
|
<p>Whether to allow multiple files to be selected.</p>
|
2934
2885
|
<p>Default value: FALSE</p>
|
2935
2886
|
</div>
|
2936
2887
|
<hr>
|
2937
|
-
<div class="refsect2"
|
2888
|
+
<div class="refsect2">
|
2938
2889
|
<a name="GtkFileChooser--show-hidden"></a><h3>The <code class="literal">"show-hidden"</code> property</h3>
|
2939
2890
|
<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>
|
2940
2891
|
<p>Whether the hidden files and folders should be displayed.</p>
|
2941
2892
|
<p>Default value: FALSE</p>
|
2942
2893
|
</div>
|
2943
2894
|
<hr>
|
2944
|
-
<div class="refsect2"
|
2895
|
+
<div class="refsect2">
|
2945
2896
|
<a name="GtkFileChooser--use-preview-label"></a><h3>The <code class="literal">"use-preview-label"</code> property</h3>
|
2946
2897
|
<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>
|
2947
2898
|
<p>Whether to display a stock label with the name of the previewed file.</p>
|
2948
2899
|
<p>Default value: TRUE</p>
|
2949
2900
|
</div>
|
2950
2901
|
</div>
|
2951
|
-
<div class="refsect1"
|
2902
|
+
<div class="refsect1">
|
2952
2903
|
<a name="GtkFileChooser.signal-details"></a><h2>Signal Details</h2>
|
2953
|
-
<div class="refsect2"
|
2904
|
+
<div class="refsect2">
|
2954
2905
|
<a name="GtkFileChooser-confirm-overwrite"></a><h3>The <code class="literal">"confirm-overwrite"</code> signal</h3>
|
2955
2906
|
<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,
|
2956
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
2907
|
+
<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>
|
2957
2908
|
<p>
|
2958
2909
|
This signal gets emitted whenever it is appropriate to present a
|
2959
2910
|
confirmation dialog when the user has selected a file name that
|
@@ -2983,7 +2934,7 @@ dialog should be used, it should return
|
|
2983
2934
|
illustrates this.
|
2984
2935
|
</p>
|
2985
2936
|
<div class="example">
|
2986
|
-
<a name="gtkfilechooser-confirmation"></a><p class="title"><b>Example
|
2937
|
+
<a name="gtkfilechooser-confirmation"></a><p class="title"><b>Example 43. Custom confirmation</b></p>
|
2987
2938
|
<div class="example-contents">
|
2988
2939
|
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
2989
2940
|
<tbody>
|
@@ -3057,8 +3008,7 @@ illustrates this.
|
|
3057
3008
|
<tbody>
|
3058
3009
|
<tr>
|
3059
3010
|
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3060
|
-
<td>the object which received the signal
|
3061
|
-
</td>
|
3011
|
+
<td>the object which received the signal.</td>
|
3062
3012
|
</tr>
|
3063
3013
|
<tr>
|
3064
3014
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -3066,20 +3016,18 @@ illustrates this.
|
|
3066
3016
|
</tr>
|
3067
3017
|
<tr>
|
3068
3018
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
3069
|
-
<td>
|
3070
|
-
|
3071
|
-
|
3072
|
-
</td>
|
3019
|
+
<td>a <a class="link" href="GtkFileChooser.html#GtkFileChooserConfirmation" title="enum GtkFileChooserConfirmation"><span class="type">GtkFileChooserConfirmation</span></a> value that indicates which
|
3020
|
+
action to take after emitting the signal.</td>
|
3073
3021
|
</tr>
|
3074
3022
|
</tbody>
|
3075
3023
|
</table></div>
|
3076
3024
|
<p class="since">Since 2.8</p>
|
3077
3025
|
</div>
|
3078
3026
|
<hr>
|
3079
|
-
<div class="refsect2"
|
3027
|
+
<div class="refsect2">
|
3080
3028
|
<a name="GtkFileChooser-current-folder-changed"></a><h3>The <code class="literal">"current-folder-changed"</code> signal</h3>
|
3081
3029
|
<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,
|
3082
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
3030
|
+
<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>
|
3083
3031
|
<p>
|
3084
3032
|
This signal is emitted when the current folder in a <a class="link" href="GtkFileChooser.html" title="GtkFileChooser"><span class="type">GtkFileChooser</span></a>
|
3085
3033
|
changes. This can happen due to the user performing some action that
|
@@ -3092,8 +3040,8 @@ Normally you do not need to connect to this signal, unless you need to keep
|
|
3092
3040
|
track of which folder a file chooser is showing.
|
3093
3041
|
</p>
|
3094
3042
|
<p>
|
3095
|
-
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-current-folder" title="gtk_file_chooser_set_current_folder
|
3096
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-current-folder" title="gtk_file_chooser_get_current_folder
|
3043
|
+
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>,
|
3044
|
+
<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>,
|
3097
3045
|
<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>,
|
3098
3046
|
<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>.
|
3099
3047
|
</p>
|
@@ -3102,8 +3050,7 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-curren
|
|
3102
3050
|
<tbody>
|
3103
3051
|
<tr>
|
3104
3052
|
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3105
|
-
<td>the object which received the signal
|
3106
|
-
</td>
|
3053
|
+
<td>the object which received the signal.</td>
|
3107
3054
|
</tr>
|
3108
3055
|
<tr>
|
3109
3056
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -3113,10 +3060,10 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-curren
|
|
3113
3060
|
</table></div>
|
3114
3061
|
</div>
|
3115
3062
|
<hr>
|
3116
|
-
<div class="refsect2"
|
3063
|
+
<div class="refsect2">
|
3117
3064
|
<a name="GtkFileChooser-file-activated"></a><h3>The <code class="literal">"file-activated"</code> signal</h3>
|
3118
3065
|
<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,
|
3119
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
3066
|
+
<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>
|
3120
3067
|
<p>
|
3121
3068
|
This signal is emitted when the user "activates" a file in the file
|
3122
3069
|
chooser. This can happen by double-clicking on a file in the file list, or
|
@@ -3128,8 +3075,8 @@ by <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"
|
|
3128
3075
|
dialog.
|
3129
3076
|
</p>
|
3130
3077
|
<p>
|
3131
|
-
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filename" title="gtk_file_chooser_get_filename
|
3132
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames
|
3078
|
+
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>,
|
3079
|
+
<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>,
|
3133
3080
|
<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>.
|
3134
3081
|
</p>
|
3135
3082
|
<div class="variablelist"><table border="0">
|
@@ -3137,8 +3084,7 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenam
|
|
3137
3084
|
<tbody>
|
3138
3085
|
<tr>
|
3139
3086
|
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3140
|
-
<td>the object which received the signal
|
3141
|
-
</td>
|
3087
|
+
<td>the object which received the signal.</td>
|
3142
3088
|
</tr>
|
3143
3089
|
<tr>
|
3144
3090
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -3148,10 +3094,10 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenam
|
|
3148
3094
|
</table></div>
|
3149
3095
|
</div>
|
3150
3096
|
<hr>
|
3151
|
-
<div class="refsect2"
|
3097
|
+
<div class="refsect2">
|
3152
3098
|
<a name="GtkFileChooser-selection-changed"></a><h3>The <code class="literal">"selection-changed"</code> signal</h3>
|
3153
3099
|
<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,
|
3154
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
3100
|
+
<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>
|
3155
3101
|
<p>
|
3156
3102
|
This signal is emitted when there is a change in the set of selected files
|
3157
3103
|
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
|
@@ -3164,9 +3110,9 @@ for the file chooser to finish running, and then to get the list of
|
|
3164
3110
|
selected files using the functions mentioned below.
|
3165
3111
|
</p>
|
3166
3112
|
<p>
|
3167
|
-
See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-filename" title="gtk_file_chooser_select_filename
|
3168
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-unselect-filename" title="gtk_file_chooser_unselect_filename
|
3169
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-filenames" title="gtk_file_chooser_get_filenames
|
3113
|
+
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>,
|
3114
|
+
<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>,
|
3115
|
+
<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>,
|
3170
3116
|
<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>,
|
3171
3117
|
<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>.
|
3172
3118
|
</p>
|
@@ -3175,8 +3121,7 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-file
|
|
3175
3121
|
<tbody>
|
3176
3122
|
<tr>
|
3177
3123
|
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3178
|
-
<td>the object which received the signal
|
3179
|
-
</td>
|
3124
|
+
<td>the object which received the signal.</td>
|
3180
3125
|
</tr>
|
3181
3126
|
<tr>
|
3182
3127
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -3186,10 +3131,10 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-select-file
|
|
3186
3131
|
</table></div>
|
3187
3132
|
</div>
|
3188
3133
|
<hr>
|
3189
|
-
<div class="refsect2"
|
3134
|
+
<div class="refsect2">
|
3190
3135
|
<a name="GtkFileChooser-update-preview"></a><h3>The <code class="literal">"update-preview"</code> signal</h3>
|
3191
3136
|
<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,
|
3192
|
-
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
|
3137
|
+
<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>
|
3193
3138
|
<p>
|
3194
3139
|
This signal is emitted when the preview in a file chooser should be
|
3195
3140
|
regenerated. For example, this can happen when the currently selected file
|
@@ -3200,7 +3145,7 @@ a preview widget.
|
|
3200
3145
|
Once you have installed a preview widget with
|
3201
3146
|
<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
|
3202
3147
|
signal is emitted. You can use the functions
|
3203
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename
|
3148
|
+
<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
|
3204
3149
|
<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.
|
3205
3150
|
Your widget may not be able to preview all kinds of files; your callback
|
3206
3151
|
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
|
@@ -3213,7 +3158,7 @@ Please see the example code in <a class="xref" href="GtkFileChooser.html#gtkfile
|
|
3213
3158
|
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>,
|
3214
3159
|
<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>,
|
3215
3160
|
<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>,
|
3216
|
-
<a class="link" href="GtkFileChooser.html#gtk-file-chooser-get-preview-filename" title="gtk_file_chooser_get_preview_filename
|
3161
|
+
<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>,
|
3217
3162
|
<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>.
|
3218
3163
|
</p>
|
3219
3164
|
<div class="variablelist"><table border="0">
|
@@ -3221,8 +3166,7 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview
|
|
3221
3166
|
<tbody>
|
3222
3167
|
<tr>
|
3223
3168
|
<td><p><span class="term"><em class="parameter"><code>chooser</code></em> :</span></p></td>
|
3224
|
-
<td>the object which received the signal
|
3225
|
-
</td>
|
3169
|
+
<td>the object which received the signal.</td>
|
3226
3170
|
</tr>
|
3227
3171
|
<tr>
|
3228
3172
|
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
|
@@ -3232,13 +3176,13 @@ See also: <a class="link" href="GtkFileChooser.html#gtk-file-chooser-set-preview
|
|
3232
3176
|
</table></div>
|
3233
3177
|
</div>
|
3234
3178
|
</div>
|
3235
|
-
<div class="refsect1"
|
3179
|
+
<div class="refsect1">
|
3236
3180
|
<a name="GtkFileChooser.see-also"></a><h2>See Also</h2>
|
3237
3181
|
<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>
|
3238
3182
|
</div>
|
3239
3183
|
</div>
|
3240
3184
|
<div class="footer">
|
3241
3185
|
<hr>
|
3242
|
-
Generated by GTK-Doc V1.
|
3186
|
+
Generated by GTK-Doc V1.17</div>
|
3243
3187
|
</body>
|
3244
3188
|
</html>
|