Gtk2::FileSelection3pm
Wrapper for gtkfileselection
Hierarchy
Glib::Object+----Glib::InitiallyUnowned+----Gtk2::Object+----Gtk2::Widget+----Gtk2::Container+----Gtk2::Bin+----Gtk2::Window+----Gtk2::Dialog+----Gtk2::FileSelection
Interfaces
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::Buildable
Deprecation warning
Gtk2::FileSelection has been marked as deprecated, and should not be used in newly written code.
You should use Gtk2::FileChooserDialog instead of Gtk2::FileSelection.
Methods
widget = Gtk2::FileSelection->new ($title)
- •
-
$title(string)
widget = $fs->action_area
widget = $fs->button_area
widget = $fs->cancel_button
$filesel->complete ($pattern)
- •
-
$pattern(string)
widget = $fs->dir_list
widget = $fs->file_list
localized file name = $filesel->get_filename
$filesel->set_filename ($filename)
- •
-
$filename(localized file name)
widget = $fs->fileop_c_dir
widget = $fs->fileop_del_file
widget = $fs->fileop_dialog
widget = $fs->fileop_entry
string = $fs->fileop_file
widget = $fs->fileop_ren_file
widget = $fs->help_button
$filesel->hide_fileop_buttons
widget = $fs->history_menu
widget = $fs->history_pulldown
widget = $fs->main_vbox
widget = $fs->ok_button
boolean = $filesel->get_select_multiple
$filesel->set_select_multiple ($select_multiple)
- •
-
$select_multiple(boolean)
widget = $fs->selection_entry
widget = $fs->selection_text
list = $filesel->get_selections
Returns the list of file name(s) selected.
$filesel->show_fileop_buttons
Properties
'filename' (string : default undef : readable / writable / private)
|
The currently selected filename |
|---|---|
'select-multiple' (boolean : default false : readable / writable / private)
|
Whether to allow multiple files to be selected |
'show-fileops' (boolean : default true : readable / writable / private)
|
Whether buttons for creating/manipulating files should be displayed |
Releases
7 releases since Debian 3.1 (Sarge); the text changed 6 times.