.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Entry 3" .TH Gtk2::Entry 3 2023-07-25 "perl v5.38.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::Entry \- wrapper for GtkEntry .SH HIERARCHY .IX Header "HIERARCHY" .Vb 5 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Entry .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 4 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable \& Gtk2::Editable \& Gtk2::CellEditable .Ve .SH METHODS .IX Header "METHODS" .SS "widget = Gtk2::Entry\->\fBnew\fP" .IX Subsection "widget = Gtk2::Entry->new" .SS "widget = Gtk2::Entry\->\fBnew_with_buffer\fP ($buffer)" .IX Subsection "widget = Gtk2::Entry->new_with_buffer ($buffer)" .IP \(bu 4 \&\f(CW$buffer\fR (Gtk2::EntryBuffer) .PP Since: gtk+ 2.18 .SS "widget = Gtk2::Entry\->\fBnew_with_max_length\fP ($max)" .IX Subsection "widget = Gtk2::Entry->new_with_max_length ($max)" .IP \(bu 4 \&\f(CW$max\fR (integer) .ie n .SS "boolean = $entry\->\fBget_activates_default\fP" .el .SS "boolean = \f(CW$entry\fP\->\fBget_activates_default\fP" .IX Subsection "boolean = $entry->get_activates_default" .ie n .SS "$entry\->\fBset_activates_default\fP ($setting)" .el .SS "\f(CW$entry\fP\->\fBset_activates_default\fP ($setting)" .IX Subsection "$entry->set_activates_default ($setting)" .IP \(bu 4 \&\f(CW$setting\fR (boolean) .ie n .SS "double = $entry\->\fBget_alignment\fP" .el .SS "double = \f(CW$entry\fP\->\fBget_alignment\fP" .IX Subsection "double = $entry->get_alignment" Since: gtk+ 2.4 .ie n .SS "$entry\->\fBset_alignment\fP ($xalign)" .el .SS "\f(CW$entry\fP\->\fBset_alignment\fP ($xalign)" .IX Subsection "$entry->set_alignment ($xalign)" .IP \(bu 4 \&\f(CW$xalign\fR (double) .PP Since: gtk+ 2.4 .ie n .SS "$entry\->\fBappend_text\fP ($text)" .el .SS "\f(CW$entry\fP\->\fBappend_text\fP ($text)" .IX Subsection "$entry->append_text ($text)" .IP \(bu 4 \&\f(CW$text\fR (string) .ie n .SS "entrybuffer = $entry\->\fBget_buffer\fP" .el .SS "entrybuffer = \f(CW$entry\fP\->\fBget_buffer\fP" .IX Subsection "entrybuffer = $entry->get_buffer" Since: gtk+ 2.18 .ie n .SS "$entry\->\fBset_buffer\fP ($buffer)" .el .SS "\f(CW$entry\fP\->\fBset_buffer\fP ($buffer)" .IX Subsection "$entry->set_buffer ($buffer)" .IP \(bu 4 \&\f(CW$buffer\fR (Gtk2::EntryBuffer) .PP Since: gtk+ 2.18 .ie n .SS "entrycompletion or undef = $entry\->\fBget_completion\fP" .el .SS "entrycompletion or undef = \f(CW$entry\fP\->\fBget_completion\fP" .IX Subsection "entrycompletion or undef = $entry->get_completion" Since: gtk+ 2.4 .ie n .SS "$entry\->\fBset_completion\fP ($completion)" .el .SS "\f(CW$entry\fP\->\fBset_completion\fP ($completion)" .IX Subsection "$entry->set_completion ($completion)" .IP \(bu 4 \&\f(CW$completion\fR (Gtk2::EntryCompletion or undef) .PP Since: gtk+ 2.4 .ie n .SS "integer = $entry\->\fBget_current_icon_drag_source\fP" .el .SS "integer = \f(CW$entry\fP\->\fBget_current_icon_drag_source\fP" .IX Subsection "integer = $entry->get_current_icon_drag_source" Since: gtk+ 2.16 .ie n .SS "adjustment or undef = $entry\->\fBget_cursor_hadjustment\fP" .el .SS "adjustment or undef = \f(CW$entry\fP\->\fBget_cursor_hadjustment\fP" .IX Subsection "adjustment or undef = $entry->get_cursor_hadjustment" Since: gtk+ 2.12 .ie n .SS "$entry\->\fBset_cursor_hadjustment\fP ($adjustment)" .el .SS "\f(CW$entry\fP\->\fBset_cursor_hadjustment\fP ($adjustment)" .IX Subsection "$entry->set_cursor_hadjustment ($adjustment)" .IP \(bu 4 \&\f(CW$adjustment\fR (Gtk2::Adjustment or undef) .PP Since: gtk+ 2.12 .ie n .SS "$entry\->\fBset_editable\fP ($editable)" .el .SS "\f(CW$entry\fP\->\fBset_editable\fP ($editable)" .IX Subsection "$entry->set_editable ($editable)" .IP \(bu 4 \&\f(CW$editable\fR (boolean) .ie n .SS "boolean = $entry\->\fBget_has_frame\fP" .el .SS "boolean = \f(CW$entry\fP\->\fBget_has_frame\fP" .IX Subsection "boolean = $entry->get_has_frame" .ie n .SS "$entry\->\fBset_has_frame\fP ($setting)" .el .SS "\f(CW$entry\fP\->\fBset_has_frame\fP ($setting)" .IX Subsection "$entry->set_has_frame ($setting)" .IP \(bu 4 \&\f(CW$setting\fR (boolean) .ie n .SS "boolean = $entry\->\fBget_icon_activatable\fP ($icon_pos)" .el .SS "boolean = \f(CW$entry\fP\->\fBget_icon_activatable\fP ($icon_pos)" .IX Subsection "boolean = $entry->get_icon_activatable ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_icon_activatable\fP ($icon_pos, $activatable)" .el .SS "\f(CW$entry\fP\->\fBset_icon_activatable\fP ($icon_pos, \f(CW$activatable\fP)" .IX Subsection "$entry->set_icon_activatable ($icon_pos, $activatable)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .IP \(bu 4 \&\f(CW$activatable\fR (boolean) .PP Since: gtk+ 2.16 .ie n .SS "integer = $entry\->\fBget_icon_at_pos\fP ($x, $y)" .el .SS "integer = \f(CW$entry\fP\->\fBget_icon_at_pos\fP ($x, \f(CW$y\fP)" .IX Subsection "integer = $entry->get_icon_at_pos ($x, $y)" .IP \(bu 4 \&\f(CW$x\fR (integer) .IP \(bu 4 \&\f(CW$y\fR (integer) .PP Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_icon_drag_source\fP ($icon_pos, $target_list, $actions)" .el .SS "\f(CW$entry\fP\->\fBset_icon_drag_source\fP ($icon_pos, \f(CW$target_list\fP, \f(CW$actions\fP)" .IX Subsection "$entry->set_icon_drag_source ($icon_pos, $target_list, $actions)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .IP \(bu 4 \&\f(CW$target_list\fR (Gtk2::TargetList) .IP \(bu 4 \&\f(CW$actions\fR (Gtk2::Gdk::DragAction) .PP Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_icon_from_icon_name\fP ($icon_pos, $icon_name)" .el .SS "\f(CW$entry\fP\->\fBset_icon_from_icon_name\fP ($icon_pos, \f(CW$icon_name\fP)" .IX Subsection "$entry->set_icon_from_icon_name ($icon_pos, $icon_name)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .IP \(bu 4 \&\f(CW$icon_name\fR (string or undef) .PP Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_icon_from_pixbuf\fP ($icon_pos, $pixbuf)" .el .SS "\f(CW$entry\fP\->\fBset_icon_from_pixbuf\fP ($icon_pos, \f(CW$pixbuf\fP)" .IX Subsection "$entry->set_icon_from_pixbuf ($icon_pos, $pixbuf)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .IP \(bu 4 \&\f(CW$pixbuf\fR (Gtk2::Gdk::Pixbuf or undef) .PP Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_icon_from_stock\fP ($icon_pos, $stock_id)" .el .SS "\f(CW$entry\fP\->\fBset_icon_from_stock\fP ($icon_pos, \f(CW$stock_id\fP)" .IX Subsection "$entry->set_icon_from_stock ($icon_pos, $stock_id)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .IP \(bu 4 \&\f(CW$stock_id\fR (string or undef) .PP Since: gtk+ 2.16 .ie n .SS "string or undef = $entry\->\fBget_icon_name\fP ($icon_pos)" .el .SS "string or undef = \f(CW$entry\fP\->\fBget_icon_name\fP ($icon_pos)" .IX Subsection "string or undef = $entry->get_icon_name ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.16 .ie n .SS "pixbuf or undef = $entry\->\fBget_icon_pixbuf\fP ($icon_pos)" .el .SS "pixbuf or undef = \f(CW$entry\fP\->\fBget_icon_pixbuf\fP ($icon_pos)" .IX Subsection "pixbuf or undef = $entry->get_icon_pixbuf ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.16 .ie n .SS "boolean = $entry\->\fBget_icon_sensitive\fP ($icon_pos)" .el .SS "boolean = \f(CW$entry\fP\->\fBget_icon_sensitive\fP ($icon_pos)" .IX Subsection "boolean = $entry->get_icon_sensitive ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_icon_sensitive\fP ($icon_pos, $sensitive)" .el .SS "\f(CW$entry\fP\->\fBset_icon_sensitive\fP ($icon_pos, \f(CW$sensitive\fP)" .IX Subsection "$entry->set_icon_sensitive ($icon_pos, $sensitive)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .IP \(bu 4 \&\f(CW$sensitive\fR (boolean) .PP Since: gtk+ 2.16 .ie n .SS "string or undef = $entry\->\fBget_icon_stock\fP ($icon_pos)" .el .SS "string or undef = \f(CW$entry\fP\->\fBget_icon_stock\fP ($icon_pos)" .IX Subsection "string or undef = $entry->get_icon_stock ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.16 .ie n .SS "imagetype = $entry\->\fBget_icon_storage_type\fP ($icon_pos)" .el .SS "imagetype = \f(CW$entry\fP\->\fBget_icon_storage_type\fP ($icon_pos)" .IX Subsection "imagetype = $entry->get_icon_storage_type ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.16 .ie n .SS "string or undef = $entry\->\fBget_icon_tooltip_markup\fP ($icon_pos)" .el .SS "string or undef = \f(CW$entry\fP\->\fBget_icon_tooltip_markup\fP ($icon_pos)" .IX Subsection "string or undef = $entry->get_icon_tooltip_markup ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_icon_tooltip_markup\fP ($icon_pos, $tooltip)" .el .SS "\f(CW$entry\fP\->\fBset_icon_tooltip_markup\fP ($icon_pos, \f(CW$tooltip\fP)" .IX Subsection "$entry->set_icon_tooltip_markup ($icon_pos, $tooltip)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .IP \(bu 4 \&\f(CW$tooltip\fR (string or undef) .PP Since: gtk+ 2.16 .ie n .SS "string or undef = $entry\->\fBget_icon_tooltip_text\fP ($icon_pos)" .el .SS "string or undef = \f(CW$entry\fP\->\fBget_icon_tooltip_text\fP ($icon_pos)" .IX Subsection "string or undef = $entry->get_icon_tooltip_text ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_icon_tooltip_text\fP ($icon_pos, $tooltip)" .el .SS "\f(CW$entry\fP\->\fBset_icon_tooltip_text\fP ($icon_pos, \f(CW$tooltip\fP)" .IX Subsection "$entry->set_icon_tooltip_text ($icon_pos, $tooltip)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .IP \(bu 4 \&\f(CW$tooltip\fR (string or undef) .PP Since: gtk+ 2.16 .ie n .SS "window = $entry\->\fBget_icon_window\fP ($icon_pos)" .el .SS "window = \f(CW$entry\fP\->\fBget_icon_window\fP ($icon_pos)" .IX Subsection "window = $entry->get_icon_window ($icon_pos)" .IP \(bu 4 \&\f(CW$icon_pos\fR (Gtk2::EntryIconPosition) .PP Since: gtk+ 2.20 .ie n .SS "boolean = $entry\->\fBim_context_filter_keypress\fP ($event)" .el .SS "boolean = \f(CW$entry\fP\->\fBim_context_filter_keypress\fP ($event)" .IX Subsection "boolean = $entry->im_context_filter_keypress ($event)" .IP \(bu 4 \&\f(CW$event\fR (Gtk2::Gdk::Event) .PP Since: gtk+ 2.22 .ie n .SS "border or undef = $entry\->\fBget_inner_border\fP" .el .SS "border or undef = \f(CW$entry\fP\->\fBget_inner_border\fP" .IX Subsection "border or undef = $entry->get_inner_border" Since: gtk+ 2.10 .ie n .SS "$entry\->\fBset_inner_border\fP ($border)" .el .SS "\f(CW$entry\fP\->\fBset_inner_border\fP ($border)" .IX Subsection "$entry->set_inner_border ($border)" .IP \(bu 4 \&\f(CW$border\fR (Gtk2::Border or undef) .PP Since: gtk+ 2.10 .ie n .SS "character = $entry\->\fBget_invisible_char\fP" .el .SS "character = \f(CW$entry\fP\->\fBget_invisible_char\fP" .IX Subsection "character = $entry->get_invisible_char" .ie n .SS "$entry\->\fBset_invisible_char\fP ($ch)" .el .SS "\f(CW$entry\fP\->\fBset_invisible_char\fP ($ch)" .IX Subsection "$entry->set_invisible_char ($ch)" .IP \(bu 4 \&\f(CW$ch\fR (character) .ie n .SS "layout = $entry\->\fBget_layout\fP" .el .SS "layout = \f(CW$entry\fP\->\fBget_layout\fP" .IX Subsection "layout = $entry->get_layout" .ie n .SS "integer = $entry\->\fBlayout_index_to_text_index\fP ($layout_index)" .el .SS "integer = \f(CW$entry\fP\->\fBlayout_index_to_text_index\fP ($layout_index)" .IX Subsection "integer = $entry->layout_index_to_text_index ($layout_index)" .IP \(bu 4 \&\f(CW$layout_index\fR (integer) .PP Since: gtk+ 2.6 .ie n .SS "(x, y) = $entry\->\fBget_layout_offsets\fP" .el .SS "(x, y) = \f(CW$entry\fP\->\fBget_layout_offsets\fP" .IX Subsection "(x, y) = $entry->get_layout_offsets" .ie n .SS "integer = $entry\->\fBget_max_length\fP" .el .SS "integer = \f(CW$entry\fP\->\fBget_max_length\fP" .IX Subsection "integer = $entry->get_max_length" .ie n .SS "$entry\->\fBset_max_length\fP ($max)" .el .SS "\f(CW$entry\fP\->\fBset_max_length\fP ($max)" .IX Subsection "$entry->set_max_length ($max)" .IP \(bu 4 \&\f(CW$max\fR (integer) .ie n .SS "boolean = $entry\->\fBget_overwrite_mode\fP" .el .SS "boolean = \f(CW$entry\fP\->\fBget_overwrite_mode\fP" .IX Subsection "boolean = $entry->get_overwrite_mode" Since: gtk+ 2.14 .ie n .SS "$entry\->\fBset_overwrite_mode\fP ($overwrite)" .el .SS "\f(CW$entry\fP\->\fBset_overwrite_mode\fP ($overwrite)" .IX Subsection "$entry->set_overwrite_mode ($overwrite)" .IP \(bu 4 \&\f(CW$overwrite\fR (boolean) .PP Since: gtk+ 2.14 .ie n .SS "$entry\->\fBset_position\fP ($position)" .el .SS "\f(CW$entry\fP\->\fBset_position\fP ($position)" .IX Subsection "$entry->set_position ($position)" .IP \(bu 4 \&\f(CW$position\fR (integer) .ie n .SS "$entry\->\fBprepend_text\fP ($text)" .el .SS "\f(CW$entry\fP\->\fBprepend_text\fP ($text)" .IX Subsection "$entry->prepend_text ($text)" .IP \(bu 4 \&\f(CW$text\fR (string) .ie n .SS "double = $entry\->\fBget_progress_fraction\fP" .el .SS "double = \f(CW$entry\fP\->\fBget_progress_fraction\fP" .IX Subsection "double = $entry->get_progress_fraction" Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_progress_fraction\fP ($fraction)" .el .SS "\f(CW$entry\fP\->\fBset_progress_fraction\fP ($fraction)" .IX Subsection "$entry->set_progress_fraction ($fraction)" .IP \(bu 4 \&\f(CW$fraction\fR (double) .PP Since: gtk+ 2.16 .ie n .SS $entry\->\fBprogress_pulse\fP .el .SS \f(CW$entry\fP\->\fBprogress_pulse\fP .IX Subsection "$entry->progress_pulse" Since: gtk+ 2.16 .ie n .SS "double = $entry\->\fBget_progress_pulse_step\fP" .el .SS "double = \f(CW$entry\fP\->\fBget_progress_pulse_step\fP" .IX Subsection "double = $entry->get_progress_pulse_step" Since: gtk+ 2.16 .ie n .SS "$entry\->\fBset_progress_pulse_step\fP ($fraction)" .el .SS "\f(CW$entry\fP\->\fBset_progress_pulse_step\fP ($fraction)" .IX Subsection "$entry->set_progress_pulse_step ($fraction)" .IP \(bu 4 \&\f(CW$fraction\fR (double) .PP Since: gtk+ 2.16 .ie n .SS $entry\->\fBreset_im_context\fP .el .SS \f(CW$entry\fP\->\fBreset_im_context\fP .IX Subsection "$entry->reset_im_context" Since: gtk+ 2.22 .ie n .SS "$entry\->\fBselect_region\fP ($start, $end)" .el .SS "\f(CW$entry\fP\->\fBselect_region\fP ($start, \f(CW$end\fP)" .IX Subsection "$entry->select_region ($start, $end)" .IP \(bu 4 \&\f(CW$start\fR (integer) .IP \(bu 4 \&\f(CW$end\fR (integer) .ie n .SS "string = $entry\->\fBget_text\fP" .el .SS "string = \f(CW$entry\fP\->\fBget_text\fP" .IX Subsection "string = $entry->get_text" .ie n .SS "integer = $entry\->\fBtext_index_to_layout_index\fP ($text_index)" .el .SS "integer = \f(CW$entry\fP\->\fBtext_index_to_layout_index\fP ($text_index)" .IX Subsection "integer = $entry->text_index_to_layout_index ($text_index)" .IP \(bu 4 \&\f(CW$text_index\fR (integer) .PP Since: gtk+ 2.6 .ie n .SS "unsigned = $entry\->\fBget_text_length\fP" .el .SS "unsigned = \f(CW$entry\fP\->\fBget_text_length\fP" .IX Subsection "unsigned = $entry->get_text_length" Since: gtk+ 2.14 .ie n .SS "$entry\->\fBset_text\fP ($text)" .el .SS "\f(CW$entry\fP\->\fBset_text\fP ($text)" .IX Subsection "$entry->set_text ($text)" .IP \(bu 4 \&\f(CW$text\fR (string) .ie n .SS "window = $entry\->\fBget_text_window\fP" .el .SS "window = \f(CW$entry\fP\->\fBget_text_window\fP" .IX Subsection "window = $entry->get_text_window" Since: gtk+ 2.20 .ie n .SS $entry\->\fBunset_invisible_char\fP .el .SS \f(CW$entry\fP\->\fBunset_invisible_char\fP .IX Subsection "$entry->unset_invisible_char" Since: gtk+ 2.16 .ie n .SS "boolean = $entry\->\fBget_visibility\fP" .el .SS "boolean = \f(CW$entry\fP\->\fBget_visibility\fP" .IX Subsection "boolean = $entry->get_visibility" .ie n .SS "$entry\->\fBset_visibility\fP ($visible)" .el .SS "\f(CW$entry\fP\->\fBset_visibility\fP ($visible)" .IX Subsection "$entry->set_visibility ($visible)" .IP \(bu 4 \&\f(CW$visible\fR (boolean) .ie n .SS "integer = $entry\->\fBget_width_chars\fP" .el .SS "integer = \f(CW$entry\fP\->\fBget_width_chars\fP" .IX Subsection "integer = $entry->get_width_chars" .ie n .SS "$entry\->\fBset_width_chars\fP ($n_chars)" .el .SS "\f(CW$entry\fP\->\fBset_width_chars\fP ($n_chars)" .IX Subsection "$entry->set_width_chars ($n_chars)" .IP \(bu 4 \&\f(CW$n_chars\fR (integer) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'activates\-default' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'activates-default' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed .IP "'buffer' (Gtk2::EntryBuffer : default undef : readable / writable / construct / private / static-nick / static-blurb)" 4 .IX Item "'buffer' (Gtk2::EntryBuffer : default undef : readable / writable / construct / private / static-nick / static-blurb)" Text buffer object which actually stores entry text .IP "'caps\-lock\-warning' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'caps-lock-warning' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether password entries will show a warning when Caps Lock is on .IP "'cursor\-position' (integer : default 0 : readable / private / static-nick / static-blurb)" 4 .IX Item "'cursor-position' (integer : default 0 : readable / private / static-nick / static-blurb)" The current position of the insertion cursor in chars .IP "'editable' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'editable' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the entry contents can be edited .IP "'has\-frame' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'has-frame' (boolean : default true : readable / writable / private / static-nick / static-blurb)" FALSE removes outside bevel from entry .IP "'im\-module' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'im-module' (string : default undef : readable / writable / private / static-nick / static-blurb)" Which IM module should be used .IP "'inner\-border' (Gtk2::Border : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'inner-border' (Gtk2::Border : default undef : readable / writable / private / static-nick / static-blurb)" Border between text and frame. Overrides the inner-border style property .IP "'invisible\-char' (Glib::UInt : default 42 ""*"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'invisible-char' (Glib::UInt : default 42 ""*"" : readable / writable / private / static-nick / static-blurb)" The character to use when masking entry contents (in "password mode") .IP "'invisible\-char\-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'invisible-char-set' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the invisible char has been set .IP "'max\-length' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'max-length' (integer : default 0 : readable / writable / private / static-nick / static-blurb)" Maximum number of characters for this entry. Zero if no maximum .IP "'overwrite\-mode' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'overwrite-mode' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether new text overwrites existing text .IP "'primary\-icon\-activatable' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-activatable' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the primary icon is activatable .IP "'primary\-icon\-gicon' (Glib::Object::_Unregistered::GIcon : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-gicon' (Glib::Object::_Unregistered::GIcon : default undef : readable / writable / private / static-nick / static-blurb)" GIcon for primary icon .IP "'primary\-icon\-name' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-name' (string : default undef : readable / writable / private / static-nick / static-blurb)" Icon name for primary icon .IP "'primary\-icon\-pixbuf' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-pixbuf' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb)" Primary pixbuf for the entry .IP "'primary\-icon\-sensitive' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-sensitive' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the primary icon is sensitive .IP "'primary\-icon\-stock' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-stock' (string : default undef : readable / writable / private / static-nick / static-blurb)" Stock ID for primary icon .IP "'primary\-icon\-storage\-type' (Gtk2::ImageType : default ""empty"" : readable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-storage-type' (Gtk2::ImageType : default ""empty"" : readable / private / static-nick / static-blurb)" The representation being used for primary icon .IP "'primary\-icon\-tooltip\-markup' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-tooltip-markup' (string : default undef : readable / writable / private / static-nick / static-blurb)" The contents of the tooltip on the primary icon .IP "'primary\-icon\-tooltip\-text' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'primary-icon-tooltip-text' (string : default undef : readable / writable / private / static-nick / static-blurb)" The contents of the tooltip on the primary icon .IP "'progress\-fraction' (double : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'progress-fraction' (double : default 0 : readable / writable / private / static-nick / static-blurb)" The current fraction of the task that's been completed .IP "'progress\-pulse\-step' (double : default 0.1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'progress-pulse-step' (double : default 0.1 : readable / writable / private / static-nick / static-blurb)" The fraction of total entry width to move the progress bouncing block for each call to \fBgtk_entry_progress_pulse()\fR .IP "'scroll\-offset' (integer : default 0 : readable / private / static-nick / static-blurb)" 4 .IX Item "'scroll-offset' (integer : default 0 : readable / private / static-nick / static-blurb)" Number of pixels of the entry scrolled off the screen to the left .IP "'secondary\-icon\-activatable' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-activatable' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the secondary icon is activatable .IP "'secondary\-icon\-gicon' (Glib::Object::_Unregistered::GIcon : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-gicon' (Glib::Object::_Unregistered::GIcon : default undef : readable / writable / private / static-nick / static-blurb)" GIcon for secondary icon .IP "'secondary\-icon\-name' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-name' (string : default undef : readable / writable / private / static-nick / static-blurb)" Icon name for secondary icon .IP "'secondary\-icon\-pixbuf' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-pixbuf' (Gtk2::Gdk::Pixbuf : default undef : readable / writable / private / static-nick / static-blurb)" Secondary pixbuf for the entry .IP "'secondary\-icon\-sensitive' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-sensitive' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the secondary icon is sensitive .IP "'secondary\-icon\-stock' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-stock' (string : default undef : readable / writable / private / static-nick / static-blurb)" Stock ID for secondary icon .IP "'secondary\-icon\-storage\-type' (Gtk2::ImageType : default ""empty"" : readable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-storage-type' (Gtk2::ImageType : default ""empty"" : readable / private / static-nick / static-blurb)" The representation being used for secondary icon .IP "'secondary\-icon\-tooltip\-markup' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-tooltip-markup' (string : default undef : readable / writable / private / static-nick / static-blurb)" The contents of the tooltip on the secondary icon .IP "'secondary\-icon\-tooltip\-text' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'secondary-icon-tooltip-text' (string : default undef : readable / writable / private / static-nick / static-blurb)" The contents of the tooltip on the secondary icon .IP "'selection\-bound' (integer : default 0 : readable / private / static-nick / static-blurb)" 4 .IX Item "'selection-bound' (integer : default 0 : readable / private / static-nick / static-blurb)" The position of the opposite end of the selection from the cursor in chars .IP "'shadow\-type' (Gtk2::ShadowType : default ""in"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'shadow-type' (Gtk2::ShadowType : default ""in"" : readable / writable / private / static-nick / static-blurb)" Which kind of shadow to draw around the entry when has-frame is set .IP "'text' (string : default """" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'text' (string : default """" : readable / writable / private / static-nick / static-blurb)" The contents of the entry .IP "'text\-length' (Glib::UInt : default 0 : readable / private / static-nick / static-blurb)" 4 .IX Item "'text-length' (Glib::UInt : default 0 : readable / private / static-nick / static-blurb)" Length of the text currently in the entry .IP "'truncate\-multiline' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'truncate-multiline' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether to truncate multiline pastes to one line. .IP "'visibility' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'visibility' (boolean : default true : readable / writable / private / static-nick / static-blurb)" FALSE displays the "invisible char" instead of the actual text (password mode) .IP "'width\-chars' (integer : default \-1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'width-chars' (integer : default -1 : readable / writable / private / static-nick / static-blurb)" Number of characters to leave space for in the entry .IP "'xalign' (float : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'xalign' (float : default 0 : readable / writable / private / static-nick / static-blurb)" The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts. .SH "STYLE PROPERTIES" .IX Header "STYLE PROPERTIES" .IP "'icon\-prelight' (boolean : default true : readable / private / static-nick / static-blurb)" 4 .IX Item "'icon-prelight' (boolean : default true : readable / private / static-nick / static-blurb)" Whether activatable icons should prelight when hovered .IP "'inner\-border' (Gtk2::Border : default undef : readable / private / static-nick / static-blurb)" 4 .IX Item "'inner-border' (Gtk2::Border : default undef : readable / private / static-nick / static-blurb)" Border between text and frame. .IP "'invisible\-char' (Glib::UInt : default 0 ""\e0"" : readable / private / static-nick / static-blurb)" 4 .IX Item "'invisible-char' (Glib::UInt : default 0 ""0"" : readable / private / static-nick / static-blurb)" The character to use when masking entry contents (in "password mode") .IP "'progress\-border' (Gtk2::Border : default undef : readable / private / static-nick / static-blurb)" 4 .IX Item "'progress-border' (Gtk2::Border : default undef : readable / private / static-nick / static-blurb)" Border around the progress bar .IP "'state\-hint' (boolean : default false : readable / private / static-nick / static-blurb)" 4 .IX Item "'state-hint' (boolean : default false : readable / private / static-nick / static-blurb)" Whether to pass a proper state when drawing shadow or background .SH SIGNALS .IX Header "SIGNALS" .IP "\fBactivate\fR (Gtk2::Entry)" 4 .IX Item "activate (Gtk2::Entry)" .PD 0 .IP "\fBbackspace\fR (Gtk2::Entry)" 4 .IX Item "backspace (Gtk2::Entry)" .IP "\fBcopy-clipboard\fR (Gtk2::Entry)" 4 .IX Item "copy-clipboard (Gtk2::Entry)" .IP "\fBcut-clipboard\fR (Gtk2::Entry)" 4 .IX Item "cut-clipboard (Gtk2::Entry)" .IP "\fBdelete-from-cursor\fR (Gtk2::Entry, Gtk2::DeleteType, integer)" 4 .IX Item "delete-from-cursor (Gtk2::Entry, Gtk2::DeleteType, integer)" .IP "\fBicon-press\fR (Gtk2::Entry, Gtk2::EntryIconPosition, Gtk2::Gdk::Event)" 4 .IX Item "icon-press (Gtk2::Entry, Gtk2::EntryIconPosition, Gtk2::Gdk::Event)" .IP "\fBicon-release\fR (Gtk2::Entry, Gtk2::EntryIconPosition, Gtk2::Gdk::Event)" 4 .IX Item "icon-release (Gtk2::Entry, Gtk2::EntryIconPosition, Gtk2::Gdk::Event)" .IP "\fBinsert-at-cursor\fR (Gtk2::Entry, string)" 4 .IX Item "insert-at-cursor (Gtk2::Entry, string)" .IP "\fBmove-cursor\fR (Gtk2::Entry, Gtk2::MovementStep, integer, boolean)" 4 .IX Item "move-cursor (Gtk2::Entry, Gtk2::MovementStep, integer, boolean)" .IP "\fBpaste-clipboard\fR (Gtk2::Entry)" 4 .IX Item "paste-clipboard (Gtk2::Entry)" .IP "\fBpopulate-popup\fR (Gtk2::Entry, Gtk2::Menu)" 4 .IX Item "populate-popup (Gtk2::Entry, Gtk2::Menu)" .IP "\fBpreedit-changed\fR (Gtk2::Entry, string)" 4 .IX Item "preedit-changed (Gtk2::Entry, string)" .IP "\fBtoggle-overwrite\fR (Gtk2::Entry)" 4 .IX Item "toggle-overwrite (Gtk2::Entry)" .PD .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::DeleteType" .IX Subsection "enum Gtk2::DeleteType" .IP \(bu 4 \&'chars' / 'GTK_DELETE_CHARS' .IP \(bu 4 \&'word\-ends' / 'GTK_DELETE_WORD_ENDS' .IP \(bu 4 \&'words' / 'GTK_DELETE_WORDS' .IP \(bu 4 \&'display\-lines' / 'GTK_DELETE_DISPLAY_LINES' .IP \(bu 4 \&'display\-line\-ends' / 'GTK_DELETE_DISPLAY_LINE_ENDS' .IP \(bu 4 \&'paragraph\-ends' / 'GTK_DELETE_PARAGRAPH_ENDS' .IP \(bu 4 \&'paragraphs' / 'GTK_DELETE_PARAGRAPHS' .IP \(bu 4 \&'whitespace' / 'GTK_DELETE_WHITESPACE' .SS "enum Gtk2::EntryIconPosition" .IX Subsection "enum Gtk2::EntryIconPosition" .IP \(bu 4 \&'primary' / 'GTK_ENTRY_ICON_PRIMARY' .IP \(bu 4 \&'secondary' / 'GTK_ENTRY_ICON_SECONDARY' .SS "flags Gtk2::Gdk::DragAction" .IX Subsection "flags Gtk2::Gdk::DragAction" .IP \(bu 4 \&'default' / 'GDK_ACTION_DEFAULT' .IP \(bu 4 \&'copy' / 'GDK_ACTION_COPY' .IP \(bu 4 \&'move' / 'GDK_ACTION_MOVE' .IP \(bu 4 \&'link' / 'GDK_ACTION_LINK' .IP \(bu 4 \&'private' / 'GDK_ACTION_PRIVATE' .IP \(bu 4 \&'ask' / 'GDK_ACTION_ASK' .SS "enum Gtk2::ImageType" .IX Subsection "enum Gtk2::ImageType" .IP \(bu 4 \&'empty' / 'GTK_IMAGE_EMPTY' .IP \(bu 4 \&'pixmap' / 'GTK_IMAGE_PIXMAP' .IP \(bu 4 \&'image' / 'GTK_IMAGE_IMAGE' .IP \(bu 4 \&'pixbuf' / 'GTK_IMAGE_PIXBUF' .IP \(bu 4 \&'stock' / 'GTK_IMAGE_STOCK' .IP \(bu 4 \&'icon\-set' / 'GTK_IMAGE_ICON_SET' .IP \(bu 4 \&'animation' / 'GTK_IMAGE_ANIMATION' .IP \(bu 4 \&'icon\-name' / 'GTK_IMAGE_ICON_NAME' .IP \(bu 4 \&'gicon' / 'GTK_IMAGE_GICON' .SS "enum Gtk2::MovementStep" .IX Subsection "enum Gtk2::MovementStep" .IP \(bu 4 \&'logical\-positions' / 'GTK_MOVEMENT_LOGICAL_POSITIONS' .IP \(bu 4 \&'visual\-positions' / 'GTK_MOVEMENT_VISUAL_POSITIONS' .IP \(bu 4 \&'words' / 'GTK_MOVEMENT_WORDS' .IP \(bu 4 \&'display\-lines' / 'GTK_MOVEMENT_DISPLAY_LINES' .IP \(bu 4 \&'display\-line\-ends' / 'GTK_MOVEMENT_DISPLAY_LINE_ENDS' .IP \(bu 4 \&'paragraphs' / 'GTK_MOVEMENT_PARAGRAPHS' .IP \(bu 4 \&'paragraph\-ends' / 'GTK_MOVEMENT_PARAGRAPH_ENDS' .IP \(bu 4 \&'pages' / 'GTK_MOVEMENT_PAGES' .IP \(bu 4 \&'buffer\-ends' / 'GTK_MOVEMENT_BUFFER_ENDS' .IP \(bu 4 \&'horizontal\-pages' / 'GTK_MOVEMENT_HORIZONTAL_PAGES' .SS "enum Gtk2::ShadowType" .IX Subsection "enum Gtk2::ShadowType" .IP \(bu 4 \&'none' / 'GTK_SHADOW_NONE' .IP \(bu 4 \&'in' / 'GTK_SHADOW_IN' .IP \(bu 4 \&'out' / 'GTK_SHADOW_OUT' .IP \(bu 4 \&'etched\-in' / 'GTK_SHADOW_ETCHED_IN' .IP \(bu 4 \&'etched\-out' / 'GTK_SHADOW_ETCHED_OUT' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.