Обзор
Примеры
Скриншоты
Сравнения
Приложения
Загрузить
Руководства
Базар
Статус и История
Частые вопросы (FAQ)
Авторы и лицензия
Форум
Помощь проекту
Поиск по сайту
Язык
русский











SourceForge.net Logo



Эта страница еще не переведена. Вы хотите перевести?

 

ToolBar

 

class ToolBar : public BarCtrl

 

 

This class provides tool-bars.

 

 

Public Method List

 

void Set(Callback1<Bar&> bar)

This method sets the new content to the ToolBar. Content should always be provided as Bar routine - items should never be Add directly. You should call this each time status of any ToolBar button changes. ToolBar contains smart refresh logic so that only items actually changed are repainted.

 


 

void Post(Callback1<Bar&> bar)

Deprecated - do not use.

 


 

ToolBar& ButtonMinSize(Size sz)

Sets the minimal size of standard ToolBar button.

 


 

ToolBar& MaxIconSize(Size sz)

Sets the maximum size of an icon displayed in a button from the toolbar to sz.

 


 

static const Style& StyleDefault()

Returns the default style used to paint a ToolBar.

 


 

ToolBar& SetStyle(const Style& s)

Sets the visual style to ToolBar::Style s.

 


 

static int GetStdHeight()

Returns the standard height of a toolbar when used as a frame.

 

 

ToolBar::Style

 

struct Style : public ChStyle<Style> 

This structure defines the visual style of a ToolBar.

 

 

Страница доступна на english языке. Вы хотите внести вклад?