Fan

 

class

fwt::ToolBar

sys::Obj
  fwt::Widget
    fwt::ToolBar

ToolBar contains a bar of Button children.

Slots

addCommandSource

Button addCommand(Command c)

Add a button to the toolbar for the specified command. Default implementation is to add a button with only an icon and no text.

addSepSource

Void addSep()

Add a separator to the toolbar.

orientationSource

const Orientation orientation := Orientation.horizontal

Horizontal or veritical configuration. Defaults to horizontal. Must be set at construction time.