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

Next: OpenGL Canvas, Previous: Other Canvas Routines, Up: Canvas Object [Contents][Index]

#### 21.3.5 Canvas Attributes

Some of the attributes, such as boxtype, do not apply to the canvas class.

The first color argument (`col1`) to `fl_set_object_color()` can be used to set the background color of the canvas (by default, a canvas has no background color). The second argument (`col2`) controls the decoration color (if applicable).