1Gtk2::RadioAction(3) User Contributed Perl Documentation Gtk2::RadioAction(3)
2
3
4
6 Gtk2::RadioAction
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 con‐
14 structor 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 integer = $action->get_current_value
26
27 $action->set_current_value ($value)
28
29 * $value (integer)
30
31 list = $action->get_group
32
33 $action->set_group ($member_or_listref)
34
35 * $member_or_listref (scalar)
36
38 'current-value' (integer : readable / writable / private)
39 The value property of the currently active member of the group to
40 which this action belongs.
41
42 'group' (Gtk2::RadioAction : writable / private)
43 The radio action whose group this action belongs to.
44
45 'value' (integer : readable / writable / private)
46 The value returned by gtk_radio_action_get_current_value() when
47 this action is the current action of its group.
48
50 changed (Gtk2::RadioAction, Gtk2::RadioAction)
51
53 Gtk2, Glib::Object, Gtk2::Action, Gtk2::ToggleAction
54
56 Copyright (C) 2003-2007 by the gtk2-perl team.
57
58 This software is licensed under the LGPL. See Gtk2 for a full notice.
59
60
61
62perl v5.8.8 2007-03-18 Gtk2::RadioAction(3)