Running demos in Active Tk

Roger Oberholtzer roger
Mon May 17 11:56:55 PDT 2004


> Just a heads up for anyone fooling with Tcl/Tk in linux.
>
> I downloaded the Active Tcl package for both linux and windows. This
> really appears to be a working cross platform product.  I am getting
> enthused. The learning curve appears to be considerable.
>
> There is a really nice set of demos for Tk, which were easy to display
> in windows but which I couldn't find how to run in linux. There are
> demos present in the linux package, but they are all subroutines. I
> couldn't find any main program.
>
> So, I had to cp the widget.tcl program from the Tk demos folder on my
> windows box (widget.tcl) into my linux demos folder, ran wish -f
> widget.tcl, and the demos worked just fine, exactly like windows.
>
> I have no idea why this was necessary. I couldn't find any main program
> for the demos in linux.

It is the same file and the same command line. I do not know about the
ActiveState distro. I always get the source and compile for both
platforms. Fewer questions that way. And easy to do.

Be sure to check out:	BWidgets, Blt, Img, TkTable, and tcllib.

These are the most useful (IMO) extensions when making GUIs. And they seem
to be well supported over the years. Tix was interesting for a while, but
BWidgets is less hassle, being a script-only extension.

There are some WYSIWYG builders, but I have had various degrees of luck
with these.

>
> Joel
>
>
> _______________________________________________
> Linux-users mailing list
> Linux-users at smtp.linux-sxs.org
> Unsubscribe/Suspend/Etc ->
> http://smtp.linux-sxs.org/mailman/listinfo/linux-users




More information about the Linux-users mailing list