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.
Example
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.

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

If you're sure you want to do it in C, start here:
http://wiki.tcl.tk/6276

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:
http://wiki.tcl.tk/2563

and there is a list of Tk example widgets here:
http://wiki.tcl.tk/1291