Fantom

 

class

fwt::ToolBar

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

@Serializable { simple=false collection=true }

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.

makeSource

new make(|This|? f := null)

Default constructor.

orientationSource

const Orientation orientation := Orientation.horizontal

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