// Create Toolbar with controls
var uidToolbar = CreateToolbar("My Toolbar");
var uidCmd = commands("Info Scene").uid;
CreateToolbarButton( uidToolbar, uidCmd );
CreateToolbarControl( uidToolbar, siTBCtrlLineSeparator, "line separator" );
CreateToolbarButton( uidToolbar, uidCmd );
CreateToolbarControl( uidToolbar, siTBCtrlMenu, "menu button" );
CreateToolbarButton( uidToolbar, uidCmd );
CreateToolbarControl( uidToolbar, siTBCtrlLineBreak, "line break" );
CreateToolbarButton( uidToolbar, uidCmd );
CreateToolbarControl( uidToolbar, siTBCtrlGroupHeader, "group header" );
CreateToolbarButton( uidToolbar, uidCmd );
CreateToolbarControl( uidToolbar, siTBCtrlBlankSeparator, "blank separator" );
CreateToolbarButton( uidToolbar, uidCmd ); |