Find the first widget data block of a given type and subtype
void * PtFindWidgetData(
PtWidget_t *widget,
PtWidgetClassRef_t *type,
long subtype,
PtDataHdr_t **_node );
This function finds the first widget data block that matches the type and subtype provided. If type is NULL, any type will match. If subtype is -1, any subtype will match.
If _node is provided, it's set to point to the widget data_node that contained the returned data, so you can continue the search from that node.
A void pointer to the widget data, or NULL if it wasn't found.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
PtAddWidgetData(), PtFindNextWidgetData(), PtRemoveWidgetData()