1Gnome2::FileEntry(3)  User Contributed Perl Documentation Gnome2::FileEntry(3)
2
3
4

NAME

6       Gnome2::FileEntry - wrapper for GnomeFileEntry
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Box
15                                  +----Gtk2::VBox
16                                       +----Gnome2::FileEntry
17

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21         Gtk2::Orientable
22         Gtk2::Editable
23

METHODS

25   widget = Gnome2::FileEntry->new ($history_id, $browse_dialog_title)
26       •   $history_id (string)
27
28       •   $browse_dialog_title (string)
29
30   $fentry->set_default_path ($path)
31       •   $path (string)
32
33   boolean = $fentry->get_directory_entry
34   $fentry->set_directory_entry ($directory_entry)
35       •   $directory_entry (boolean)
36
37   $fentry->set_filename ($filename)
38       •   $filename (string)
39
40   string = $fentry->get_full_path ($file_must_exist)
41       •   $file_must_exist (boolean)
42
43   widget = $fentry->gnome_entry
44   widget = $fentry->gtk_entry
45   boolean = $fentry->get_modal
46   $fentry->set_modal ($is_modal)
47       •   $is_modal (boolean)
48
49   $fentry->set_title ($browse_dialog_title)
50       •   $browse_dialog_title (string)
51

PROPERTIES

53       'browse-dialog-title' (string : default undef : readable / writable)
54           Title for the Browse file dialog.
55
56       'default-path' (string : default undef : readable / writable)
57           Default path for the Browse file window.
58
59       'directory-entry' (boolean : default false : readable / writable)
60           Whether the file entry is being used to enter directory names or
61           complete filenames.
62
63       'filechooser-action' (Gtk2::FileChooserAction : default "open" :
64       readable / writable)
65           The type of operation that the file selector is performing.
66
67       'filename' (string : default undef : readable / writable)
68           Filename that should be displayed in the file entry.
69
70       'gnome-entry' (Gnome2::Entry : default undef : readable)
71           GnomeEntry that the file entry uses for entering filenames.  You
72           can use this property to get the GnomeEntry if you need to modify
73           or query any of its parameters.
74
75       'gtk-entry' (Gtk2::Entry : default undef : readable)
76           GtkEntry that the file entry uses for entering filenames.  You can
77           use this property to get the GtkEntry if you need to modify or
78           query any of its parameters.
79
80       'history-id' (string : default undef : readable / writable)
81           Unique identifier for the file entry.  This will be used to save
82           the history list.
83
84       'modal' (boolean : default false : readable / writable)
85           Whether the Browse file window should be modal.
86
87       'use-filechooser' (boolean : default false : readable / writable)
88           Whether to use the new GtkFileChooser widget or the
89           GtkFileSelection widget to select files.
90

SIGNALS

92       activate (Gnome2::FileEntry)
93       browse-clicked (Gnome2::FileEntry)
94

ENUMS AND FLAGS

96   enum Gtk2::FileChooserAction
97       •   'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'
98
99       •   'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'
100
101       •   'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
102
103       •   'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'
104

SEE ALSO

106       Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object,
107       Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::VBox
108
110       Copyright (C) 2003-2004 by the gtk2-perl team.
111
112       This software is licensed under the LGPL.  See Gnome2 for a full
113       notice.
114
115
116
117perl v5.34.0                      2021-07-22              Gnome2::FileEntry(3)
Impressum