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/ptsetstruct.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/ptsetstruct.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/ptsetstruct.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/ptsetstruct.html on line 8
Set the specified resource
int PtSetStruct( char *base,
PtResourceRec_t const *mod,
PtArg_t const *arg );
- base
- The base address of the widget whose resources are being modified.
- mod
- A resource record that describes the type of resource being modified.
- arg
- A pointer to a
PtArg_t
structure (see the Photon Library Reference) that indicates
which resource to modify, as well as the value to assign to it.
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().
- 0
- No change.
- 1
- A change was made.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PtGetStruct(),
PtSetValue(),
PtSuperClassGetResources(),
PtSuperClassSetResources()
PtArg_t
in the Photon Library Reference
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/ptsetstruct.html on line 134
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/ptsetstruct.html on line 134