|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Set multiple members of a style from a variable-length argument list
int PtSetStyleMembers ( PtWidgetClassStyle_t *style, ... );
This function is similar to PtSetStyleMember(), but lets you specify multiple (manifest, value) pairs at once.
|The last (manifest, value) pair must be -1, -1.|
0 on success, or the number of manifests that were successfully set.
|If the return is greater than 0, it will be less than the number of manifests provided, because at least one of the manifests couldn't be set.|
PtSetStyleMembers( neon_style, Pt_STYLE_DRAW, neon_draw, Pt_STYLE_SIZING, neon_sizing, -1, -1 );
Pt_ARG_STYLE resource of PtBasic in the Photon Widget Reference
“Widget Styles” in the Managing Widgets in Application Code chapter of the Photon Programmer's Guide