gtk-tool-item, gtk-bin, gtk-container, gtk-widget, g-initially-unowned, gtk-buildable, gtk-activatable, g-object, common-lisp:standard-object, common-lisp:t
gtk-tool-button's are gtk-tool-item's containing buttons.
Use the function gtk-tool-button-new to create a new gtk-tool-button. Use the function gtk-tool-button-new-from-stock to create a gtk-tool-button containing a stock item.
The label of a gtk-tool-button is determined by the properties label-widget, label, and stock-id. If label-widget is non-nil, then that widget is used as the label. Otherwise, if label is non-nil, that string is used as the label. Otherwise, if stock-id is non-nil, the label is determined by the stock item. Otherwise, the button does not have a label.
The icon of a gtk-tool-button is determined by the properties icon-widget and stock-id. If icon-widget is non-nil, then that widget is used as the icon. Otherwise, if stock-id is non-nil, the icon is determined by the stock item. Otherwise, the button does not have a icon.
The gtk-tool-button class has a single CSS node with name toolbutton.
Style Property Details
The "icon-spacing" style property"icon-spacing" of type :int (Read / Write)
Spacing in pixels between the icon and label.
Allowed values: >= 0
Default value: 3
The "clicked" signal
lambda (toolbutton) : ActionThis signal is emitted when the tool button is clicked with the mouse or activated with the keyboard.
Slot Access Functions
Inherited Slot Access Functions