GtkEntryCompletion
An object used to provide auto-completion functionality for a GtkEntry.
Object Hierarchy
Implemented Interfaces
Description
Constructors
-- Creates a new GtkEntryCompletion object.
Methods
complete() delete_action() get_entry() Returns the GtkEntry object that actually uses this GtkEntryCompletion get_inline_completion() get_minimum_key_length() Returns the minimum key length set for the GtkEntryCompletion. get_model() Returns the GtkTreeModel that the GtkEntryCompletion is using as data model. get_popup_completion() insert_action_markup() insert_action_text() insert_prefix() set_inline_completion() set_match_func() set_minimum_key_length() Sets the minimum length of the search key. set_model() Sets the GtkTreeModel to be used with the GtkEntryCompletion. set_popup_completion() set_text_column() Defines the what column of the GtkTreeModel will be used as list for GtkEntryCompletion. get_text_column()
Properties
Use get_property and set_property methods to access these.
model: The data model used for the GtkEntryCompletion. minimum-key-length: Minimum length of the search key in order to look up matches. text-column: The column of the model containing the strings.
Signals
"action-activated" "insert-prefix" "match-selected" The "match-selected" signal is emitted when a completion string was selected from the completion list.