Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtMultiTextCreateAttributes()

Initialize a multitext attribute structure

Synopsis:

PtMultiTextAttributes_t *
    PtMultiTextCreateAttributes( 
        PtMultiTextAttributes_t *attrs);

Description:

This function initializes the specified PtMultiTextAttributes_t structure to default values. If you don't specify a PtMultiTextAttributes_t structure, one is allocated and initialized.

Returns:

A pointer to the initialized attributes structure, or NULL if no memory was available.

Examples:

See PtMultiTextGetAttributes().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtTextGetSelection(), PtTextModifyText(), PtTextSetSelection(), PtMultiTextAttributes_t