MenuToolButton
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_menu_tool_button_get_type ()" ) ]
public class MenuToolButton : ToolButton, Implementor, Actionable, Activatable, Buildable
public class MenuToolButton : ToolButton, Implementor, Actionable, Activatable, Buildable
A MenuToolButton is a ToolItem that contains a button and a small additional button with an arrow.
When clicked, the arrow button pops up a dropdown menu.
Use MenuToolButton to create a new MenuToolButton.
GtkMenuToolButton as GtkBuildable
The GtkMenuToolButton implementation of the GtkBuildable interface supports adding a menu by specifying “menu” as the “type” attribute of a `<child>` element.
An example for a UI definition fragment with menus:
<object class="GtkMenuToolButton">
<child type="menu">
<object class="GtkMenu"/>
</child>
</object>
Namespace: Gtk
Package: gtk+-3.0
Content:
Properties:
Creation methods:
Methods:
Signals:
Inherited Members:
All known members inherited from class Gtk.ToolButton
All known members inherited from class Gtk.ToolItem
All known members inherited from class Gtk.Bin
All known members inherited from class Gtk.Container
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Actionable
All known members inherited from interface Gtk.Activatable
All known members inherited from interface Gtk.Buildable