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

SEE ALSO

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