Gtk2::FileSelection

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::FileSelection  

HIERARCHY

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

 

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface

 

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 : readable / writable / private)
The currently selected filename
'select-multiple' (boolean : readable / writable / private)
Whether to allow multiple files to be selected
'show-fileops' (boolean : 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-2008 by the gtk2-perl team.

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


 

Index

NAME
HIERARCHY
INTERFACES
DEPRECATION WARNING
METHODS
widget = Gtk2::FileSelection->new ($title)
widget = $fs->action_area
widget = $fs->button_area
widget = $fs->cancel_button
$filesel->complete ($pattern)
widget = $fs->dir_list
widget = $fs->file_list
localized file name = $filesel->get_filename
$filesel->set_filename ($filename)
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)
widget = $fs->selection_entry
widget = $fs->selection_text
list = $filesel->get_selections
$filesel->show_fileop_buttons
PROPERTIES
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages