[Previous] [Contents] [Index] [Next]

PtMultiTextCallback_t, PtMultiTextControl_t, PtMultiTextInfo_t

Information passed to PtMultiText callbacks

Synopsis:

typedef struct
{
    PtTextCallback_t    tc;
    PtMultiTextAttributes_t *attributes;
    PtMultiTextSegment_t *seg;
    void *extended_data;
} PtMultiTextCallback_t;

typedef PtMultiTextCallback_t PtMultiTextControl_t;
typedef PtMultiTextControl_t PtMultiTextInfo_t;

Description:

PtMultiTextCallback_t, PtMultiTextControl_t, and PtMultiTextInfo_t are different names for the same structure. They're used in callbacks for the PtMultiText widgets as well as to specify actions or request data. The members of these structures are:

tc
A pointer to a PtTextCallback_t structure that describes the affected text.
attributes
A pointer to a PtMultiTextAttributes_t structure that describes the attributes of the affected text.
seg
A pointer to a PtMultiTextSegment_t structure that describes the segment of text that's involved in the modification that invoked the callback.
extended_data
A pointer to user data.

Classification:

Photon

See also:

PtMultiText, PtMultiTextAttributes_t, PtMultiTextSegment_t, PtTextCallback_t


[Previous] [Contents] [Index] [Next]