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           Text of the frame's label
46
47       'label-widget' (Gtk2::Widget : default undef : readable / writable /
48       private)
49           A widget to display in place of the usual frame label
50
51       'label-xalign' (float : default 0 : readable / writable / private)
52           The horizontal alignment of the label
53
54       'label-yalign' (float : default 0.5 : readable / writable / private)
55           The vertical alignment of the label
56
57       'shadow' (Gtk2::ShadowType : default "etched-in" : readable / writable
58       / private)
59           Deprecated property, use shadow_type instead
60
61       'shadow-type' (Gtk2::ShadowType : default "etched-in" : readable /
62       writable / private)
63           Appearance of the frame border
64

ENUMS AND FLAGS

66   enum Gtk2::ShadowType
67       ·   'none' / 'GTK_SHADOW_NONE'
68
69       ·   'in' / 'GTK_SHADOW_IN'
70
71       ·   'out' / 'GTK_SHADOW_OUT'
72
73       ·   'etched-in' / 'GTK_SHADOW_ETCHED_IN'
74
75       ·   'etched-out' / 'GTK_SHADOW_ETCHED_OUT'
76

SEE ALSO

78       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
79       Gtk2::Container, Gtk2::Bin
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.30.1                      2020-01-30                    Gtk2::Frame(3)
Impressum