tk

How to generate texts into postscript files from the Canvas object of Tcl/Tk library?

Hi All, I've been stuck on this problem for days: I'm trying to generate texts from the canvas object using its "postscript" option to get .ps file. I found that it worked fine if I draw lines, ovals, etc on the canvas and they were shown in the .ps file, however, I had no luck with the text objects -- even if they were shown on the ca...

tcl/tk button or toplevel pathname conventions

Hello all. When one creates a new toplevel or button in TK, one needs to enter a pathname. I have seen a basic code which looks like: toplevel .a ... button .a.b ... My question is: Are the dots treated differently than letters? Are they some sort of hierarchy delimiters, which create parent child relationship? I have looked at wiki T...

Is there a place where I can find ready-for-use Tk/Tile themes?

I'd like to start with Ruby/Tk on Linux, but the default included styles are not very good looking... I've seen screenshots of applications using Tile and looking great, so I'd like to know whether there is a collection of Tile themes somewhere (I would like something that looks like the GTK Clearlooks theme)? I spent a lot of time goog...

How can I display text from an external command in Perl Tk?

I have to display some print statements (which I get while running a Perl script) in the Tk GUI. I tried to show an example in pictorial format, for example: Initializing the parser ... Running the parser ... Enabling the codec ... Connected to the socket ... Sending ipv4 traffic into the code ... It goes on like this. I don't kno...