PtArg_t
![]() |
![]() |
![]() |
![]() |
PtArg_t
Argument structure used for getting and setting widget resources
Synopsis:
typedef struct Pt_arg_entry {
long type;
long value;
long len;
} PtArg_t;
Description:
You use the PtArg_t structure extensively when dealing with widget resources. It's the first argument in the PtSetArg() macro.
This structure contains at least the following members:
- type
- The resource type (for example, Pt_ARG_TEXT_STRING) to be set or queried.
- value
- Either the value to set the resource to or, if you're querying the resource, the address of a pointer.
- len
- The purpose of this member is determined by the Pt type of the resource.
For more information, see the Manipulating Resources in Application Code chapter of the Photon Programmer's Guide.
Classification:
Photon
See also:
Pt_ARG(), PtCreateWidget(), PtGetResources() PtSetArg(), PtSetResources()
Manipulating Resources in Application Code chapter of the Photon Programmer's Guide.
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)
