Overview
Examples
Screenshots
Comparisons
Applications
Download
Manual
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Language
English











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.

 

 

Last edit by chickenk on 03/05/2011. Do you want to contribute?. T++