Gtk2::Entry Glib::Object +----Glib::Object::_Unregistered::GInitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Gtk2::Entry Gtk2::Editable Gtk2::CellEditable Glib::Object::_Unregistered::AtkImplementorIface

widget = Gtk2::Entry->new

widget = Gtk2::Entry->new_with_max_length ($max)

boolean = $entry->get_activates_default

$entry->set_activates_default ($setting)

double = $entry->get_alignment

$entry->set_alignment ($xalign)

$entry->append_text ($text)

entrycompletion = $entry->get_completion

$entry->set_completion ($completion)

$entry->set_editable ($editable)

boolean = $entry->get_has_frame

$entry->set_has_frame ($setting)

character = $entry->get_invisible_char

$entry->set_invisible_char ($ch)

layout = $entry->get_layout

integer = $entry->layout_index_to_text_index ($layout_index)

(x, y) = $entry->get_layout_offsets

integer = $entry->get_max_length

$entry->set_max_length ($max)

$entry->set_position ($position)

$entry->prepend_text ($text)

$entry->select_region ($start, $end)

string = $entry->get_text

integer = $entry->text_index_to_layout_index ($text_index)

$entry->set_text ($text)

boolean = $entry->get_visibility

$entry->set_visibility ($visible)

integer = $entry->get_width_chars

$entry->set_width_chars ($n_chars)
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed The current position of the insertion cursor in chars Whether the entry contents can be edited FALSE removes outside bevel from entry The character to use when masking entry contents (in "password mode") Maximum number of characters for this entry. Zero if no maximum Number of pixels of the entry scrolled off the screen to the left The position of the opposite end of the selection from the cursor in chars The contents of the entry FALSE displays the "invisible char" instead of the actual text (password mode) Number of characters to leave space for in the entry The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.

enum Gtk2::DeleteType

enum Gtk2::MovementStep
Gtk2, Glib::Object, Glib::Object::_Unregistered::GInitiallyUnowned, Gtk2::Object, Gtk2::Widget Copyright (C) 2003-2005 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.