Gnome2::FileEntry(3pm) User Contributed Perl Documentation Gnome2::FileEntry(3pm)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::Orientable
Gtk2::Editable
METHODS
widget = Gnome2::FileEntry->new ($history_id, $browse_dialog_title)
o $history_id (string)
o $browse_dialog_title (string)
$fentry->set_default_path ($path)
o $path (string)
boolean = $fentry->get_directory_entry
$fentry->set_directory_entry ($directory_entry)
o $directory_entry (boolean)
$fentry->set_filename ($filename)
o $filename (string)
string = $fentry->get_full_path ($file_must_exist)
o $file_must_exist (boolean)
widget = $fentry->gnome_entry
widget = $fentry->gtk_entry
boolean = $fentry->get_modal
$fentry->set_modal ($is_modal)
o $is_modal (boolean)
$fentry->set_title ($browse_dialog_title)
o $browse_dialog_title (string)
PROPERTIES
'browse-dialog-title' (string : default undef : readable / writable)
Title for the Browse file dialog.
'default-path' (string : default undef : readable / writable)
Default path for the Browse file window.
'directory-entry' (boolean : default false : 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 : default undef : readable / writable)
Filename that should be displayed in the file entry.
'gnome-entry' (Gnome2::Entry : default undef : 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 : default undef : 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 : default undef : readable / writable)
Unique identifier for the file entry. This will be used to save the history list.
'modal' (boolean : default false : readable / writable)
Whether the Browse file window should be modal.
'use-filechooser' (boolean : default false : 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
o 'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'
o 'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'
o 'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
o '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.
perl v5.14.2 2011-11-16 Gnome2::FileEntry(3pm)
Check Out this Related Man Page
Gnome2::ColorPicker(3pm) User Contributed Perl Documentation Gnome2::ColorPicker(3pm)NAME
Gnome2::ColorPicker - wrapper for GnomeColorPicker
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Button
+----Gnome2::ColorPicker
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Glib::Object::_Unregistered::GtkActivatable
METHODS
widget = Gnome2::ColorPicker->new
(r, g, b, a) = $cp->get_d
$cp->set_d ($r, $g, $b, $a)
o $r (double)
o $g (double)
o $b (double)
o $a (double)
boolean = $cp->get_dither
$cp->set_dither ($dither)
o $dither (boolean)
(r, g, b, a) = $cp->get_i16
$cp->set_i16 ($r, $g, $b, $a)
o $r (unsigned)
o $g (unsigned)
o $b (unsigned)
o $a (unsigned)
(r, g, b, a) = $cp->get_i8
$cp->set_i8 ($r, $g, $b, $a)
o $r (unsigned)
o $g (unsigned)
o $b (unsigned)
o $a (unsigned)
string = $cp->get_title
$cp->set_title ($title)
o $title (string)
boolean = $cp->get_use_alpha
$cp->set_use_alpha ($use_alpha)
o $use_alpha (boolean)
PROPERTIES
'alpha' (Glib::UInt : default 0 : readable / writable)
The alpha value of the chosen color
'blue' (Glib::UInt : default 0 : readable / writable)
The amount of blue in the chosen color
'dither' (boolean : default true : readable / writable)
Whether or not to dither to color
'green' (Glib::UInt : default 0 : readable / writable)
The amount of green in the chosen color
'red' (Glib::UInt : default 0 : readable / writable)
The amount of red in the chosen color
'title' (string : default undef : readable / writable)
The title to give to the color picker
'use-alpha' (boolean : default false : readable / writable)
Whether or not to give the color an alpha value
SIGNALS
color-set (Gnome2::ColorPicker, Glib::UInt, Glib::UInt, Glib::UInt, Glib::UInt)
SEE ALSO
Gnome2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button
COPYRIGHT
Copyright (C) 2003-2004 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2 for a full notice.
perl v5.14.2 2011-11-16 Gnome2::ColorPicker(3pm)