On Sun, 1 Mar 1998, Milan Vujic wrote:
> Hello. Can someone please help me find the simplest way to display a
> digital clock by making calls in C?
In its own frame or embeded in a Tcl window?
In its own frame you could do this in Tcl:
exec xclock -d &
or in C you could:
#include <stdlib.h>
int main(void)
{
system ("xclock -d &");
return(0);
}
If you need to embed it in a Tk frame, there's a tksteal extension and I
thought Tk 8.x has similar functionality built-in but just now I couldn't
find it. (the -use option of toplevel doesn't seem to be it)
...RickM...
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).