man Gtk2::FileChooser () - Gtk2::FileChooser

NAME

Gtk2::FileChooser

HIERARCHY

  Glib::Object::_Unregistered::GInterface
  +----Gtk2::FileChooser

METHODS

$chooser->set_action ($action)

$chooser->add_filter ($filter)

$chooser->add_shortcut_folder ($folder)

$chooser->add_shortcut_folder_uri ($folder)

$chooser->set_current_name ($name)

$chooser->set_do_overwrite_confirmation ($do_overwrite_confirmation)

$chooser->set_extra_widget ($extra_widget)

$chooser->set_filter ($filter)

$chooser->set_local_only ($files_only)

$chooser->set_preview_widget_active ($active)

$chooser->set_preview_widget ($preview_widget)

$chooser->remove_filter ($filter)

$chooser->remove_shortcut_folder ($folder)

$chooser->remove_shortcut_folder_uri ($folder)

$chooser->select_all

$chooser->set_select_multiple ($select_multiple)

$chooser->set_show_hidden ($show_hidden)

$chooser->unselect_all

$chooser->unselect_filename ($filename)

$chooser->unselect_uri ($uri)

$chooser->set_use_preview_label ($use_label)

PROPERTIES

'action' (Gtk2::FileChooserAction : readable / writable / private)
The type of operation that the file selector is performing
'do-overwrite-confirmation' (boolean : readable / writable / private)
Whether a file chooser in GTK_FILE_CHOOSER_ACTION_SAVE will present an overwrite confirmation dialog if the user selects a file name that already exists.
'extra-widget' (Gtk2::Widget : readable / writable / private)
Application supplied widget for extra options.
'file-system-backend' (string : writable / construct-only / private)
Name of file system backend to use
'filter' (Gtk2::FileFilter : readable / writable / private)
The current filter for selecting which files are displayed
'local-only' (boolean : readable / writable / private)
Whether the selected file(s) should be limited to local file: URLs
'preview-widget' (Gtk2::Widget : readable / writable / private)
Application supplied widget for custom previews.
'preview-widget-active' (boolean : readable / writable / private)
Whether the application supplied widget for custom previews should be shown.
'select-multiple' (boolean : readable / writable / private)
Whether to allow multiple files to be selected
'show-hidden' (boolean : readable / writable / private)
Whether the hidden files and folders should be displayed
'use-preview-label' (boolean : readable / writable / private)
Whether to display a stock label with the name of the previewed file.

SIGNALS

current-folder-changed (Gtk2::FileChooser)
selection-changed (Gtk2::FileChooser)
update-preview (Gtk2::FileChooser)
file-activated (Gtk2::FileChooser)
GtkFileChooserConfirmation = confirm-overwrite (Gtk2::FileChooser)

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'

enum Gtk2::FileChooserError

* 'nonexistent' / 'GTK_FILE_CHOOSER_ERROR_NONEXISTENT'
* 'bad-filename' / 'GTK_FILE_CHOOSER_ERROR_BAD_FILENAME'

enum GtkFileChooserConfirmation

* 'confirm' / 'GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM'
* 'accept-filename' / 'GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME'
* 'select-again' / 'GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN'

SEE ALSO

Gtk2, Glib::Object::_Unregistered::GInterface

COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.