Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::entrybuffer(3pm) [debian man page]

Gtk2::EntryBuffer(3pm)					User Contributed Perl Documentation				    Gtk2::EntryBuffer(3pm)

NAME
Gtk2::EntryBuffer - wrapper for GtkEntryBuffer HIERARCHY
Glib::Object +----Gtk2::EntryBuffer The Gtk2::EntryBuffer class contains the actual text displayed in a Gtk2::Entry widget. A single Gtk2::EntryBuffer object can be shared by multiple Gtk2::Entry widgets which will then share the same text content, but not the cursor position, visibility attributes, icon etc. Gtk2::EntryBuffer may be derived from. Such a derived class might allow text to be stored in an alternate location, such as non-pageable memory, useful in the case of important passwords. Or a derived class could integrate with an application's concept of undo/redo. METHODS
entrybuffer = Gtk2::EntryBuffer->new ($initial_chars=undef) o $initial_chars (string) unsigned = $buffer->get_bytes integer = $buffer->delete_text ($position=0, $n_chars=-1) o $position (integer) o $n_chars (integer) $buffer->emit_deleted_text ($position, $n_chars) o $position (integer) o $n_chars (integer) $buffer->emit_inserted_text ($position, $chars, $n_chars) o $position (integer) o $chars (string) o $n_chars (integer) $buffer->insert_text ($position, $chars) o $position (integer) o $chars (string) integer = $buffer->get_length integer = $buffer->get_max_length $buffer->set_max_length ($max_length) o $max_length (integer) string = $buffer->get_text $buffer->set_text ($chars) o $chars (string) PROPERTIES
'length' (Glib::UInt : default 0 : readable / private) Length of the text currently in the buffer 'max-length' (integer : default 0 : readable / writable / private) Maximum number of characters for this entry. Zero if no maximum 'text' (string : default "" : readable / writable / private) The contents of the buffer SIGNALS
inserted-text (Gtk2::EntryBuffer, Glib::UInt, string, Glib::UInt) deleted-text (Gtk2::EntryBuffer, Glib::UInt, Glib::UInt) SEE ALSO
Gtk2, Glib::Object COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::EntryBuffer(3pm)

Check Out this Related Man Page

Gtk2::FileChooserButton(3pm)				User Contributed Perl Documentation			      Gtk2::FileChooserButton(3pm)

NAME
Gtk2::FileChooserButton - wrapper for GtkFileChooserButton HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Container +----Gtk2::Box +----Gtk2::HBox +----Gtk2::FileChooserButton INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable Gtk2::Orientable Gtk2::FileChooser METHODS
widget = Gtk2::FileChooserButton->new ($title, $action) o $title (string) o $action (Gtk2::FileChooserAction) widget = Gtk2::FileChooserButton->new_with_backend ($title, $action, $backend) o $title (string) o $action (Gtk2::FileChooserAction) o $backend (string) widget = Gtk2::FileChooserButton->new_with_dialog ($dialog) o $dialog (Gtk2::Widget) boolean = $button->get_focus_on_click Since: gtk+ 2.10 $button->set_focus_on_click ($focus_on_click) o $focus_on_click (boolean) Since: gtk+ 2.10 string = $button->get_title $button->set_title ($title) o $title (string) integer = $button->get_width_chars $button->set_width_chars ($n_chars) o $n_chars (integer) PROPERTIES
'dialog' (Gtk2::FileChooser : default undef : writable / construct-only / private) The file chooser dialog to use. 'focus-on-click' (boolean : default true : readable / writable / private) Whether the button grabs focus when it is clicked with the mouse 'title' (string : default "Select a File" : readable / writable / private) The title of the file chooser dialog. 'width-chars' (integer : default -1 : readable / writable / private) The desired width of the button widget, in characters. SIGNALS
file-set (Gtk2::FileChooserButton) 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
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Box, Gtk2::HBox COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::FileChooserButton(3pm)
Man Page