Gtk2::ToggleAction my $action = Gtk2::ToggleAction->new (name => 'one', tooltip => 'One'); Note that the constructor slightly deviates from the convenience constructor in the C API. Instead of passing in a list of values for name, label, tooltip and stock-id, you just use key => value pairs like with Glib::Object::new. Glib::Object +----Gtk2::Action +----Gtk2::ToggleAction

boolean = $action->get_active

$action->set_active ($is_active)

boolean = $action->get_draw_as_radio

$action->set_draw_as_radio ($draw_as_radio)

$action->toggled
Whether the proxies for this action look like radio action proxies Gtk2, Glib::Object, Gtk2::Action Copyright (C) 2003-2005 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.