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

NAME

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

SIGNALS

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

ENUMS AND FLAGS

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

SEE ALSO

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