Navigation

Operators and Keywords

Function List:

C++ API

: hui = uitoolbar (property, value, …)
: hui = uitoolbar (parent, property, value, …)

Create a uitoolbar object and return a handle to it. A uitoolbar displays uitoggletool and uipushtool buttons.

If parent is omitted then a uitoolbar for the current figure is created. If no figure is available, a new figure is created first.

If parent is given then a uitoolbar relative to parent is created.

Any provided property value pairs will override the default values of the created uitoolbar object.

Uitoolbar properties are documented at ‘Uitoolbar Properties’.

Examples:

% create figure without a default toolbar
f = figure ("toolbar", "none");
% create empty toolbar
t = uitoolbar (f);

See also: figure, uitoggletool, uipushtool.

Package: octave