Information passed to PtText callbacks
typedef struct Pt_text_callback {
int start_pos;
int end_pos;
int cur_insert;
int new_insert;
int length;
short reserved;
char *text;
int doit;
} PtTextCallback_t;
typedef PtTextCallback_t PtTextControl_t;
typedef PtTextControl_t PtTextControlInfo_t;
PtTextCallback_t, PtTextControl_t, and PtTextControlInfo_t are different names for the same structure. They're used in callbacks for PtText widgets as well as to specify actions or request data. The members of these structures are:
Photon