28.10 Fonts

The class Tk.font provides the following methods. An example can be found in Section 3.5.2 of ``Window Programming in Mozart'', for reference documentation see font.

tkInit

tkInit(...)

Creates a new font.

tk

tk(...)

Sends a command for self to the graphics engine.

tkReturn

tkReturn(... ?S)
tkReturnString(... 
?S)
tkReturnAtom(... 
?A)
tkReturnInt(... 
?IB)
tkReturnFloat(... 
?FB)
tkReturnList(... 
?Ss)
tkReturnListString(... 
?Ss)
tkReturnListAtom(... 
?As)
tkReturnListInt(... 
?IBs)
tkReturnListFloat(... 
?FBs)

Sends a command for self to the graphics engine and returns the result in the field with the highest integer feature.

tkClose

tkClose()

Destroys the font and closes the font object.


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