TTTTkkkk____CCCCrrrreeeeaaaatttteeeeEEEEvvvveeeennnnttttHHHHaaaannnnddddlllleeeerrrr arranges for _p_r_o_c to be invoked in the
future whenever one of the event types specified by _m_a_s_k
occurs in the window specified by _t_k_w_i_n. The callback to
_p_r_o_c will be made by TTTTkkkk____HHHHaaaannnnddddlllleeeeEEEEvvvveeeennnntttt; this mechanism only
works in programs that dispatch events through
TTTTkkkk____HHHHaaaannnnddddlllleeeeEEEEvvvveeeennnntttt (or through other Tk procedures that call
TTTTkkkk____HHHHaaaannnnddddlllleeeeEEEEvvvveeeennnntttt, such as TTTTkkkk____DDDDooooOOOOnnnneeeeEEEEvvvveeeennnntttt or TTTTkkkk____MMMMaaaaiiiinnnnLLLLoooooooopppp).
_P_r_o_c should have arguments and result that match the type
TTTTkkkk____EEEEvvvveeeennnnttttPPPPrrrroooocccc:
typedef void Tk_EventProc(
ClientData _c_l_i_e_n_t_D_a_t_a,
XEvent *_e_v_e_n_t_P_t_r);
The _c_l_i_e_n_t_D_a_t_a parameter to _p_r_o_c is a copy of the _c_l_i_e_n_t_D_a_t_a
argument given to TTTTkkkk____CCCCrrrreeeeaaaatttteeeeEEEEvvvveeeennnnttttHHHHaaaannnnddddlllleeeerrrr when the callback