logo       

Re: Any thoughts on the Tcl::Tk bridge?: msg#00012

Subject: Re: Any thoughts on the Tcl::Tk bridge?
> On one hand, it seems like a good thing to reduce the  turnaround time 
> needed to take advantage of not only the latest Tk version, but also 
> other Tcl/Tk packages, such as BWidgets, but on the other hand, I'm not

to look at another points, please see URL http://mini.net/tcl/13208
which covers Tcl::Tk module specific compared to perlTk

 
> wild about maintaining a Tcl/Tk distribution in addition to the Perl 
> one, and ensuring it any other related packages are up to date and in sync.

it appears to be easy: you can have entire Tcl/Tk installation (with
Tix, Bwidgets, and everything else) within any of your directory (within
directory where Tcl::Tk module is, for example)
All you need is to just point one of configuration variables
I'll provide details if needed.

I have a technique to have all Tcl/Tk inside single ZIP and so to have
excellent moveable distribution, I can share this technique as well
(within Tcl::Tk mailing list, to be on-topic)


> 
> A nice thing about the Perl/Tk widgets, is that most of the bindings and 
> some additional behavior was done directly in Perl. These modules served 
> as useful examples of how other modules might be coded. It's how I 
> started learning. I don't relish the thought of these modules being 
> written in Tcl. I initially started out learning Tcl years ago, not 

good point -- to learn by example.

Perl/Tk widgets are not currently supported by Tcl::Tk, but:
 - it looks like there are strong plans to it: see
http://sourceforge.net/mailarchive/message.php?msg_id=10360308
 - on the real life, I feel more comfortable with bigger library of
Tcl/Tk megawidgets, it fulfills most of my requirements. To make an
analogy, Perl does not allow inline assembler, however C does. Does it
mean C is better? :) For me, perl allows more and I rarely go to C
level...  

> because I liked Tcl, but because I found it useful in quickly building 
> user interfaces.  I preferred Perl, and didn't look back when I found 
> that Tk had been ported to Perl. This isn't a knock on Tcl, it's just a 
> preference.
> 
> Has anyone else done much with it, yet?

For me, I now have both perlTk and Tcl::Tk installed, but more and more
I use Tcl::Tk, just because I have what I had before and additionaly
some other powerful techniques.

See for example
http://www.vkonovalov.ru/vtcl-usage/Using_vtcl_for_creating_Tcl-Tk_GUI_for_Perl.html

On the other side, when using Tcl::Tk, one must be prepared to some
surprises, which are hopefully not hard to solve.

To finalize a bit, take a look how Ruby and Python do Tk GUI. They do it
via Tcl, just like Tcl::Tk does.
My feelings is by this way you can get more in less efforts.


Vadim.



-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to majordomo@xxxxxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
science.linguis...    culture.sf.lite...    video.mplayer.c...    yellowdog.gener...    ietf.rfc822/199...    emacs.help/2002...    redhat.release....    kernel.speakup/...    java.openejb.de...    debian.devel.gt...    xfree86.newbie/...    bug-tracking.ma...    pam/2003-05/msg...    games.devel.ope...    user-groups.lin...    music.pancham/2...    network.mq.deve...    web.html.genera...    arklinux.bugs/2...    linux.ecasound/...    qnx.openqnx.dev...    org.user-groups...    file-systems.sf...    trustix.contrib...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe