=head1 NAME

Gtk2::ToggleButton

=cut

=head1 HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Button
                                +----Gtk2::ToggleButton



=cut

=head1 INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::Activatable



=cut


=head1 METHODS

=head2 widget = Gtk2::ToggleButton-E<gt>B<new> ($label=undef)

=over

=item * $label (string) 

=back

=head2 widget = Gtk2::ToggleButton-E<gt>B<new_with_label> ($label=undef)

=over

=item * $label (string) 

=back

=head2 widget = Gtk2::ToggleButton-E<gt>B<new_with_mnemonic> ($label=undef)

=over

=item * $label (string) 

=back

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

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

=over

=item * $is_active (boolean) 

=back

=head2 boolean = $toggle_button-E<gt>B<get_inconsistent> 

=head2 $toggle_button-E<gt>B<set_inconsistent> ($setting)

=over

=item * $setting (boolean) 

=back

=head2 boolean = $toggle_button-E<gt>B<get_mode> 

=head2 $toggle_button-E<gt>B<set_mode> ($draw_indicator)

=over

=item * $draw_indicator (boolean) 

=back

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



=cut


=head1 PROPERTIES

=over

=item 'active' (boolean : default false : readable / writable / private)

If the toggle button should be pressed in or not

=item 'draw-indicator' (boolean : default false : readable / writable / private)

If the toggle part of the button is displayed

=item 'inconsistent' (boolean : default false : readable / writable / private)

If the toggle button is in an "in between" state

=back



=cut


=head1 SIGNALS

=over

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

=back



=cut


=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>, L<Glib::InitiallyUnowned>, L<Gtk2::Object>, L<Gtk2::Widget>, L<Gtk2::Container>, L<Gtk2::Bin>, L<Gtk2::Button>


=cut


=head1 COPYRIGHT

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

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



=cut

