.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::FileChooserButton 3" .TH Gtk2::FileChooserButton 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::FileChooserButton \- wrapper for GtkFileChooserButton .SH HIERARCHY .IX Header "HIERARCHY" .Vb 8 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Box \& +\-\-\-\-Gtk2::HBox \& +\-\-\-\-Gtk2::FileChooserButton .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 4 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable \& Gtk2::Orientable \& Gtk2::FileChooser .Ve .SH METHODS .IX Header "METHODS" .ie n .SS "widget = Gtk2::FileChooserButton\->\fBnew\fP ($title, $action)" .el .SS "widget = Gtk2::FileChooserButton\->\fBnew\fP ($title, \f(CW$action\fP)" .IX Subsection "widget = Gtk2::FileChooserButton->new ($title, $action)" .IP \(bu 4 \&\f(CW$title\fR (string) .IP \(bu 4 \&\f(CW$action\fR (Gtk2::FileChooserAction) .ie n .SS "widget = Gtk2::FileChooserButton\->\fBnew_with_backend\fP ($title, $action, $backend)" .el .SS "widget = Gtk2::FileChooserButton\->\fBnew_with_backend\fP ($title, \f(CW$action\fP, \f(CW$backend\fP)" .IX Subsection "widget = Gtk2::FileChooserButton->new_with_backend ($title, $action, $backend)" .IP \(bu 4 \&\f(CW$title\fR (string) .IP \(bu 4 \&\f(CW$action\fR (Gtk2::FileChooserAction) .IP \(bu 4 \&\f(CW$backend\fR (string) .SS "widget = Gtk2::FileChooserButton\->\fBnew_with_dialog\fP ($dialog)" .IX Subsection "widget = Gtk2::FileChooserButton->new_with_dialog ($dialog)" .IP \(bu 4 \&\f(CW$dialog\fR (Gtk2::Widget) .ie n .SS "boolean = $button\->\fBget_focus_on_click\fP" .el .SS "boolean = \f(CW$button\fP\->\fBget_focus_on_click\fP" .IX Subsection "boolean = $button->get_focus_on_click" Since: gtk+ 2.10 .ie n .SS "$button\->\fBset_focus_on_click\fP ($focus_on_click)" .el .SS "\f(CW$button\fP\->\fBset_focus_on_click\fP ($focus_on_click)" .IX Subsection "$button->set_focus_on_click ($focus_on_click)" .IP \(bu 4 \&\f(CW$focus_on_click\fR (boolean) .PP Since: gtk+ 2.10 .ie n .SS "string = $button\->\fBget_title\fP" .el .SS "string = \f(CW$button\fP\->\fBget_title\fP" .IX Subsection "string = $button->get_title" .ie n .SS "$button\->\fBset_title\fP ($title)" .el .SS "\f(CW$button\fP\->\fBset_title\fP ($title)" .IX Subsection "$button->set_title ($title)" .IP \(bu 4 \&\f(CW$title\fR (string) .ie n .SS "integer = $button\->\fBget_width_chars\fP" .el .SS "integer = \f(CW$button\fP\->\fBget_width_chars\fP" .IX Subsection "integer = $button->get_width_chars" .ie n .SS "$button\->\fBset_width_chars\fP ($n_chars)" .el .SS "\f(CW$button\fP\->\fBset_width_chars\fP ($n_chars)" .IX Subsection "$button->set_width_chars ($n_chars)" .IP \(bu 4 \&\f(CW$n_chars\fR (integer) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'dialog' (Gtk2::FileChooser : default undef : writable / construct-only / private / static-nick / static-blurb)" 4 .IX Item "'dialog' (Gtk2::FileChooser : default undef : writable / construct-only / private / static-nick / static-blurb)" The file chooser dialog to use. .IP "'focus\-on\-click' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'focus-on-click' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the button grabs focus when it is clicked with the mouse .IP "'title' (string : default ""Select a File"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'title' (string : default ""Select a File"" : readable / writable / private / static-nick / static-blurb)" The title of the file chooser dialog. .IP "'width\-chars' (integer : default \-1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'width-chars' (integer : default -1 : readable / writable / private / static-nick / static-blurb)" The desired width of the button widget, in characters. .SH SIGNALS .IX Header "SIGNALS" .IP "\fBfile-set\fR (Gtk2::FileChooserButton)" 4 .IX Item "file-set (Gtk2::FileChooserButton)" .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::FileChooserAction" .IX Subsection "enum Gtk2::FileChooserAction" .PD 0 .IP \(bu 4 .PD \&'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN' .IP \(bu 4 \&'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE' .IP \(bu 4 \&'select\-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER' .IP \(bu 4 \&'create\-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::HBox .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.