Name
DisplayStyle
- tixDisplayStyle
itemType
[-stylenamestyleName
] [-refwindowrefWindow
] [option value
...] Create a new display item style of type
itemType
. The name of the new style will bestyleName
, if specified. Otherwise, a unique name is generated and returned. ValidOption
s are those defined for the chosen display item type.If
refWindow
is specified, the default values for the style will be taken from the matching options of the windowrefWindow
. Note thatrefWindow
need not exist; however, any options specified for it in the Tk resource database will be used. IfrefWindow
is omitted, the main window is used.A new Tix object is created with the same name as the style (i.e.,
styleName
). This object has the following methods:styleName
cgetoption
Return the current value of the configuration option
Option
for the display style.styleName
configure [Option
[value
[option value
...] ] ]Query or modify the configuration options of the display style in the same manner as the standard widget configure method.
styleName
deleteDestroy the display style object.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.