1Gtk2::FileSelection(3)User Contributed Perl DocumentationGtk2::FileSelection(3)
2
3
4
6 Gtk2::FileSelection - wrapper for GtkFileSelection
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Window
16 +----Gtk2::Dialog
17 +----Gtk2::FileSelection
18
20 Glib::Object::_Unregistered::AtkImplementorIface
21 Gtk2::Buildable
22
24 Gtk2::FileSelection has been marked as deprecated, and should not be
25 used in newly written code.
26
27 You should use Gtk2::FileChooserDialog instead of Gtk2::FileSelection.
28
30 widget = Gtk2::FileSelection->new ($title)
31 · $title (string)
32
33 widget = $fs->action_area
34 widget = $fs->button_area
35 widget = $fs->cancel_button
36 $filesel->complete ($pattern)
37 · $pattern (string)
38
39 widget = $fs->dir_list
40 widget = $fs->file_list
41 localized file name = $filesel->get_filename
42 $filesel->set_filename ($filename)
43 · $filename (localized file name)
44
45 widget = $fs->fileop_c_dir
46 widget = $fs->fileop_del_file
47 widget = $fs->fileop_dialog
48 widget = $fs->fileop_entry
49 string = $fs->fileop_file
50 widget = $fs->fileop_ren_file
51 widget = $fs->help_button
52 $filesel->hide_fileop_buttons
53 widget = $fs->history_menu
54 widget = $fs->history_pulldown
55 widget = $fs->main_vbox
56 widget = $fs->ok_button
57 boolean = $filesel->get_select_multiple
58 $filesel->set_select_multiple ($select_multiple)
59 · $select_multiple (boolean)
60
61 widget = $fs->selection_entry
62 widget = $fs->selection_text
63 list = $filesel->get_selections
64 Returns the list of file name(s) selected.
65
66 $filesel->show_fileop_buttons
68 'filename' (string : default undef : readable / writable / private)
69 The currently selected filename
70
71 'select-multiple' (boolean : default false : readable / writable /
72 private)
73 Whether to allow multiple files to be selected
74
75 'show-fileops' (boolean : default true : readable / writable / private)
76 Whether buttons for creating/manipulating files should be displayed
77
79 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
80 Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog
81
83 Copyright (C) 2003-2011 by the gtk2-perl team.
84
85 This software is licensed under the LGPL. See Gtk2 for a full notice.
86
87
88
89perl v5.28.0 2018-07-18 Gtk2::FileSelection(3)