Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptsetstylemembers.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptsetstylemembers.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptsetstylemembers.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptsetstylemembers.html on line 8

PtSetStyleMembers()

Set multiple members of a style from a variable-length argument list

Synopsis:

int PtSetStyleMembers (
       PtWidgetClassStyle_t *style, ... );

Library:

ph

Description:

This function is similar to PtSetStyleMember(), but lets you specify multiple (manifest, value) pairs at once.


Note: The last (manifest, value) pair must be -1, -1.

Returns:

0 on success, or the number of manifests that were successfully set.


Note: 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.

Examples:

PtSetStyleMembers( neon_style,
                   Pt_STYLE_DRAW, neon_draw,
                   Pt_STYLE_SIZING, neon_sizing,
                   -1, -1 );

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptsetstylemembers.html on line 138

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptsetstylemembers.html on line 138