Gtk2::ToggleToolButton

Section: User Contributed Perl Documentation (3)
Updated: 2008-05-05
Index Return to Main Contents
 

NAME

Gtk2::ToggleToolButton  

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::ToolItem
                                +----Gtk2::ToolButton
                                     +----Gtk2::ToggleToolButton

 

INTERFACES

  Glib::Object::_Unregistered::AtkImplementorIface

 

METHODS

 

toolitem = Gtk2::ToggleToolButton->new

 

toolitem = Gtk2::ToggleToolButton->new_from_stock ($stock_id)

* $stock_id (string)
 

boolean = $button->get_active

 

$button->set_active ($is_active)

* $is_active (boolean)
 

PROPERTIES

'active' (boolean : readable / writable / private)
If the toggle button should be pressed in or not
 

SIGNALS

toggled (Gtk2::ToggleToolButton)
 

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem, Gtk2::ToolButton  

COPYRIGHT

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

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


 

Index

NAME
HIERARCHY
INTERFACES
METHODS
toolitem = Gtk2::ToggleToolButton->new
toolitem = Gtk2::ToggleToolButton->new_from_stock ($stock_id)
boolean = $button->get_active
$button->set_active ($is_active)
PROPERTIES
SIGNALS
SEE ALSO
COPYRIGHT

linux.jgfs.net manual pages