Structure for getting information about a line or character
typedef struct { int character_number; int line_number; PtMultiTextLine_t *line; PtMultiTextSegment_t *segment; char *character; } PtMultiTextQuery_t;
This structure is used to get information about a specified line or character in a PtMultiText widget. You'll use it when getting the value of Pt_ARG_MULTITEXT_QUERY_CHARACTER or Pt_ARG_MULTITEXT_QUERY_LINE. When getting these resources, use the len member of the PtArg_t structure (see the Photon Library Reference) to indicate the character or line to be queried. When you get call PtGetResources(), the members of the PtMultiTextQuery_t structure are filled in:
Photon
PtMultiText, PtMultiTextSegment_t, PtMultiTextLine_t