Gtk2::FileSelection(3) User Contributed Perl Documentation Gtk2::FileSelection(3)

Gtk2::FileSelection - wrapper for GtkFileSelection

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Bin
                         +----Gtk2::Window
                              +----Gtk2::Dialog
                                   +----Gtk2::FileSelection

Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable

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.

$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

$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

widget = $fs->fileop_ren_file

widget = $fs->help_button

widget = $fs->history_menu

widget = $fs->history_pulldown

widget = $fs->main_vbox

widget = $fs->ok_button

$filesel->set_select_multiple ($select_multiple)

$select_multiple (boolean)

widget = $fs->selection_entry

widget = $fs->selection_text

Returns the list of file name(s) selected.

'filename' (string : default undef : readable / writable / private / static-nick / static-blurb)
The currently selected filename
'select-multiple' (boolean : default false : readable / writable / private / static-nick / static-blurb)
Whether to allow multiple files to be selected
'show-fileops' (boolean : default true : readable / writable / private / static-nick / static-blurb)
Whether buttons for creating/manipulating files should be displayed

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog

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

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

2023-07-25 perl v5.38.0