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

STYLE PROPERTIES

91       'expander-size' (integer : default 10 : readable / private / static-
92       nick / static-blurb)
93           Size of the expander arrow
94
95       'expander-spacing' (integer : default 2 : readable / private / static-
96       nick / static-blurb)
97           Spacing around expander arrow
98

SIGNALS

100       activate (Gtk2::Expander)
101

SEE ALSO

103       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
104       Gtk2::Container, Gtk2::Bin
105
107       Copyright (C) 2003-2011 by the gtk2-perl team.
108
109       This software is licensed under the LGPL.  See Gtk2 for a full notice.
110
111
112
113perl v5.32.1                      2021-01-27                 Gtk2::Expander(3)
Impressum