MenuToolButton


Object Hierarchy:

Gtk.MenuToolButton Gtk.MenuToolButton Gtk.MenuToolButton Gtk.ToolButton Gtk.ToolButton Gtk.ToolButton->Gtk.MenuToolButton Gtk.ToolItem Gtk.ToolItem Gtk.ToolItem->Gtk.ToolButton Gtk.Bin Gtk.Bin Gtk.Bin->Gtk.ToolItem Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Container GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Gtk.MenuToolButton Atk.Implementor->Gtk.ToolButton Atk.Implementor->Gtk.ToolItem Atk.Implementor->Gtk.Bin Atk.Implementor->Gtk.Container Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.MenuToolButton Gtk.Buildable->Gtk.ToolButton Gtk.Buildable->Gtk.ToolItem Gtk.Buildable->Gtk.Bin Gtk.Buildable->Gtk.Container Gtk.Buildable->Gtk.Widget Gtk.Activatable Gtk.Activatable Gtk.Activatable->Gtk.MenuToolButton Gtk.Activatable->Gtk.ToolButton Gtk.Activatable->Gtk.ToolItem Gtk.Actionable Gtk.Actionable Gtk.Actionable->Gtk.MenuToolButton Gtk.Actionable->Gtk.ToolButton

Description:

[ CCode ( type_id = "gtk_menu_tool_button_get_type ()" ) ]
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.Bin
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Atk.Implementor



2022 vala-language.org