Rechercher une page de manuel
Gtk2::EntryCompletion.3pm
Langue: en
Version: 2009-03-13 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
Gtk2::EntryCompletionHIERARCHY
Glib::Object +----Gtk2::EntryCompletion
INTERFACES
Gtk2::Buildable Gtk2::CellLayout
METHODS
entrycompletion = Gtk2::EntryCompletion->new
$completion->complete
$completion->complete
string or undef = $completion->get_completion_prefix
string or undef = $completion->get_completion_prefix
- Since: gtk+ 2.12
$completion->delete_action ($index)
$completion->delete_action ($index)
-
- •
- $index (integer)
widget = $entry->get_entry
widget = $entry->get_entry
boolean = $completion->get_inline_completion
boolean = $completion->get_inline_completion
- Since: gtk+ 2.6
$completion->set_inline_completion ($inline_completion)
$completion->set_inline_completion ($inline_completion)
-
- •
- $inline_completion (boolean)
Since: gtk+ 2.6
boolean = $completion->get_inline_selection
boolean = $completion->get_inline_selection
- Since: gtk+ 2.12
$completion->set_inline_selection ($inline_selection)
$completion->set_inline_selection ($inline_selection)
-
- •
- $inline_selection (boolean)
Since: gtk+ 2.12
$completion->insert_action_markup ($index, $markup)
$completion->insert_action_markup ($index, $markup)
-
- •
- $index (integer)
- •
- $markup (string)
$completion->insert_action_text ($index, $text)
$completion->insert_action_text ($index, $text)
-
- •
- $index (integer)
- •
- $text (string)
$completion->insert_prefix
$completion->insert_prefix
- Since: gtk+ 2.6
$completion->set_match_func ($func, $func_data=undef)
$completion->set_match_func ($func, $func_data=undef)
-
- •
- $func (scalar)
- •
- $func_data (scalar)
integer = $completion->get_minimum_key_length
integer = $completion->get_minimum_key_length
$completion->set_minimum_key_length ($length)
$completion->set_minimum_key_length ($length)
-
- •
- $length (integer)
treemodel = $completion->get_model
treemodel = $completion->get_model
$completion->set_model ($model)
$completion->set_model ($model)
-
- •
- $model (Gtk2::TreeModel or undef)
boolean = $completion->get_popup_completion
boolean = $completion->get_popup_completion
- Since: gtk+ 2.6
$completion->set_popup_completion ($popup_completion)
$completion->set_popup_completion ($popup_completion)
-
- •
- $popup_completion (boolean)
Since: gtk+ 2.6
boolean = $completion->get_popup_set_width
boolean = $completion->get_popup_set_width
- Since: gtk+ 2.8
$completion->set_popup_set_width ($popup_set_width)
$completion->set_popup_set_width ($popup_set_width)
-
- •
- $popup_set_width (boolean)
Since: gtk+ 2.8
boolean = $completion->get_popup_single_match
boolean = $completion->get_popup_single_match
- Since: gtk+ 2.8
$completion->set_popup_single_match ($popup_single_match)
$completion->set_popup_single_match ($popup_single_match)
-
- •
- $popup_single_match (boolean)
Since: gtk+ 2.8
integer = $completion->get_text_column
integer = $completion->get_text_column
- Since: gtk+ 2.6
$completion->set_text_column ($column)
$completion->set_text_column ($column)
-
- •
- $column (integer)
PROPERTIES
- 'inline-completion' (boolean : readable / writable / private)
- Whether the common prefix should be inserted automatically
- 'inline-selection' (boolean : readable / writable / private)
- Your description here
- 'minimum-key-length' (integer : readable / writable / private)
- Minimum length of the search key in order to look up matches
- 'model' (Gtk2::TreeModel : readable / writable / private)
- The model to find matches in
- 'popup-completion' (boolean : readable / writable / private)
- Whether the completions should be shown in a popup window
- 'popup-set-width' (boolean : readable / writable / private)
- If TRUE, the popup window will have the same size as the entry
- 'popup-single-match' (boolean : readable / writable / private)
- If TRUE, the popup window will appear for a single match.
- 'text-column' (integer : readable / writable / private)
- The column of the model containing the strings.
SIGNALS
- boolean = insert-prefix (Gtk2::EntryCompletion, string)
- boolean = match-selected (Gtk2::EntryCompletion, Gtk2::TreeModel, Gtk2::TreeIter)
- boolean = cursor-on-match (Gtk2::EntryCompletion, Gtk2::TreeModel, Gtk2::TreeIter)
- action-activated (Gtk2::EntryCompletion, integer)
SEE ALSO
Gtk2, Glib::ObjectCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre