nanogui: a question about Tcl ,Tk ,Nxlib and Nano- X
Subject:
Re: [nanogui] a question about Tcl ,Tk ,N
xlib and Nano- X
From:
####@####.####
Date:
2 Feb 2007 09:18:03 +0000
Message-Id: <45C3016C.000041.12081@bj126app54.126.com>
Hi,
I just forgot the important thing ... Hope someone can help me.
Log of running wish (TLC8.4.14+TK8.4.14+Nxlib0.44+Microwindows 0.91):
nx11: display bpp = 32, bits_per_rgb 8
XSetLocaleModifiers called
nxTranslateEventMask no handler for event mask (00c1807f): 16 22 23
XInternAtom Comm 0
XInternAtom InterpRegistry 0
XInternAtom TK_APPLICATION 0
XGrabServer called
XChangeProperty InterpRegistry
XUngrabServer called
XChangeProperty TK_APPLICATION
% nxTranslateEventMask no handler for event mask (00c1807f): 16 22 23
nxTranslateEventMask no handler for event mask (00e3807f): 16 22 23
XSetClassHint called
XInternAtom UTF8_STRING 0
XInternAtom _NET_WM_NAME 0
XChangeProperty _NET_WM_NAME
XInternAtom WM_DELETE_WINDOW 0
XInternAtom WM_PROTOCOLS 0
XChangeProperty WM_PROTOCOLS
XAllocSizeHints called
Thanks
Regards
----------------------------------------------------------------------
####@####.#### :
Dear all,
I tried to run TK use the lib of Nano-X, what I did was:
1) installed microwindows-0.91 (in conifg :Threadsafe=Y, SHARELIBS=N,FREETYPE2=Y)
(with success).
2)installed Nxlib 0.44 (in Makefile XRM=N) with success.
3) installed TCL 8.4.14,
./configure --enable-threads --disable-shared and make & make install with success.
4) installed Tk8.4.14
./configure --without-x --enable-threads --disable-shared
and in Makfile: added to the LIBS: -lnano-X -lnx11),with success
4)then I run the Nano-X server by "./nano-X & ./nanowm & sleep 1000"
5) run wish
6)as a test ,I tried to inputed the command to drew a button:
% button .b -text "hello" -command exit
% pack .b
then a blank rectangle appeared,but the button wasn't really mapped......
Please suggest me some pointers to the solution of the problem.
Thanks a lot and best Regards,
Tom Lu