1Gtk2::EntryCompletion(3U)ser Contributed Perl DocumentatiGotnk2::EntryCompletion(3)
2
3
4

NAME

6       Gtk2::EntryCompletion
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::EntryCompletion
11

INTERFACES

13         Gtk2::CellLayout
14         Gtk2::Buildable
15

METHODS

17   entrycompletion = Gtk2::EntryCompletion->new
18   $completion->complete
19   string or undef = $completion->get_completion_prefix
20           Since: gtk+ 2.12
21
22   $completion->delete_action ($index)
23           ·   $index (integer)
24
25   widget = $entry->get_entry
26   boolean = $completion->get_inline_completion
27           Since: gtk+ 2.6
28
29   $completion->set_inline_completion ($inline_completion)
30           ·   $inline_completion (boolean)
31
32           Since: gtk+ 2.6
33
34   boolean = $completion->get_inline_selection
35           Since: gtk+ 2.12
36
37   $completion->set_inline_selection ($inline_selection)
38           ·   $inline_selection (boolean)
39
40           Since: gtk+ 2.12
41
42   $completion->insert_action_markup ($index, $markup)
43           ·   $index (integer)
44
45           ·   $markup (string)
46
47   $completion->insert_action_text ($index, $text)
48           ·   $index (integer)
49
50           ·   $text (string)
51
52   $completion->insert_prefix
53           Since: gtk+ 2.6
54
55   $completion->set_match_func ($func, $func_data=undef)
56           ·   $func (scalar)
57
58           ·   $func_data (scalar)
59
60   integer = $completion->get_minimum_key_length
61   $completion->set_minimum_key_length ($length)
62           ·   $length (integer)
63
64   treemodel = $completion->get_model
65   $completion->set_model ($model)
66           ·   $model (Gtk2::TreeModel or undef)
67
68   boolean = $completion->get_popup_completion
69           Since: gtk+ 2.6
70
71   $completion->set_popup_completion ($popup_completion)
72           ·   $popup_completion (boolean)
73
74           Since: gtk+ 2.6
75
76   boolean = $completion->get_popup_set_width
77           Since: gtk+ 2.8
78
79   $completion->set_popup_set_width ($popup_set_width)
80           ·   $popup_set_width (boolean)
81
82           Since: gtk+ 2.8
83
84   boolean = $completion->get_popup_single_match
85           Since: gtk+ 2.8
86
87   $completion->set_popup_single_match ($popup_single_match)
88           ·   $popup_single_match (boolean)
89
90           Since: gtk+ 2.8
91
92   integer = $completion->get_text_column
93           Since: gtk+ 2.6
94
95   $completion->set_text_column ($column)
96           ·   $column (integer)
97

PROPERTIES

99       'inline-completion' (boolean : readable / writable / private)
100           Whether the common prefix should be inserted automatically
101
102       'inline-selection' (boolean : readable / writable / private)
103           Your description here
104
105       'minimum-key-length' (integer : readable / writable / private)
106           Minimum length of the search key in order to look up matches
107
108       'model' (Gtk2::TreeModel : readable / writable / private)
109           The model to find matches in
110
111       'popup-completion' (boolean : readable / writable / private)
112           Whether the completions should be shown in a popup window
113
114       'popup-set-width' (boolean : readable / writable / private)
115           If TRUE, the popup window will have the same size as the entry
116
117       'popup-single-match' (boolean : readable / writable / private)
118           If TRUE, the popup window will appear for a single match.
119
120       'text-column' (integer : readable / writable / private)
121           The column of the model containing the strings.
122

SIGNALS

124       boolean = insert-prefix (Gtk2::EntryCompletion, string)
125       boolean = match-selected (Gtk2::EntryCompletion, Gtk2::TreeModel,
126       Gtk2::TreeIter)
127       boolean = cursor-on-match (Gtk2::EntryCompletion, Gtk2::TreeModel,
128       Gtk2::TreeIter)
129       action-activated (Gtk2::EntryCompletion, integer)
130

SEE ALSO

132       Gtk2, Glib::Object
133
135       Copyright (C) 2003-2008 by the gtk2-perl team.
136
137       This software is licensed under the LGPL.  See Gtk2 for a full notice.
138
139
140
141perl v5.12.0                      2010-05-02          Gtk2::EntryCompletion(3)
Impressum