next up previous index
Next: Type conversion between Tcl Up: Embedding into Tcl/Tk Previous: Attaching Handlers to Queues   Index

Obtaining the Interface Type

Generally, the Tcl embedded and remote interfaces are designed to allow the user to write code that can be used via both interfaces. However, sometimes it may be necessary to distinguish the two. This can be done via:

ec_interface_type

returns embedded for the embedding interface, and remote for the remote interface.



Warwick Harvey
2004-08-07