Mail Archives: cygwin/1997/11/12/13:47:19
Arlindo da Silva <arlindo AT niteroi DOT gsfc DOT nasa DOT gov> writes:
>
>
> The X11 libraries do NOT come with cdk.exe; you need to download it
> from:
>
> ftp://niteroi.gsfc.nasa.gov/pub/win32/X11R6.3
>
> You will need an X server as well to run X programs. Please see the README
> file.
>
Actually, you don't need Xlib for Tk. Tk emulates a subset of X
functionality under Windows to get things going. The poster missed
the X11 headers in the Tk distribution (and the xlib emulation is
already in Tk DLL, either as provided by Sun or built locally by
MSVC or BC).
Of course, this means that the portable Tk extensions don't use
X11 stuff that is not in the emulation (eg., allocating read-write
color cells, which lots of programs assume are available, or
XWindowGetAttributes, or XClearWindow, or ...). Look in the stubs.c
in the tk8.0/win directory to see which calls Tk doesn't have
emulation for or can be emulated by equivalent Tk calls.
Regards,
Mumit -- khan AT xraylith DOT wisc DOT edu
http://www.xraylith.wisc.edu/~khan/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -