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 static-nick / static-blurb)
70 The currently selected filename
71
72 'select-multiple' (boolean : default false : readable / writable /
73 private / static-nick / static-blurb)
74 Whether to allow multiple files to be selected
75
76 'show-fileops' (boolean : default true : readable / writable / private
77 / static-nick / static-blurb)
78 Whether buttons for creating/manipulating files should be displayed
79
81 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
82 Gtk2::Container, Gtk2::Bin, Gtk2::Window, Gtk2::Dialog
83
85 Copyright (C) 2003-2011 by the gtk2-perl team.
86
87 This software is licensed under the LGPL. See Gtk2 for a full notice.
88
89
90
91perl v5.36.0 2023-01-20 Gtk2::FileSelection(3)