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/wid_build/libs/ptremovewidgetdata.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/wid_build/libs/ptremovewidgetdata.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/wid_build/libs/ptremovewidgetdata.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/wid_build/libs/ptremovewidgetdata.html on line 8

PtRemoveWidgetData()

Remove data from the widget data chain

Synopsis:

int PtRemoveWidgetData( 
        PtWidget_t *widget, 
        PtWidgetClassRef_t *type, 
        long subtype );

Arguments:

widget
A pointer to the widget from whose chain you want to remove the data.
type
The class of the widget removing the data.
subtype
The subtype of data to remove. This is used to discriminate between multiple blocks of data added by the same widget class.

Description:

This function removes a piece of data from the widget data chain and frees the memory allocated for the data.

Returns:

0 if the data was found and released; -1 if it couldn't be found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAddWidgetData(), PtFindWidgetData(), PtFindNextWidgetData()


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/wid_build/libs/ptremovewidgetdata.html on line 106

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/wid_build/libs/ptremovewidgetdata.html on line 106