class fwt::ToolBar

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

@Js
@Serializable { collection=true }

Source

ToolBar contains a bar of Button children.

addCommand

Button addCommand(Command c)

Source

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

addSep

Void addSep()

Source

Add a separator to the toolbar.

make

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

Source

Default constructor.

orientation

const Orientation orientation := Orientation.horizontal

Source

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