Gtk2::MenuToolButton(3) User Contributed Perl Documentation Gtk2::MenuToolButton(3)

Gtk2::MenuToolButton - wrapper for GtkMenuToolButton

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

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

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

$button->set_menu ($menu)

$menu (Gtk2::Widget or undef)

'menu' (Gtk2::Menu : default undef : readable / writable / private / static-nick / static-blurb)
The dropdown menu

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

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

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

2022-05-29 perl v5.36.0