Gtk2::Frame(3) User Contributed Perl Documentation Gtk2::Frame(3)

Gtk2::Frame - wrapper for GtkFrame

Glib::Object
+----Glib::InitiallyUnowned
     +----Gtk2::Object
          +----Gtk2::Widget
               +----Gtk2::Container
                    +----Gtk2::Bin
                         +----Gtk2::Frame

Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable

$label (string or undef)

$frame->set_label_align ($xalign, $yalign)

  • $xalign (double)
  • $yalign (double)

$frame->set_label ($label=undef)

$label (string or undef)

$frame->set_label_widget ($label_widget)

$label_widget (Gtk2::Widget)

$frame->set_shadow_type ($type)

$type (Gtk2::ShadowType)

'label' (string : default undef : readable / writable / private / static-nick / static-blurb)
Text of the frame's label
'label-widget' (Gtk2::Widget : default undef : readable / writable / private / static-nick / static-blurb)
A widget to display in place of the usual frame label
'label-xalign' (float : default 0 : readable / writable / private / static-nick / static-blurb)
The horizontal alignment of the label
'label-yalign' (float : default 0.5 : readable / writable / private / static-nick / static-blurb)
The vertical alignment of the label
'shadow' (Gtk2::ShadowType : default "etched-in" : readable / writable / private / static-nick / static-blurb / deprecated)
Deprecated property, use shadow_type instead
'shadow-type' (Gtk2::ShadowType : default "etched-in" : readable / writable / private / static-nick / static-blurb)
Appearance of the frame border

  • 'none' / 'GTK_SHADOW_NONE'
  • 'in' / 'GTK_SHADOW_IN'
  • 'out' / 'GTK_SHADOW_OUT'
  • 'etched-in' / 'GTK_SHADOW_ETCHED_IN'
  • 'etched-out' / 'GTK_SHADOW_ETCHED_OUT'

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2024-09-01 perl v5.40.0