Gtk2::FileSelection(3)

NAME
Gtk2::FileSelection - 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::AtkImplementorIface
  Gtk2::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

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

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

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