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. It's used when getting the Pt_ARG_MULTITEXT_QUERY_CHARACTER or Pt_ARG_MULTITEXT_QUERY_LINE resource. When getting these resources, the len member of the PtArg_t structure indicates 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