comparison man/external-widget.texi @ 753:41528f633ff7

[xemacs-hg @ 2002-02-13 15:28:56 by stephent] documenting packages <873d05z9l3.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Wed, 13 Feb 2002 15:28:57 +0000
parents f929ab5ec903
children da44ff90109f
comparison
equal deleted inserted replaced
752:5d60b99c1ded 753:41528f633ff7
129 129
130 130
131 @node Example Program Using the External Client Widget, , Motif-Specific Info About the External Client Widget, Top 131 @node Example Program Using the External Client Widget, , Motif-Specific Info About the External Client Widget, Top
132 @chapter Example Program Using the External Client Widget 132 @chapter Example Program Using the External Client Widget
133 133
134 This is a very simple program. It currently doesn't actually work; the 134 This is a very simple program. It has some issues with exiting.
135 client window does not accept keystroke input, although you can edit 135 Be careful to destroy the Emacs frame in the client window before
136 with the mouse. It also has some issues with exiting. Be careful to 136 exiting the client program.
137 destroy the Emacs frame before exiting the client program.
138 137
139 @example 138 @example
140 /* 139 /*
140 XEmacsInside.c
141
141 Copyright (C) 2002 Free Software Foundation 142 Copyright (C) 2002 Free Software Foundation
142 143
143 This program is part of XEmacs. XEmacs is free software. See the 144 This program is part of XEmacs. XEmacs is free software. See the
144 file COPYING that came with XEmacs for conditions on redistribution. 145 file COPYING that came with XEmacs for conditions on redistribution.
145 146
151 152
152 gcc -I/path/to/XEmacs/source/src -L/path/to/XEmacs/build/src -static \ 153 gcc -I/path/to/XEmacs/source/src -L/path/to/XEmacs/build/src -static \
153 -lextcli_Xt -lXt -lX11 -lSM -lICE \ 154 -lextcli_Xt -lXt -lX11 -lSM -lICE \
154 -o XEmacsInside XEmacsInside.c 155 -o XEmacsInside XEmacsInside.c
155 156
156 Run it; it pops up a window, and prints a Lisp form on stdout. Eval 157 Run it with the resource "*input: True" and a reasonable geometry spec.
157 the form in XEmacs configured --external-widget. 158 It pops up a window, and prints a Lisp form on stdout. Eval the form
159 in an XEmacs configured with --external-widget.
158 160
159 Written by Stephen J. Turnbull <stephen@@xemacs.org> 161 Written by Stephen J. Turnbull <stephen@@xemacs.org>
160 162
161 Based on simple_text.c from _The Motif Programming Manual_ by Heller 163 Based on simple_text.c from _The Motif Programming Manual_ by Heller
162 and Ferguson, O'Reilly. 164 and Ferguson, O'Reilly.