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

NAME

6       Gtk2::Frame - wrapper for GtkFrame
7

HIERARCHY

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

INTERFACES

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

METHODS

22   widget = Gtk2::Frame->new ($label=undef)
23       •   $label (string or undef)
24
25   (xalign, yalign) = $frame->get_label_align
26   $frame->set_label_align ($xalign, $yalign)
27       •   $xalign (double)
28
29       •   $yalign (double)
30
31   string = $frame->get_label
32   $frame->set_label ($label=undef)
33       •   $label (string or undef)
34
35   widget = $frame->get_label_widget
36   $frame->set_label_widget ($label_widget)
37       •   $label_widget (Gtk2::Widget)
38
39   shadowtype = $frame->get_shadow_type
40   $frame->set_shadow_type ($type)
41       •   $type (Gtk2::ShadowType)
42

PROPERTIES

44       'label' (string : default undef : readable / writable / private /
45       static-nick / static-blurb)
46           Text of the frame's label
47
48       'label-widget' (Gtk2::Widget : default undef : readable / writable /
49       private / static-nick / static-blurb)
50           A widget to display in place of the usual frame label
51
52       'label-xalign' (float : default 0 : readable / writable / private /
53       static-nick / static-blurb)
54           The horizontal alignment of the label
55
56       'label-yalign' (float : default 0.5 : readable / writable / private /
57       static-nick / static-blurb)
58           The vertical alignment of the label
59
60       'shadow' (Gtk2::ShadowType : default "etched-in" : readable / writable
61       / private / static-nick / static-blurb / deprecated)
62           Deprecated property, use shadow_type instead
63
64       'shadow-type' (Gtk2::ShadowType : default "etched-in" : readable /
65       writable / private / static-nick / static-blurb)
66           Appearance of the frame border
67

ENUMS AND FLAGS

69   enum Gtk2::ShadowType
70       •   'none' / 'GTK_SHADOW_NONE'
71
72       •   'in' / 'GTK_SHADOW_IN'
73
74       •   'out' / 'GTK_SHADOW_OUT'
75
76       •   'etched-in' / 'GTK_SHADOW_ETCHED_IN'
77
78       •   'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
79

SEE ALSO

81       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
82       Gtk2::Container, Gtk2::Bin
83
85       Copyright (C) 2003-2011 by the gtk2-perl team.
86
87       This software is licensed under the LGPL.  See Gtk2 for a full notice.
88
89
90
91perl v5.34.0                      2021-07-22                    Gtk2::Frame(3)
Impressum