Gtk2::ToggleToolButton(3pm)

Gtk2::ToggleToolButton3pm

Wrapper for gtktoggletoolbutton

Hierarchy

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

Interfaces

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

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 : default false : readable / writable / private)

If the toggle button should be pressed in or not

Signals

toggled (Gtk2::ToggleToolButton)

Releases

7 releases since Debian 3.1 (Sarge); the text changed 6 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 9
  7. 10

From libgtk2-perl-doc 2:1.24992-1 in Debian 10 (Buster). Parsed by carta from the page's man source.