|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
There are three different implementations of the external client widget.
One is designed for use in Motif applications and is linked with the
-lextcli_Xm. Another is designed for non-Motif
applications that still use the X toolkit; it is linked with the option
-lextcli_Xt. The third is designed for applications that do not
use the X toolkit; it is linked with the option
In order to use an external client widget in a client program that uses
the X toolkit (i.e. either of the first two options described above),
simply create an instance of widget type ExternalClient and link your
program with the appropriate library. The corresponding header file is
Documentation still needs to be provided for using the raw Xlib version of the external client widget.
The external client widget will not do anything until an instance of
Emacs is told about this particular widget. To do that, call the
make-frame, specifying a value for the frame parameter
window-id. This value should be a string containing the decimal
representation of the widget's X window ID number (this can be obtained
by the Xt function
XtWindow()). In order for the client program
to communicate this information to Emacs, a method such as sending a
ToolTalk message needs to be used.
make-frame has been called, Emacs will create a frame
that occupies the client widget's window. This frame can be used just
like any other frame in Emacs.
|[ << ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|