Text Attributes (XForms (Forms Library) - Version 1.2 (Rev. 4) A Graphical User Interface Toolkit for X)

Next: Text Remarks, Previous: Text Types, Up: Text Object [Contents][Index]

#### 15.4.3 Text Attributes

To set or change the text shown, use `fl_set_object_label()` or `fl_set_object_label_f()`.

Any boxtype can be used for text.

The first color argument (`col1`) of `fl_set_object_color()` controls the color of the box the text is placed into, the second (`col2`) is not used. The color of the text itself is controlled by calls of `fl_set_object_lcolor()` as usual.

If the text is to change dynamically, boxtype `NO_BOX` should not be used for the object.