![]() |
![]() |
toolbar.defineDefines a toolbar (creates it) |
Syntax |
|
Description |
This command provides a quick way to define a toolbar: it is meant as a shortcut for
the sequence toolbar.create,toolbar.addbutton,.... <tbname> and <label> have the same meaning as for the toolbar.create command. The definition block can contain one or more <b>button</b> statements that act just like toolbar.addbutton was called. The <name>,<icon>,<text> and <callback code> parameters have all the same meaning. The definition block can contains one or more <b>separator</b> statements that act exactly like toolbar.addseparator. If the toolbar identified by <tbname> already exists it is cleared, unless -m is used: in that case the new contents are merged to the existing ones. |
See also |
toolbar.create toolbar.addbutton toolbar.addseparator |