1Gtk2::Combo(3)        User Contributed Perl Documentation       Gtk2::Combo(3)
2
3
4

NAME

6       Gtk2::Combo - wrapper for GtkCombo
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Box
15                                  +----Gtk2::HBox
16                                       +----Gtk2::Combo
17

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21         Gtk2::Orientable
22

DEPRECATION WARNING

24       Gtk2::Combo has been marked as deprecated, and should not be used in
25       newly written code.
26
27       You should use Gtk2::ComboBox instead of Gtk2::Combo.
28

METHODS

30   widget = Gtk2::Combo->new
31   $combo->set_case_sensitive ($val)
32       ·   $val (boolean)
33
34   $combo->disable_activate
35   widget = $combo->entry
36   $combo->set_item_string ($item, $item_value)
37       ·   $item (Gtk2::Item)
38
39       ·   $item_value (string)
40
41   widget = $combo->list
42   $combo->set_popdown_strings (...)
43       ·   ... (list) of strings
44
45   $combo->set_use_arrows_always ($val)
46       ·   $val (boolean)
47
48   $combo->set_use_arrows ($val)
49       ·   $val (boolean)
50
51   $combo->set_value_in_list ($val, $ok_if_empty)
52       ·   $val (boolean)
53
54       ·   $ok_if_empty (boolean)
55

PROPERTIES

57       'allow-empty' (boolean : default true : readable / writable / private)
58           Whether an empty value may be entered in this field
59
60       'case-sensitive' (boolean : default false : readable / writable /
61       private)
62           Whether list item matching is case sensitive
63
64       'enable-arrow-keys' (boolean : default true : readable / writable /
65       private)
66           Whether the arrow keys move through the list of items
67
68       'enable-arrows-always' (boolean : default true : readable / writable /
69       private)
70           Obsolete property, ignored
71
72       'value-in-list' (boolean : default false : readable / writable /
73       private)
74           Whether entered values must already be present in the list
75

SEE ALSO

77       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
78       Gtk2::Container, Gtk2::Box, Gtk2::HBox
79
81       Copyright (C) 2003-2011 by the gtk2-perl team.
82
83       This software is licensed under the LGPL.  See Gtk2 for a full notice.
84
85
86
87perl v5.28.1                      2019-02-02                    Gtk2::Combo(3)
Impressum