https://wiki.visionaire2d.net/index.php?title=Toolbar&feed=atom&action=historyToolbar - Revision history2024-03-28T10:10:08ZRevision history for this page on the wikiMediaWiki 1.39.6https://wiki.visionaire2d.net/index.php?title=Toolbar&diff=2051&oldid=prevAlex: Bot (Edward's framework)2009-08-16T10:57:17Z<p>Bot (Edward's framework)</p>
<p><b>New page</b></p><div>==toolbar==<br />
Creates a toolbar.<br />
<br />
After execution the new toolbar is the default-parent, the default-layout is empty.<br />
<br />
Lua Syntax:<br />
<pre>toolbar( [windowName], {flags=1, <br />
edit = true|false, <br />
vertical = true|false, <br />
select = int, <br />
addSeparator = true|false, <br />
toolBitmapSize = {x=int,y=int}})</pre><br />
===Arguments===<br />
====windowName====<br />
:'''"string"''' - Name of the new toolbar.<br />
===Flags===<br />
====e/edit====<br />
<br />
:If true then edit an existing toolbar.<br />
====v/vertical====<br />
<br />
:If true then a vertical toolbar is created, default is horizontal.<br />
====s/select====<br />
<br />
:Selects a toolbutton of the toolbar. Specifies the button (first button starts at 0) which will be selected. Only allowed with edit flag. If set to -1 then all buttons of the toolbar will be deselected.<br />
====asp/addSeparator====<br />
<br />
:If true then a separator will be added to the toolbar. Only possible with edit flag.<br />
====tbs/toolBitmapSize====<br />
<br />
:Specifies the size of the tool bitmaps. If not specified then the default size 16x15 is used.<br />
===Return Values===<br />
;String<br />
:Name of the new toolbar.</div>Alex