Gtk2::FileChooserButton(3pm)

Gtk2::FileChooserButton3pm

Wrapper for gtkfilechooserbutton

Hierarchy

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Box
                           +----Gtk2::HBox
                                +----Gtk2::FileChooserButton

Interfaces

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::Orientable
  Gtk2::FileChooser

Methods

widget = Gtk2::FileChooserButton->new ($title, $action)

•

$title (string)

•

$action (Gtk2::FileChooserAction)

widget = Gtk2::FileChooserButton->new_with_backend ($title, $action, $backend)

•

$title (string)

•

$action (Gtk2::FileChooserAction)

•

$backend (string)

widget = Gtk2::FileChooserButton->new_with_dialog ($dialog)

•

$dialog (Gtk2::Widget)

boolean = $button->get_focus_on_click

Since: gtk+ 2.10

$button->set_focus_on_click ($focus_on_click)

•

$focus_on_click (boolean)

Since: gtk+ 2.10

string = $button->get_title

$button->set_title ($title)

•

$title (string)

integer = $button->get_width_chars

$button->set_width_chars ($n_chars)

•

$n_chars (integer)

Properties

'dialog' (Gtk2::FileChooser : default undef : writable / construct-only / private)

The file chooser dialog to use.

'focus-on-click' (boolean : default true : readable / writable / private)

Whether the button grabs focus when it is clicked with the mouse

'title' (string : default "Select a File" : readable / writable / private)

The title of the file chooser dialog.

'width-chars' (integer : default -1 : readable / writable / private)

The desired width of the button widget, in characters.

Signals

file-set (Gtk2::FileChooserButton)

Enums and flags

enum Gtk2::FileChooserAction

•

'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'

•

'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'

•

'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'

•

'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 9
  7. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.