SYNOPSIS

my $action = Gtk2::ToggleAction->new (name => 'one',
                                      tooltip => 'One');

DESCRIPTION

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.