Copyright © 2008, 2009 Arndt Roger Schneider
The Rtl_tabset supports custom Tabs. It is possible to
define individual design for single tabs as-well as for
the entire tabset. The method 'setformat' being is used to
tell the tabset which type to use. Call 'setformat'
before adding any tabs to the Rtl_tabset.
Setformat expects a string with variable substitution
using the Tcl/Tk 'format' command.
The example below lists the index and meaning inside the
format string.
Consult the tabset.tcl
implementation file for more details.
Example 5.5. Tab format description
# The visible item.
#
# 1 := Canvas widget
# 2 := background tab item
# 3 := foreground tab item
# 4 := item name
#
# 5 := x position
# 6 := y position (not used, fix position)
# 7 := width
# 8 := height (not used, fix position)
# 9 := text
# 10 := icon
# 11 := font (for displayed text)
# 12 := foreground tabset