.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Gtk2::Frame 3" .TH Gtk2::Frame 3 2024-09-01 "perl v5.40.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Gtk2::Frame \- wrapper for GtkFrame .SH HIERARCHY .IX Header "HIERARCHY" .Vb 7 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Container \& +\-\-\-\-Gtk2::Bin \& +\-\-\-\-Gtk2::Frame .Ve .SH INTERFACES .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH METHODS .IX Header "METHODS" .SS "widget = Gtk2::Frame\->\fBnew\fP ($label=undef)" .IX Subsection "widget = Gtk2::Frame->new ($label=undef)" .IP \(bu 4 \&\f(CW$label\fR (string or undef) .ie n .SS "(xalign, yalign) = $frame\->\fBget_label_align\fP" .el .SS "(xalign, yalign) = \f(CW$frame\fP\->\fBget_label_align\fP" .IX Subsection "(xalign, yalign) = $frame->get_label_align" .ie n .SS "$frame\->\fBset_label_align\fP ($xalign, $yalign)" .el .SS "\f(CW$frame\fP\->\fBset_label_align\fP ($xalign, \f(CW$yalign\fP)" .IX Subsection "$frame->set_label_align ($xalign, $yalign)" .IP \(bu 4 \&\f(CW$xalign\fR (double) .IP \(bu 4 \&\f(CW$yalign\fR (double) .ie n .SS "string = $frame\->\fBget_label\fP" .el .SS "string = \f(CW$frame\fP\->\fBget_label\fP" .IX Subsection "string = $frame->get_label" .ie n .SS "$frame\->\fBset_label\fP ($label=undef)" .el .SS "\f(CW$frame\fP\->\fBset_label\fP ($label=undef)" .IX Subsection "$frame->set_label ($label=undef)" .IP \(bu 4 \&\f(CW$label\fR (string or undef) .ie n .SS "widget = $frame\->\fBget_label_widget\fP" .el .SS "widget = \f(CW$frame\fP\->\fBget_label_widget\fP" .IX Subsection "widget = $frame->get_label_widget" .ie n .SS "$frame\->\fBset_label_widget\fP ($label_widget)" .el .SS "\f(CW$frame\fP\->\fBset_label_widget\fP ($label_widget)" .IX Subsection "$frame->set_label_widget ($label_widget)" .IP \(bu 4 \&\f(CW$label_widget\fR (Gtk2::Widget) .ie n .SS "shadowtype = $frame\->\fBget_shadow_type\fP" .el .SS "shadowtype = \f(CW$frame\fP\->\fBget_shadow_type\fP" .IX Subsection "shadowtype = $frame->get_shadow_type" .ie n .SS "$frame\->\fBset_shadow_type\fP ($type)" .el .SS "\f(CW$frame\fP\->\fBset_shadow_type\fP ($type)" .IX Subsection "$frame->set_shadow_type ($type)" .IP \(bu 4 \&\f(CW$type\fR (Gtk2::ShadowType) .SH PROPERTIES .IX Header "PROPERTIES" .IP "'label' (string : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'label' (string : default undef : readable / writable / private / static-nick / static-blurb)" Text of the frame's label .IP "'label\-widget' (Gtk2::Widget : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'label-widget' (Gtk2::Widget : default undef : readable / writable / private / static-nick / static-blurb)" A widget to display in place of the usual frame label .IP "'label\-xalign' (float : default 0 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'label-xalign' (float : default 0 : readable / writable / private / static-nick / static-blurb)" The horizontal alignment of the label .IP "'label\-yalign' (float : default 0.5 : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'label-yalign' (float : default 0.5 : readable / writable / private / static-nick / static-blurb)" The vertical alignment of the label .IP "'shadow' (Gtk2::ShadowType : default ""etched-in"" : readable / writable / private / static-nick / static-blurb / deprecated)" 4 .IX Item "'shadow' (Gtk2::ShadowType : default ""etched-in"" : readable / writable / private / static-nick / static-blurb / deprecated)" Deprecated property, use shadow_type instead .IP "'shadow\-type' (Gtk2::ShadowType : default ""etched-in"" : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'shadow-type' (Gtk2::ShadowType : default ""etched-in"" : readable / writable / private / static-nick / static-blurb)" Appearance of the frame border .SH "ENUMS AND FLAGS" .IX Header "ENUMS AND FLAGS" .SS "enum Gtk2::ShadowType" .IX Subsection "enum Gtk2::ShadowType" .IP \(bu 4 \&'none' / 'GTK_SHADOW_NONE' .IP \(bu 4 \&'in' / 'GTK_SHADOW_IN' .IP \(bu 4 \&'out' / 'GTK_SHADOW_OUT' .IP \(bu 4 \&'etched\-in' / 'GTK_SHADOW_ETCHED_IN' .IP \(bu 4 \&'etched\-out' / 'GTK_SHADOW_ETCHED_OUT' .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the LGPL. See Gtk2 for a full notice.