![](/images/backgrounds/286549/hp-sunsoft-pascal-4-0-users-manual-549395249x1.png)
10
Instead of these routines, the Pascal interface to XView defines a separate routine to get and set each attribute.
•
•
For example:
set_WIN_SHOW ( frame, true );
width := get_CANVAS_WIDTH ( canvas );
These routines are defined in the header file, attrgetset_p.h.
Attribute ListsSome of the XView C routines can optionally take extra arguments that are lists of attributes and values. The extra arguments vary in number and type. You must pass a 0 to the last argument of these routines.
Since Pascal does not support variable length argument lists, the Pascal definition has a single argument.
Instead, special versions of these routines are provided which take as a last argument an argument of type Attr_avlist. This type is a pointer to an array of attributes and values. The special routines are:
xv_init_l(), xv_create_l(), xv_find_l(), selection_ask_l(), selection_init_request_l().
The XView Toolkit | 225 |