Next: Gtk2::ToggleButton | Previous: Gtk2::TextView | [Gtk2-Perl - Table of Contents] | [Gtk2-Perl - Index] |
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
Gtk2::Buildable
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.