dh_Tabs:
Same as Lokasenna Tabs except changed most property names.
Properties:
opts or
optarray:
The titles of the tabs. Can be specified as a table of strings using
'opts' or 'optarray', or a comma separated string using 'opts'.
Tab titles are ultimately stored in 'optarray'.
If 'optarray' or 'opts' is not specified, or if 'optarray' is
specified as an empty table (optarray = { } or opts = { })
then 'optarray' will be initialized to {"Tab1"}.
If specified as a comma separated string (opts = "Tab1,
Tab2, Tab3") it will be converted to a table and get
stored in 'optarray'.
tab_w:
The width of the individual tabs.
tab_h:
The height of the tab bar.
Note: The tab bar draws a 6 pixel high rectangle at the bottom
using "wnd_bg" color to cover up some "ugliness" at bottom of bar.
This adds 6px to the tab_h. I think there is better way to handle
this, but haven't attacked it yet.
fullwidth:
When true the menu extends to the right of the script window.
limit_w:
When 'fullwidth' is false this can be set to limit the
width of the menubar. If less than the width of the combined titles,
the latter will be used. If set to 0 then the combined title width
will be used.
--------------------------------------------------------
attribute: property_name default value
--------------------------------------------------------
tab names: opts or optarray {"Tab 1"}
tab width: tab_w 48
tab height: tab_h 26
full width: fullwidth true
limit width: limit_w 0
font tab active: font_tab_active "sans24"
font tab inactive: font_tab_inactive "sans22"
pad between tabs: pad 8
-- colors --
background: col_bg "elm_bg"
text: col_text "txt"
active tab: col_tab_active "tab_active"
inactive tab: col_tab_inactive "tab_inactive"
--------------------------------------------------------