![]() |
![]()
| ![]() |
![]()
NAMEGtk2::ToggleAction - wrapper for GtkToggleAction SYNOPSISmy $action = Gtk2::ToggleAction->new (name => 'one', tooltip => 'One'); DESCRIPTIONNote that "new" is the plain Glib::Object "new" (see Gtk2::Action). The name, label, tooltip and stock_id arguments of the C code gtk_toggle_action_new() can be given as key/value pairs, plus other property values like active or sensitive. HIERARCHYGlib::Object +----Gtk2::Action +----Gtk2::ToggleAction INTERFACESGtk2::Buildable METHODSboolean = $action->get_active$action->set_active ($is_active)
boolean = $action->get_draw_as_radio$action->set_draw_as_radio ($draw_as_radio)
$action->toggledPROPERTIES
SIGNALSSEE ALSOGtk2, Glib::Object, Gtk2::Action COPYRIGHTCopyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.
|