.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" 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::AccelLabel 3" .TH Gtk2::AccelLabel 3 2023-07-25 "perl v5.38.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::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 / static-nick / static-blurb)" 4 .IX Item "'accel-closure' (GClosure : default undef : readable / writable / private / static-nick / static-blurb)" The closure to be monitored for accelerator changes .IP "'accel\-widget' (Gtk2::Widget : default undef : readable / writable / private / static-nick / static-blurb)" 4 .IX Item "'accel-widget' (Gtk2::Widget : default undef : readable / writable / private / static-nick / static-blurb)" 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 LGPL. See Gtk2 for a full notice.