ToolButton


Object Hierarchy:

Gtk.ToolButton Gtk.ToolButton Gtk.ToolButton 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.ToolButton Atk.Implementor->Gtk.ToolItem Atk.Implementor->Gtk.Bin Atk.Implementor->Gtk.Container Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable 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.ToolButton Gtk.Activatable->Gtk.ToolItem Gtk.Actionable Gtk.Actionable Gtk.Actionable->Gtk.ToolButton

Description:

[ CCode ( type_id = "gtk_tool_button_get_type ()" ) ]
public class ToolButton : ToolItem, Implementor, Actionable, Activatable, Buildable

ToolButtons are ToolItems containing buttons.

Use ToolButton to create a new ToolButton .

The label of a ToolButton is determined by the properties label_widget, label , and stock_id. If label_widget is non-null, then that widget is used as the label. Otherwise, if label is non- null, that string is used as the label. Otherwise, if stock_id is non-null, the label is determined by the stock item. Otherwise, the button does not have a label.

The icon of a ToolButton is determined by the properties icon_widget and stock_id. If icon_widget is non-null , then that widget is used as the icon. Otherwise, if stock_id is non- null, the icon is determined by the stock item. Otherwise, the button does not have a icon.

CSS nodes

GtkToolButton has a single CSS node with name toolbutton.


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