ToolBar:
Filter:
Classes | GUI

ToolBar : AbstractActionView : View : QObject : Object

An inline button bar populated by MenuActions
Source: Menu.sc

Description

A ToolBar is similar to a Menu, with several key differences:

Class Methods

ToolBar.new( ... actions)

Create a new ToolBar containing one or more actions.

Arguments:

... actions

One or more MenuAction

Inherited class methods

Undocumented class methods

ToolBar.qtClass

Instance Methods

.orientation

.orientation = i

The horizontal or vertical orientation of the ToolBar

Arguments:

i

A QOrientation

.toolButtonStyle

.toolButtonStyle = i

Controls whether the toolbar shows icons, text, or both.

Arguments:

i

An integer; one of the values of QToolButtonStyle.

Discussion:

Inherited instance methods

Undocumented instance methods

.floatable

.floatable = b

.floating

.floating = b

.movable

.movable = b

Examples