28.13 Miscellaneous

isColor

Tk.isColor

Is true, if the current display supports colors.

Is defined as

Tk.isColor={Tk.returnInt winfo(depth '.')}>1

addXScrollbar

{Tk.addXScrollbar +BarTcl +ToScrollTcl}

Attaches a horizontal scrollbar defined by BarTcl to a scrollable widget defined by ToScrollTcl.

addYScrollbar

{Tk.addYScrollbar +BarTcl +ToScrollTcl}

Attaches a vertical scrollbar defined by BarTcl to a scrollable widget defined by ToScrollTcl.

getId

{Tk.getId V}

Returns a virtual string V that can be used as new unique tickle identifier.

getPrefix

{Tk.getPrefix V}

Returns a virtual string V that can be used as prefix for new unique tickle identifiers. It is guaranteed that appending integers to V yields unique identifiers.


Denys Duchier, Leif Kornstaedt, Martin Homik, Tobias Müller, Christian Schulte and Peter Van Roy
Version 1.4.0 (20080702)