1Gtk2::RadioAction(3) User Contributed Perl Documentation Gtk2::RadioAction(3)
2
3
4
6 Gtk2::RadioAction - wrapper for GtkRadioAction
7
9 my $action = Gtk2::RadioAction->new (name => 'one',
10 tooltip => 'One',
11 value => 23);
12
13 Note that the constructor slightly deviates from the convenience
14 constructor in the C API. Instead of passing in a list of values for
15 name, label, tooltip, stock-id and value, you just use key => value
16 pairs like with Glib::Object::new.
17
19 Glib::Object
20 +----Gtk2::Action
21 +----Gtk2::ToggleAction
22 +----Gtk2::RadioAction
23
25 Gtk2::Buildable
26
28 integer = $action->get_current_value
29 $action->set_current_value ($value)
30 · $value (integer)
31
32 Since: gtk+ 2.10
33
34 arrayref = $action->get_group
35 $action->set_group ($member_or_listref)
36 · $member_or_listref (scalar)
37
39 'current-value' (integer : default 0 : readable / writable / private)
40 The value property of the currently active member of the group to
41 which this action belongs.
42
43 'group' (Gtk2::RadioAction : default undef : writable / private)
44 The radio action whose group this action belongs to.
45
46 'value' (integer : default 0 : readable / writable / private)
47 The value returned by gtk_radio_action_get_current_value() when
48 this action is the current action of its group.
49
51 changed (Gtk2::RadioAction, Gtk2::RadioAction)
52
54 Gtk2, Glib::Object, Gtk2::Action, Gtk2::ToggleAction
55
57 Copyright (C) 2003-2011 by the gtk2-perl team.
58
59 This software is licensed under the LGPL. See Gtk2 for a full notice.
60
61
62
63perl v5.28.0 2018-07-18 Gtk2::RadioAction(3)