Gtk2::ToggleAction(3pm) | User Contributed Perl Documentation | Gtk2::ToggleAction(3pm) |
Gtk2::ToggleAction - wrapper for GtkToggleAction
my $action = Gtk2::ToggleAction->new (name => 'one', tooltip => 'One');
Note 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.
Glib::Object +----Gtk2::Action +----Gtk2::ToggleAction
Gtk2::Buildable
Gtk2, Glib::Object, Gtk2::Action
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
2017-06-24 | perl v5.24.1 |