Gtk2::MenuToolButton.3pm

Langue: en

Version: 2010-05-02 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Gtk2::MenuToolButton

HIERARCHY

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

INTERFACES

   Glib::Object::_Unregistered::AtkImplementorIface
   Gtk2::Buildable
   Glib::Object::_Unregistered::GtkActivatable
 
 

METHODS

toolitem = Gtk2::MenuToolButton->new ($icon_widget, $label)

*
$icon_widget (Gtk2::Widget or undef)
*
$label (string or undef)

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

*
$stock_id (string)

$button->set_arrow_tooltip_markup ($markup)

*
$markup (string or undef)

Since: gtk+ 2.12

$button->set_arrow_tooltip ($tooltips, $tip_text, $tip_private)

*
$tooltips (Gtk2::Tooltips)
*
$tip_text (string)
*
$tip_private (string)

$button->set_arrow_tooltip_text ($text)

*
$text (string or undef)

Since: gtk+ 2.12

widget or undef = $button->get_menu

$button->set_menu ($menu)

*
$menu (Gtk2::Widget or undef)

PROPERTIES

'menu' (Gtk2::Menu : readable / writable / private)
The dropdown menu

SIGNALS

show-menu (Gtk2::MenuToolButton)

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::ToolItem, Gtk2::ToolButton Copyright (C) 2003-2008 by the gtk2-perl team.

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