Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
17
Добавлен:
09.02.2015
Размер:
257.02 Кб
Скачать

Information.

Example:

This example creates a uitoolbar object and places a uitoggletool

object on it.

h = figure('ToolBar','none');

ht = uitoolbar(h);

a = rand(20,20,3);

htt = uitoggletool(ht,'CData',a,'TooltipString','Hello');

See also get, set, uipushtool, uitoolbar, uimenu, figure.

Reference page in Help browser

doc uitoggletool

<uitoolbar> - Create a toolbar in a figure window.

UITOOLBAR Create a toolbar in a figure window.

UITOOLBAR creates an empty toolbar with default property values in the

current figure window and returns a handle to it.

UITOOLBAR('PropertyName1', value1, 'PropertyName2', value2,...)

creates an empty toolbar with the specified properties in the current

figure window and returns a handle to it.

UITOOLBAR(FIG, ...) creates an empty toolbar in the specified figure.

H = UITOOLBAR(...) creates an empty toolbar and assigns the handle to H.

UITOOLBAR properties can be set at object creation time using the

PropertyName/PropertyValue pair arguments to UITOOLBAR, or changed

later using the SET command.

Execute GET(H) to see a list of UITOOLBAR object properties and their

current values. Execute SET(H) to see a list of UITOOLBAR object

properties and legal property values. See the reference guide for more

Information.

Example:

h=figure('ToolBar','none')

ht=uitoolbar(h)

See also get, set, uipushtool, uitoggletool, uimenu, figure.

Reference page in Help browser

doc uitoolbar

Соседние файлы в папке Библиотеки Matlab