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

ENUMS AND FLAGS

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

SEE ALSO

75       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
76       Gtk2::Container, Gtk2::Bin
77
79       Copyright (C) 2003-2008 by the gtk2-perl team.
80
81       This software is licensed under the LGPL.  See Gtk2 for a full notice.
82
83
84
85perl v5.12.0                      2010-05-02                    Gtk2::Frame(3)
Impressum