|
I really like Perl/Tk, but have come to the opinion that it's DOA. I think Tcl::Tk and Tkx are better solutions. Assume I drop Perl/Tk. Is the "most supported" route to go with Tcl::Tk (which hasn't been updated since 2007, and whose author seemingly ...
Started by xcramps on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Tkx was developed by ActiveState the impression....
The difference is in the API they present to Perl .
Under the hood both Tcl::Tk and Tkx use the Tcl module as a bridge to Tcl/Tk.
Win32 and this was about 5 years ago.
|
|
With the following Tcl script, the entry widget will not accept input. It appears but is unresponsive.
pack [entry .a] -padx 15 -pady 15 tk_messageBox -message {test}
If I comment out the tk_messageBox line, then the entry widgets works fine. What causes...
Started by Imbue on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I tried the 3 line tcl/tk example with tclkit 8.5.8 on windows xp [entry .a] -padx 15 -pady 15 tk_messageBox -message {test} focus focus -force .a
Whenever you have and it worked as one would expect....
Hope it helps.
And grab commands.
|
|
I'm now in love with Tcl/Tk because of the flexibility and easy way to do the things, but I like to learn by books, then I want some book recommendation to learn.
Started by Nathan Campos on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The former also was co-authored by the creator of Tcl, though I'm not sure how involved he Edition There ....
Was with last year's 2nd edition
Tcl and the Tk Toolkit 2nd Edition Practical Programming in Tcl and Tk 4th.
|
Ask your Facebook Friends
|
Now don't get me wrong, I'm not exactly a Python fan, but when you see a Tk directory inside of the python directory you kinda expect... Well Python. And yeah, I get that Tk came from TCL, but if I had to write a TCL to use Tk, I'd forget TK existed and...
Started by NoMoreZealots on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
And where are you seeing Tcl examples? Are you looking at a Tcl library supplied with Python perhaps?
There are no Tcl examples in Python's official distribution; whatever distro you're using must have bundled them on its....
Here.
|
|
Hello:
After running into major compatitiblity problems with C#, ASP.NET, MS Access, Linux, and Mono, I've decided to program in a language that is cross-platform, open source, and compatible with embedded databases that are also compatible with many ...
Started by DFM on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For this example I'll assume you're creating; myapp.vfs/main.tcl package require Tk label .l -text "Hello, world" pack .l ^D % ls myapp.vfs.
The executable that will be wrapped with your tcl code.
|
|
I've begun prototyping a desktop app with Tcl and intend to present the idea to some venture capitalists. Neither desktop apps nor Tcl are in vogue and so I want to be prepared to counter any objections to this technology. Below are the pros as I see ...
Started by George Jempty on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Two, the ....
It's not perfect order.
One, it's pretty easy to develop working prototypes in very short nature of your program it's hard to say why Tcl/Tk might be the right solution for you.
Tcl/Tk excels at several things.
|
|
Tcl/Tk is a simple way to script small GUIs.
Can anyone give a nice example with a button and a text widget. When the button is pressed should a shell command be executed and the output piped to the text widget.
If you have other nice and clean examples...
Started by epatel on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Package require Tk proc main {} { if {[lsearch -exact [font names] TkDefaultFont] == -1} { # older versions of Tk don't define this font, so pick something # suitable font create.
From getting any longer.
|
|
I've got a Tcl/Tk window with an entry box in which I'd like to force upper case character entry. That is, if any letters are typed I'd like them to appear in upper case in the entry field, instead of simply rejecting any lowercase input.
I've looked ...
Started by Greg Hewgill on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
However you can turn it back on afterwards:
entry .message -validate key -validatecommand { .message insert %i [string... .
If you set a new value for your entry within your validation command, validation is turned off (presumably to prevent an infinite loop) .
|
|
Hi,
One of my modules at university next year is going to involve programming in Tcl tk, I was wondering where to find the best resources and information about the language, so that I am well prepared. I'm currently looking on this site which is pretty...
Started by ThePower on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Practical Programming in Tcl and Tk (Welch) - The other book on Tcl/....
Useful are:
Tcl and the Tk Toolkit (Ousterhout) - The book on Tcl/Tk, and probably the one you're by the originator of the language.
|
|
A software install failed because it couldn't find the Tcl or Tk file(s) in any .../include directories.
Is there anything I can do about that? I already installed the standard Tcl/Tk package with netpkg.
Started by YAD on
, 15 posts
by 3 people.
Answer Snippets (Read the full thread at zenwalk):
> Checking /opt/pkg....
Here's the output:
> Checking /usr/pkg/include/(tcl|tk)8.3...
Maybe your app needs some more deps
Maybe you can tell us, using a program called godi_console .
I use Pysol that needs tcl tk and works.
|