Gnome2::FileEntry(3)
π Gnome2::FileEntry β the perl wrapper glow-up π
okay bestie, so this is Gnome2::FileEntry(3), and it lives in the User Contributed Perl Documentation section, which is giving β¨community-madeβ¨ and we love that for us. It's a wrapper for GnomeFileEntry β literally just a lil perl-friendly hug around the C thing. π«Ά
πΈ NAME πΈ
Gnome2::FileEntry β it's the wrapper for GnomeFileEntry, no cap.
π¦ HIERARCHY π¦
here's the family tree, and yes it's a long one, it's giving ancestry.com π
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Box
+----Gtk2::VBox
+----Gnome2::FileEntry
so like, it inherits from everything up that chain. main character lineage fr.
π INTERFACES π
these are the vibes it also carries, the extra fits it can wear:
Glib::Object::_Unregistered::AtkImplementorIfaceGtk2::BuildableGtk2::OrientableGtk2::Editable
β¨ METHODS β¨
π widget = Gnome2::FileEntry->new ($history_id, $browse_dialog_title)
the constructor, the birth of a whole new file entry, iconic behavior honestly.
$history_id(string) β a string, that's the tea.$browse_dialog_title(string) β also a string bestie.
π $fentry->set_default_path ($path)
sets the default path.
$path(string)
πΈ boolean = $fentry->get_directory_entry
π
$fentry->set_directory_entry ($directory_entry)
get and set the directory-entry thing, cute lil pair.
$directory_entry(boolean)
π $fentry->set_filename ($filename)
sets the filename.
$filename(string)
π¦ string = $fentry->get_full_path ($file_must_exist)
grabs the whole entire path for you. slay.
$file_must_exist(boolean)
π widget = $fentry->gnome_entry
returns a widget, the GnomeEntry one, that's it that's the method.
π widget = $fentry->gtk_entry
same energy, but the GtkEntry one.
π boolean = $fentry->get_modal
π $fentry->set_modal ($is_modal)
get/set whether it's modal. dramatic popup energy.
$is_modal(boolean)
β $fentry->set_title ($browse_dialog_title)
sets the title of the browse dialog.
$browse_dialog_title(string)
π§ PROPERTIES π§
these are the properties, all listed, no skipping, we don't do that here. π
'browse-dialog-title'(string : defaultundef: readable / writable) β Title for the Browse file dialog.'default-path'(string : defaultundef: readable / writable) β Default path for the Browse file window.'directory-entry'(boolean : defaultfalse: readable / writable) β Whether the file entry is being used to enter directory names or complete filenames.'filechooser-action'(Gtk2::FileChooserAction : default"open": readable / writable) β The type of operation that the file selector is performing.'filename'(string : defaultundef: readable / writable) β Filename that should be displayed in the file entry.'gnome-entry'(Gnome2::Entry : defaultundef: 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 : defaultundef: 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 : defaultundef: readable / writable) β Unique identifier for the file entry. This will be used to save the history list.'modal'(boolean : defaultfalse: readable / writable) β Whether the Browse file window should be modal.'use-filechooser'(boolean : defaultfalse: readable / writable) β Whether to use the new GtkFileChooser widget or the GtkFileSelection widget to select files.
π₯ SIGNALS π₯
the two signals, short and sweet:
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 π
go read these too, they're the besties of this page:
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.
okay that's the whole page bestie, every single flag and property accounted for, we left nothing behind, periodt. π
this was perl v5.42.0, dated 2025-07-25, and it's Gnome2::FileEntry(3) β mwah, go forth and browse your files, you absolute icon πβ¨π¦
π¦ where this page comes from
- fedora 43: perl-Gnome2 1.048-18.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms