1Gtk2::AccelLabel(3) User Contributed Perl Documentation Gtk2::AccelLabel(3)
2
3
4
6 Gtk2::AccelLabel - wrapper for GtkAccelLabel
7
9 Note that the "accel-widget" property is a hard reference to the target
10 widget. If it's a container parent of the AccelLabel then it will be a
11 circular reference and will have to be unset by an explicit "destroy"
12 when no longer wanted, as usual for such things. See Gtk2::MenuItem
13 for how this affects the common case of a MenuItem containing a
14 AccelLabel.
15
17 Glib::Object
18 +----Glib::InitiallyUnowned
19 +----Gtk2::Object
20 +----Gtk2::Widget
21 +----Gtk2::Misc
22 +----Gtk2::Label
23 +----Gtk2::AccelLabel
24
26 Glib::Object::_Unregistered::AtkImplementorIface
27 Gtk2::Buildable
28
30 widget = Gtk2::AccelLabel->new ($string)
31 · $string (string)
32
33 widget or undef = $accel_label->get_accel_widget
34 $accel_label->set_accel_widget ($accel_widget)
35 · $accel_widget (Gtk2::Widget or undef)
36
37 integer = $accel_label->get_accel_width
38 boolean = $accel_label->refetch
40 'accel-closure' (GClosure : default undef : readable / writable /
41 private)
42 The closure to be monitored for accelerator changes
43
44 'accel-widget' (Gtk2::Widget : default undef : readable / writable /
45 private)
46 The widget to be monitored for accelerator changes
47
49 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
50 Gtk2::Misc, Gtk2::Label
51
53 Copyright (C) 2003-2011 by the gtk2-perl team.
54
55 This software is licensed under the LGPL. See Gtk2 for a full notice.
56
57
58
59perl v5.30.1 2020-01-30 Gtk2::AccelLabel(3)