![]() |
![]() |
![]() |
![]() |
Set multiple members of a style from a variable-length argument list
int PtSetStyleMembers ( PtWidgetClassStyle_t *style, ... );
ph
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 );
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtAddClassStyle(), PtCreateClassStyle(), PtDupClassStyle(), PtFindClassStyle(), PtGetStyleMember(), PtGetWidgetStyle(), PtSetClassStyleMethods(), PtSetStyleMember(), PtSetWidgetStyle()
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
![]() |
![]() |
![]() |
![]() |