Skip to Main Content
Volume 7B: XView Reference Manual
book

Volume 7B: XView Reference Manual

by Dan Heller
September 1991
Intermediate to advanced content levelIntermediate to advanced
311 pages
7h 17m
English
O'Reilly Media, Inc.
Content preview from Volume 7B: XView Reference Manual
3
Procedures and Macros
This section lists the XView procedures and macros in alphabetical order. For each proce-
dure or macro, an explanation of its use is provided. Following each procedure is a synopsis
that includes the procedure’s parameters, if there are any. The parameters are described after
the synopsis.
attr_create_list( )
Takes an attribute-value list and converts it into an array of Attr_attributes, also
known as an Attr_avlist. ATTRIBUTE_STANDARD_SIZE, defined in <xview/attr.h>,
defines how big an attriubte-value list can get. This is the limit on how big an attri-
bute-value list can be created using the ATTR_LIST or attr_create_list() macros.
Attr_avlist
attr_create_list(attrs)
The return value is used as the value for the attribute ATTR_LIST.
CANVAS_EACH_PAINT_WINDOW( )
Macro providing built-in support for iteration across all the paint windows contained in
a given canvas. Allows you to perform operations on multiple paint windows for
which there are no canvas attributes.
CANVAS_END_EACH
Closes the loop started by CANVAS_EACH_PAINT_WINDOW(). These two macros are
meant to be used together.
cursor_copy()
Creates and returns a copy of src_cursor.
Xv_Cursor
cursor_copy(src_cursor)
Xv_Cursor src_cursor;
Procedures and Macros
Procedures and Macros 175
defaults_exists()
This function returns TRUE if the resource exists in the database via
XrmGetResource().
Bool
defaults_exists(name, class)
char *
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Gestion des couleurs pas à pas

Gestion des couleurs pas à pas

Jean Delmas
1,000 Garment Graphics

1,000 Garment Graphics

Jeffrey Everett

Publisher Resources

ISBN: 9780937175880