Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtSuperClassGetResources()

Get the specified resource

Synopsis:

int PtSuperClassGetResources( 
                      PtWidgetClassRef_t *wc_ref,
                      PtWidget_t *widget, 
                      int num_args, 
                      PtArg_t *args );

Arguments:

wc_ref
The superclass whose method you want to call.
widget
A pointer to the widget for which to call the superclass's method.
num_args
The number of entries in the args array.
args
An array of PtArg_t structures (see the Photon Library Reference) that define which resources to get.

Description:

This function gets resources given by num_args and args in the manner defined by wc_ref. This is extremely helpful when overriding the query_f member of an overridden resource.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtArg_t in the Photon Library Reference