.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" 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 .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . 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::AccelLabel 3pm" .TH Gtk2::AccelLabel 3pm "2019-09-16" "perl v5.28.1" "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::AccelLabel \- wrapper for GtkAccelLabel .SH "DESCRIPTION" .IX Header "DESCRIPTION" Note that the \f(CW\*(C`accel\-widget\*(C'\fR property is a hard reference to the target widget. If it's a container parent of the AccelLabel then it will be a circular reference and will have to be unset by an explicit \&\f(CW\*(C`destroy\*(C'\fR when no longer wanted, as usual for such things. See Gtk2::MenuItem for how this affects the common case of a MenuItem containing a AccelLabel. .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 7 \& Glib::Object \& +\-\-\-\-Glib::InitiallyUnowned \& +\-\-\-\-Gtk2::Object \& +\-\-\-\-Gtk2::Widget \& +\-\-\-\-Gtk2::Misc \& +\-\-\-\-Gtk2::Label \& +\-\-\-\-Gtk2::AccelLabel .Ve .SH "INTERFACES" .IX Header "INTERFACES" .Vb 2 \& Glib::Object::_Unregistered::AtkImplementorIface \& Gtk2::Buildable .Ve .SH "METHODS" .IX Header "METHODS" .SS "widget = Gtk2::AccelLabel\->\fBnew\fP ($string)" .IX Subsection "widget = Gtk2::AccelLabel->new ($string)" .IP "\(bu" 4 \&\f(CW$string\fR (string) .ie n .SS "widget or undef = $accel_label\->\fBget_accel_widget\fP" .el .SS "widget or undef = \f(CW$accel_label\fP\->\fBget_accel_widget\fP" .IX Subsection "widget or undef = $accel_label->get_accel_widget" .ie n .SS "$accel_label\->\fBset_accel_widget\fP ($accel_widget)" .el .SS "\f(CW$accel_label\fP\->\fBset_accel_widget\fP ($accel_widget)" .IX Subsection "$accel_label->set_accel_widget ($accel_widget)" .IP "\(bu" 4 \&\f(CW$accel_widget\fR (Gtk2::Widget or undef) .ie n .SS "integer = $accel_label\->\fBget_accel_width\fP" .el .SS "integer = \f(CW$accel_label\fP\->\fBget_accel_width\fP" .IX Subsection "integer = $accel_label->get_accel_width" .ie n .SS "boolean = $accel_label\->\fBrefetch\fP" .el .SS "boolean = \f(CW$accel_label\fP\->\fBrefetch\fP" .IX Subsection "boolean = $accel_label->refetch" .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'accel\-closure' (GClosure : default undef : readable / writable / private)" 4 .IX Item "'accel-closure' (GClosure : default undef : readable / writable / private)" The closure to be monitored for accelerator changes .IP "'accel\-widget' (Gtk2::Widget : default undef : readable / writable / private)" 4 .IX Item "'accel-widget' (Gtk2::Widget : default undef : readable / writable / private)" The widget to be monitored for accelerator changes .SH "SEE ALSO" .IX Header "SEE ALSO" Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Misc, Gtk2::Label .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2003\-2011 by the gtk2\-perl team. .PP This software is licensed under the \s-1LGPL.\s0 See Gtk2 for a full notice.