Gnome2::FileEntry
Section: User Contributed Perl Documentation (3pm)
Updated: 2009-03-15
Index
Return to Main Contents
NAME
Gnome2::FileEntry - wrapper for GnomeFileEntry
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Box
+----Gtk2::VBox
+----Gnome2::FileEntry
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Gtk2::Editable
METHODS
widget = Gnome2::FileEntry->new ($history_id, $browse_dialog_title)
- •
-
$history_id (string)
- •
-
$browse_dialog_title (string)
$fentry->set_default_path ($path)
- •
-
$path (string)
boolean = $fentry->get_directory_entry
$fentry->set_directory_entry ($directory_entry)
- •
-
$directory_entry (boolean)
$fentry->set_filename ($filename)
- •
-
$filename (string)
string = $fentry->get_full_path ($file_must_exist)
- •
-
$file_must_exist (boolean)
widget = $fentry->gnome_entry
widget = $fentry->gtk_entry
boolean = $fentry->get_modal
$fentry->set_modal ($is_modal)
- •
-
$is_modal (boolean)
$fentry->set_title ($browse_dialog_title)
- •
-
$browse_dialog_title (string)
PROPERTIES
- 'browse-dialog-title' (string : readable / writable)
-
Title for the Browse file dialog.
- 'default-path' (string : readable / writable)
-
Default path for the Browse file window.
- 'directory-entry' (boolean : readable / writable)
-
Whether the file entry is being used to enter directory names or complete filenames.
- 'filechooser-action' (Gtk2::FileChooserAction : readable / writable)
-
The type of operation that the file selector is performing.
- 'filename' (string : readable / writable)
-
Filename that should be displayed in the file entry.
- 'gnome-entry' (Gnome2::Entry : readable)
-
GnomeEntry that the file entry uses for entering filenames. You can use this property to get the GnomeEntry if you need to modify or query any of its parameters.
- 'gtk-entry' (Gtk2::Entry : readable)
-
GtkEntry that the file entry uses for entering filenames. You can use this property to get the GtkEntry if you need to modify or query any of its parameters.
- 'history-id' (string : readable / writable)
-
Unique identifier for the file entry. This will be used to save the history list.
- 'modal' (boolean : readable / writable)
-
Whether the Browse file window should be modal.
- 'use-filechooser' (boolean : readable / writable)
-
Whether to use the new GtkFileChooser widget or the GtkFileSelection widget to select files.
SIGNALS
- activate (Gnome2::FileEntry)
-
- browse-clicked (Gnome2::FileEntry)
-
ENUMS AND FLAGS
enum Gtk2::FileChooserAction
- •
-
'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'
- •
-
'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'
- •
-
'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
- •
-
'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'
SEE ALSO
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::VBox
COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice.
Index
- NAME
-
- HIERARCHY
-
- INTERFACES
-
- METHODS
-
- widget = Gnome2::FileEntry->new ($history_id, $browse_dialog_title)
-
- $fentry->set_default_path ($path)
-
- boolean = $fentry->get_directory_entry
-
- $fentry->set_directory_entry ($directory_entry)
-
- $fentry->set_filename ($filename)
-
- string = $fentry->get_full_path ($file_must_exist)
-
- widget = $fentry->gnome_entry
-
- widget = $fentry->gtk_entry
-
- boolean = $fentry->get_modal
-
- $fentry->set_modal ($is_modal)
-
- $fentry->set_title ($browse_dialog_title)
-
- PROPERTIES
-
- SIGNALS
-
- ENUMS AND FLAGS
-
- enum Gtk2::FileChooserAction
-
- SEE ALSO
-
- COPYRIGHT
-
This document was created by
man2html,
using the manual pages.
Time: 19:49:22 GMT, April 27, 2011