home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTkkkk____RRRReeeeggggiiiisssstttteeeerrrrIIIInnnntttteeeerrrrpppp((((3333)))) TTTTkkkk (((( )))) TTTTkkkk____RRRReeeeggggiiiisssstttteeeerrrrIIIInnnntttteeeerrrrpppp((((3333))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- Tk_RegisterInterp - make an interpreter accessible with
- ``send'' command
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
-
- int
- TTTTkkkk____RRRReeeeggggiiiisssstttteeeerrrrIIIInnnntttteeeerrrrpppp(_i_n_t_e_r_p, _n_a_m_e, _t_k_w_i_n)
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- Tcl_Interp *_i_n_t_e_r_p (in) Interpreter to register in
- display associated with
- _t_k_w_i_n. Also used to return
- errors if registration
- failed.
-
- char *_n_a_m_e (in) Name under which to register
- interpreter. Must be unique
- among all registered
- interpreters for _t_k_w_i_n's
- display. May not contain the
- character ``|''.
-
- Tk_Window _t_k_w_i_n (in) Token for window. Used only
- to find a display in which to
- register _i_n_t_e_r_p.
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- TTTTkkkk____RRRReeeeggggiiiisssstttteeeerrrrIIIInnnntttteeeerrrrpppp is invoked to associate a name (_n_a_m_e) with
- a Tcl interpreter (_i_n_t_e_r_p) and record that association in a
- well-known property of a particular display (the one
- containing _t_k_w_i_n). After this procedure has been invoked,
- other interpreters in the display will be able to use the
- sssseeeennnndddd command to invoke operations remotely in _i_n_t_e_r_p. The
- procedure returns TCL_OK if the registration completed
- successfully and TCL_ERROR if the interpreter could not be
- registered (e.g. because _n_a_m_e is already in use). In the
- event of an error, _i_n_t_e_r_p->_r_e_s_u_l_t is modified to point to a
- message describing the error.
-
- This procedure also adds a sssseeeennnndddd command to _i_n_t_e_r_p, so that
- commands may be sent from _i_n_t_e_r_p to other interpreters.
-
- The registration persists until the interpreter is deleted
- or the sssseeeennnndddd command is deleted from _i_n_t_e_r_p, at which point
- _i_n_t_e_r_p is automatically unregistered.
-
-
-
-
- Page 1 (printed 7/23/95)
-
-
-
-
-
-
- TTTTkkkk____RRRReeeeggggiiiisssstttteeeerrrrIIIInnnntttteeeerrrrpppp((((3333)))) TTTTkkkk (((( )))) TTTTkkkk____RRRReeeeggggiiiisssstttteeeerrrrIIIInnnntttteeeerrrrpppp((((3333))))
-
-
-
- TTTTkkkk____RRRReeeeggggiiiisssstttteeeerrrrIIIInnnntttteeeerrrrpppp is called automatically by
- TTTTkkkk____CCCCrrrreeeeaaaatttteeeeMMMMaaaaiiiinnnnWWWWiiiinnnnddddoooowwww, so applications don't normally need to
- call it explicitly.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- interpreter, name, register, send command
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 7/23/95)
-
-
-
-