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

NAME

6       Gtk2::Expander - wrapper for GtkExpander
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::Container
14                             +----Gtk2::Bin
15                                  +----Gtk2::Expander
16

INTERFACES

18         Glib::Object::_Unregistered::AtkImplementorIface
19         Gtk2::Buildable
20

METHODS

22   widget = Gtk2::Expander->new ($label=undef)
23       ·   $label (string or undef)
24
25   widget = Gtk2::Expander->new_with_mnemonic ($label)
26       ·   $label (string)
27
28   boolean = $expander->get_expanded
29   $expander->set_expanded ($expanded)
30       ·   $expanded (boolean)
31
32   boolean = $expander->get_label_fill
33       Since: gtk+ 2.22
34
35   $expander->set_label_fill ($label_fill)
36       ·   $label_fill (boolean)
37
38       Since: gtk+ 2.22
39
40   string = $expander->get_label
41   $expander->set_label ($label)
42       ·   $label (string)
43
44   widget = $expander->get_label_widget
45   $expander->set_label_widget ($label_widget)
46       ·   $label_widget (Gtk2::Widget)
47
48   integer = $expander->get_spacing
49   $expander->set_spacing ($spacing)
50       ·   $spacing (integer)
51
52   boolean = $expander->get_use_markup
53   $expander->set_use_markup ($use_markup)
54       ·   $use_markup (boolean)
55
56   boolean = $expander->get_use_underline
57   $expander->set_use_underline ($use_underline)
58       ·   $use_underline (boolean)
59

PROPERTIES

61       'expanded' (boolean : default false : readable / writable / construct /
62       private)
63           Whether the expander has been opened to reveal the child widget
64
65       'label' (string : default undef : readable / writable / construct /
66       private)
67           Text of the expander's label
68
69       'label-fill' (boolean : default false : readable / writable / construct
70       / private)
71           Whether the label widget should fill all available horizontal space
72
73       'label-widget' (Gtk2::Widget : default undef : readable / writable /
74       private)
75           A widget to display in place of the usual expander label
76
77       'spacing' (integer : default 0 : readable / writable / private)
78           Space to put between the label and the child
79
80       'use-markup' (boolean : default false : readable / writable / construct
81       / private)
82           The text of the label includes XML markup. See pango_parse_markup()
83
84       'use-underline' (boolean : default false : readable / writable /
85       construct / private)
86           If set, an underline in the text indicates the next character
87           should be used for the mnemonic accelerator key
88

STYLE PROPERTIES

90       'expander-size' (integer : default 10 : readable / private)
91           Size of the expander arrow
92
93       'expander-spacing' (integer : default 2 : readable / private)
94           Spacing around expander arrow
95

SIGNALS

97       activate (Gtk2::Expander)
98

SEE ALSO

100       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
101       Gtk2::Container, Gtk2::Bin
102
104       Copyright (C) 2003-2011 by the gtk2-perl team.
105
106       This software is licensed under the LGPL.  See Gtk2 for a full notice.
107
108
109
110perl v5.30.0                      2019-07-26                 Gtk2::Expander(3)
Impressum