Section Class Template Reference

you can add information More...

List of all members.

Public Member Functions

void setSections (const std::vector< unsigned > &width)
 Initializes the sections of the WidgetStatusBar.
void setText (const SmartUtil::tstring &newText, unsigned partNo)
 Sets the text of the given section number.


Detailed Description

template<class EventHandlerClass, class MessageMapPolicy>
class SmartWin::Section< EventHandlerClass, MessageMapPolicy >

you can add information

A Status Bar with sections is a normal statusbar except instead of one large area where you can add text there are several smaller sections which divides the status bar into smaller areas where you can separate information.


Member Function Documentation

void setSections ( const std::vector< unsigned > &  width  ) 

Initializes the sections of the WidgetStatusBar.

Use this one to set the number of sections and the width of them

void setText ( const SmartUtil::tstring &  newText,
unsigned  partNo 
)

Sets the text of the given section number.

Use this one to set the text of a specific section of the WidgetStatusBar

Back to SmartWin website
SourceForge.net Logo