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/lib_ref/pt/ptarg_t.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/lib_ref/pt/ptarg_t.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/lib_ref/pt/ptarg_t.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/lib_ref/pt/ptarg_t.html on line 8

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.


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/lib_ref/pt/ptarg_t.html on line 108

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/lib_ref/pt/ptarg_t.html on line 108