Set the specified resource
int PtSetStruct( char *base, PtResourceRec_t const *mod, PtArg_t const *arg );
This function sets the resource specified by arg on the widget at address base in the manner described by mod.
Unlike PtSetValue(), PtSetStruct() doesn't examine the mod_f member of mod (e.g. for a Pt_CHANGE_RESIZE flag). It sets the appropriate structure members based on mod->value and mod->len.
If you want to do the extra widget processing as well as set the appropriate structure members, use PtSetValue(). For a cleaner solution, consider using PtSuperClassSetResources().
PtGetStruct(), PtSetValue(), PtSuperClassGetResources(), PtSuperClassSetResources()
PtArg_t in the Photon Library Reference