.\" -*- 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::EntryCompletion 3" .TH Gtk2::EntryCompletion 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::EntryCompletion \- wrapper for GtkEntryCompletion .SH HIERARCHY .IX Header "HIERARCHY" .Vb 2 \& Glib::Object \& +\-\-\-\-Gtk2::EntryCompletion .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 2 \& Gtk2::CellLayout \& Gtk2::Buildable .Ve .SH METHODS .IX Header "METHODS" .SS "entrycompletion = Gtk2::EntryCompletion\->\fBnew\fP" .IX Subsection "entrycompletion = Gtk2::EntryCompletion->new" .ie n .SS $completion\->\fBcomplete\fP .el .SS \f(CW$completion\fP\->\fBcomplete\fP .IX Subsection "$completion->complete" .ie n .SS "string or undef = $completion\->\fBget_completion_prefix\fP" .el .SS "string or undef = \f(CW$completion\fP\->\fBget_completion_prefix\fP" .IX Subsection "string or undef = $completion->get_completion_prefix" Since: gtk+ 2.12 .ie n .SS "$completion\->\fBdelete_action\fP ($index)" .el .SS "\f(CW$completion\fP\->\fBdelete_action\fP ($index)" .IX Subsection "$completion->delete_action ($index)" .IP \(bu 4 \&\f(CW$index\fR (integer) .ie n .SS "widget = $entry\->\fBget_entry\fP" .el .SS "widget = \f(CW$entry\fP\->\fBget_entry\fP" .IX Subsection "widget = $entry->get_entry" .ie n .SS "boolean = $completion\->\fBget_inline_completion\fP" .el .SS "boolean = \f(CW$completion\fP\->\fBget_inline_completion\fP" .IX Subsection "boolean = $completion->get_inline_completion" Since: gtk+ 2.6 .ie n .SS "$completion\->\fBset_inline_completion\fP ($inline_completion)" .el .SS "\f(CW$completion\fP\->\fBset_inline_completion\fP ($inline_completion)" .IX Subsection "$completion->set_inline_completion ($inline_completion)" .IP \(bu 4 \&\f(CW$inline_completion\fR (boolean) .PP Since: gtk+ 2.6 .ie n .SS "boolean = $completion\->\fBget_inline_selection\fP" .el .SS "boolean = \f(CW$completion\fP\->\fBget_inline_selection\fP" .IX Subsection "boolean = $completion->get_inline_selection" Since: gtk+ 2.12 .ie n .SS "$completion\->\fBset_inline_selection\fP ($inline_selection)" .el .SS "\f(CW$completion\fP\->\fBset_inline_selection\fP ($inline_selection)" .IX Subsection "$completion->set_inline_selection ($inline_selection)" .IP \(bu 4 \&\f(CW$inline_selection\fR (boolean) .PP Since: gtk+ 2.12 .ie n .SS "$completion\->\fBinsert_action_markup\fP ($index, $markup)" .el .SS "\f(CW$completion\fP\->\fBinsert_action_markup\fP ($index, \f(CW$markup\fP)" .IX Subsection "$completion->insert_action_markup ($index, $markup)" .IP \(bu 4 \&\f(CW$index\fR (integer) .IP \(bu 4 \&\f(CW$markup\fR (string) .ie n .SS "$completion\->\fBinsert_action_text\fP ($index, $text)" .el .SS "\f(CW$completion\fP\->\fBinsert_action_text\fP ($index, \f(CW$text\fP)" .IX Subsection "$completion->insert_action_text ($index, $text)" .IP \(bu 4 \&\f(CW$index\fR (integer) .IP \(bu 4 \&\f(CW$text\fR (string) .ie n .SS $completion\->\fBinsert_prefix\fP .el .SS \f(CW$completion\fP\->\fBinsert_prefix\fP .IX Subsection "$completion->insert_prefix" Since: gtk+ 2.6 .ie n .SS "$completion\->\fBset_match_func\fP ($func, $func_data=undef)" .el .SS "\f(CW$completion\fP\->\fBset_match_func\fP ($func, \f(CW$func_data\fP=undef)" .IX Subsection "$completion->set_match_func ($func, $func_data=undef)" .IP \(bu 4 \&\f(CW$func\fR (scalar) .IP \(bu 4 \&\f(CW$func_data\fR (scalar) .ie n .SS "integer = $completion\->\fBget_minimum_key_length\fP" .el .SS "integer = \f(CW$completion\fP\->\fBget_minimum_key_length\fP" .IX Subsection "integer = $completion->get_minimum_key_length" .ie n .SS "$completion\->\fBset_minimum_key_length\fP ($length)" .el .SS "\f(CW$completion\fP\->\fBset_minimum_key_length\fP ($length)" .IX Subsection "$completion->set_minimum_key_length ($length)" .IP \(bu 4 \&\f(CW$length\fR (integer) .ie n .SS "treemodel = $completion\->\fBget_model\fP" .el .SS "treemodel = \f(CW$completion\fP\->\fBget_model\fP" .IX Subsection "treemodel = $completion->get_model" .ie n .SS "$completion\->\fBset_model\fP ($model)" .el .SS "\f(CW$completion\fP\->\fBset_model\fP ($model)" .IX Subsection "$completion->set_model ($model)" .IP \(bu 4 \&\f(CW$model\fR (Gtk2::TreeModel or undef) .ie n .SS "boolean = $completion\->\fBget_popup_completion\fP" .el .SS "boolean = \f(CW$completion\fP\->\fBget_popup_completion\fP" .IX Subsection "boolean = $completion->get_popup_completion" Since: gtk+ 2.6 .ie n .SS "$completion\->\fBset_popup_completion\fP ($popup_completion)" .el .SS "\f(CW$completion\fP\->\fBset_popup_completion\fP ($popup_completion)" .IX Subsection "$completion->set_popup_completion ($popup_completion)" .IP \(bu 4 \&\f(CW$popup_completion\fR (boolean) .PP Since: gtk+ 2.6 .ie n .SS "boolean = $completion\->\fBget_popup_set_width\fP" .el .SS "boolean = \f(CW$completion\fP\->\fBget_popup_set_width\fP" .IX Subsection "boolean = $completion->get_popup_set_width" Since: gtk+ 2.8 .ie n .SS "$completion\->\fBset_popup_set_width\fP ($popup_set_width)" .el .SS "\f(CW$completion\fP\->\fBset_popup_set_width\fP ($popup_set_width)" .IX Subsection "$completion->set_popup_set_width ($popup_set_width)" .IP \(bu 4 \&\f(CW$popup_set_width\fR (boolean) .PP Since: gtk+ 2.8 .ie n .SS "boolean = $completion\->\fBget_popup_single_match\fP" .el .SS "boolean = \f(CW$completion\fP\->\fBget_popup_single_match\fP" .IX Subsection "boolean = $completion->get_popup_single_match" Since: gtk+ 2.8 .ie n .SS "$completion\->\fBset_popup_single_match\fP ($popup_single_match)" .el .SS "\f(CW$completion\fP\->\fBset_popup_single_match\fP ($popup_single_match)" .IX Subsection "$completion->set_popup_single_match ($popup_single_match)" .IP \(bu 4 \&\f(CW$popup_single_match\fR (boolean) .PP Since: gtk+ 2.8 .ie n .SS "integer = $completion\->\fBget_text_column\fP" .el .SS "integer = \f(CW$completion\fP\->\fBget_text_column\fP" .IX Subsection "integer = $completion->get_text_column" Since: gtk+ 2.6 .ie n .SS "$completion\->\fBset_text_column\fP ($column)" .el .SS "\f(CW$completion\fP\->\fBset_text_column\fP ($column)" .IX Subsection "$completion->set_text_column ($column)" .IP \(bu 4 \&\f(CW$column\fR (integer) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'inline\-completion' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'inline-completion' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Whether the common prefix should be inserted automatically .IP "'inline\-selection' (boolean : default false : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'inline-selection' (boolean : default false : readable / writable / private / static-nick / static-blurb)" Your description here .IP "'minimum\-key\-length' (integer : default 1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'minimum-key-length' (integer : default 1 : readable / writable / private / static-nick / static-blurb)" Minimum length of the search key in order to look up matches .IP "'model' (Gtk2::TreeModel : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'model' (Gtk2::TreeModel : default undef : readable / writable / private / static-nick / static-blurb)" The model to find matches in .IP "'popup\-completion' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'popup-completion' (boolean : default true : readable / writable / private / static-nick / static-blurb)" Whether the completions should be shown in a popup window .IP "'popup\-set\-width' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'popup-set-width' (boolean : default true : readable / writable / private / static-nick / static-blurb)" If TRUE, the popup window will have the same size as the entry .IP "'popup\-single\-match' (boolean : default true : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'popup-single-match' (boolean : default true : readable / writable / private / static-nick / static-blurb)" If TRUE, the popup window will appear for a single match. .IP "'text\-column' (integer : default \-1 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'text-column' (integer : default -1 : readable / writable / private / static-nick / static-blurb)" The column of the model containing the strings. .SH SIGNALS .IX Header "SIGNALS" .IP "\fBaction-activated\fR (Gtk2::EntryCompletion, integer)" 4 .IX Item "action-activated (Gtk2::EntryCompletion, integer)" .PD 0 .IP "boolean = \fBcursor-on-match\fR (Gtk2::EntryCompletion, Gtk2::TreeModel, Gtk2::TreeIter)" 4 .IX Item "boolean = cursor-on-match (Gtk2::EntryCompletion, Gtk2::TreeModel, Gtk2::TreeIter)" .IP "boolean = \fBinsert-prefix\fR (Gtk2::EntryCompletion, string)" 4 .IX Item "boolean = insert-prefix (Gtk2::EntryCompletion, string)" .IP "boolean = \fBmatch-selected\fR (Gtk2::EntryCompletion, Gtk2::TreeModel, Gtk2::TreeIter)" 4 .IX Item "boolean = match-selected (Gtk2::EntryCompletion, Gtk2::TreeModel, Gtk2::TreeIter)" .PD .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object .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.