Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how do I run a Tk script from a C program?

0 views
Skip to first unread message

Anibal Jodorcovsky

unread,
Mar 23, 1995, 12:15:28 PM3/23/95
to
Hi all,

I have a client/server program that's running fine using sockets
with the AF_INET family. I am in the process of building a GUI
using Tcl/Tk and although I can use the Tcl_interpreter and the like
to link C to the Tcl script I can't get the Tk widgets to show up
in the interpreter. Is there a way to do this, or do I have to write
all the widgets from scratch using the interp pointer?

I have already the Graphical Interface in Tk done, I just want to
link it to the C program and send variables back and forth.
Anybody who can help me out, either by sending me some examples, or
pointers to where I can get some?

Thank you very much,
--
Anibal Jodorcovsky *
Montreal - Canada * Unix _IS_ user friendly...
ani...@ee.mcgill.ca * It's just selective about who its friends are.

0 new messages