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

METHODS

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

PROPERTIES

86       'inline-completion' (boolean : readable / writable / private)
87           Whether the common prefix should be inserted automatically
88
89       'minimum-key-length' (integer : readable / writable / private)
90           Minimum length of the search key in order to look up matches
91
92       'model' (Gtk2::TreeModel : readable / writable / private)
93           The model to find matches in
94
95       'popup-completion' (boolean : readable / writable / private)
96           Whether the completions should be shown in a popup window
97
98       'popup-set-width' (boolean : readable / writable / private)
99           If TRUE, the popup window will have the same size as the entry
100
101       'popup-single-match' (boolean : readable / writable / private)
102           If TRUE, the popup window will appear for a single match.
103
104       'text-column' (integer : readable / writable / private)
105           The column of the model containing the strings.
106

SIGNALS

108       boolean = insert-prefix (Gtk2::EntryCompletion, string)
109       boolean = match-selected (Gtk2::EntryCompletion, Gtk2::TreeModel,
110       Gtk2::TreeIter)
111       action-activated (Gtk2::EntryCompletion, integer)
112

SEE ALSO

114       Gtk2, Glib::Object
115
117       Copyright (C) 2003-2007 by the gtk2-perl team.
118
119       This software is licensed under the LGPL.  See Gtk2 for a full notice.
120
121
122
123perl v5.8.8                       2007-03-18          Gtk2::EntryCompletion(3)
Impressum