Set the value of a resource using mod_f
int PtSetValue( PtWidget_t *widget, PtResourceRec_t const *mod, PtArg_t const *args );
This function sets the value of a particular resource using the information provided in mod including the mod_f member.
Consider calling PtSuperClassSetResources() for a cleaner solution. To set structure members without any further action, use PtSetStruct().
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtSetStruct(), PtSuperClassSetResources()