Please help me, with Tk widget

Posted by nueq22 on 2015-10-31 02:12

I beginner in Tcl and i dont can to run one exapmle with external widget.
Im compile C source file - and on output i have new file "tk.h".
Im replace it to \\Tcl\include\ and overwrite old "tk.h".
So how to add widget to program?
pack clock - dont work.
Sorry for my English.

ActiveState Staff
Fri, 2015-11-06 09:27

If you're sure you want to do it in C, start here:

If the object is just to get a clock, there are several versions of Analog/Digital/Switchable pure Tk canvas-based clocks in the wiki:

and there is a list of Tk example widgets here: