Copyright © 2008, 2009 Arndt Roger Schneider
Example 2.9. Toolbar using »fullHeight«
# Assume toolbar pathname is '.toolbar'. option add *toolbar.fullHeight 1
Example 2.10. Toolbar using gradients
# Assume toolbar pathname is '.toolbar'. option add *toolbar.topColor navy option add *toolbar.downColor cornsilk option add *toolbar.fullHeight 1
The example above features TkPath gradients for the toolbar itself (top to down) and for the »selectColor«. Both are linear gradients.
It is also possible to define -activeimage and -disabledimage for each foreground image. These images are exclusive defined through the option database. The corresponding option database entries are »item« + ActiveImage or »item« + DisabledImage