8.8 Text fonts

8.8.1 Description

Fonts are obtained by the QTk.newFont function. The only parameter of that function is a record describing the font in the following form: font(param1:value1 ... paramX:valueX). Once obtained, a font can be used several times in different contexts (parameters of different widgets for example). Fonts can also be dynamically reconfigured and all widgets using the font redisplays themselves using the new attributes.

8.8.2 Parameters

8.8.3 Interface

Fonts obtained by Qtk.newFont are objects that support the following methods:


Donatien Grolaux
Version 1.3.0 (20040413)