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

NAME

6       Gtk2::Frame
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

METHODS

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

PROPERTIES

51       'label' (string : readable / writable / private)
52           Text of the frame's label
53
54       'label-widget' (Gtk2::Widget : readable / writable / private)
55           A widget to display in place of the usual frame label
56
57       'label-xalign' (Glib::Float : readable / writable / private)
58           The horizontal alignment of the label
59
60       'label-yalign' (Glib::Float : readable / writable / private)
61           The vertical alignment of the label
62
63       'shadow' (Gtk2::ShadowType : readable / writable / private)
64           Deprecated property, use shadow_type instead
65
66       'shadow-type' (Gtk2::ShadowType : readable / writable / private)
67           Appearance of the frame border
68

ENUMS AND FLAGS

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

SEE ALSO

79       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
80       Gtk2::Container, Gtk2::Bin
81
83       Copyright (C) 2003-2007 by the gtk2-perl team.
84
85       This software is licensed under the LGPL.  See Gtk2 for a full notice.
86
87
88
89perl v5.8.8                       2007-03-18                    Gtk2::Frame(3)
Impressum