=head1 NAME

Gtk2::ToggleAction

=for position SYNOPSIS

=head1 SYNOPSIS

  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.

=cut



=head1 HIERARCHY

  Glib::Object
  +----Gtk2::Action
       +----Gtk2::ToggleAction


=head1 METHODS

=head2 boolean = $action-E<gt>B<get_active> 

=over

=back

=head2 $action-E<gt>B<set_active> ($is_active)

=over

=over

=item * $is_active (boolean) 

=back

=back

=head2 boolean = $action-E<gt>B<get_draw_as_radio> 

=over

=back

=head2 $action-E<gt>B<set_draw_as_radio> ($draw_as_radio)

=over

=over

=item * $draw_as_radio (boolean) 

=back

=back

=head2 $action-E<gt>B<toggled> 

=over

=back


=head1 PROPERTIES

=over

=item 'draw-as-radio' (boolean : readable / writable / private)

Whether the proxies for this action look like radio action proxies

=back


=head1 SIGNALS

=over

=item B<toggled> (Gtk2::ToggleAction)

=back


=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>, L<Gtk2::Action>

=head1 COPYRIGHT

Copyright (C) 2003-2005 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

