comp.lang.ada
 help / color / mirror / Atom feed
From: ezkcdude <zamir.evan@gmail.com>
Subject: Re: Where is TASH, the Tcl/Tk binding?
Date: 24 May 2007 08:57:17 -0700
Date: 2007-05-24T08:57:17-07:00	[thread overview]
Message-ID: <1180022236.961809.115110@u30g2000hsc.googlegroups.com> (raw)
In-Reply-To: <1180012023.249748.202930@h2g2000hsg.googlegroups.com>

On May 24, 8:07 am, Maciej Sobczak <see.my.homep...@gmail.com> wrote:
> On 24 Maj, 14:56, ezkcdude <zamir.e...@gmail.com> wrote:
>
> > I understand not wanting to use Tcl+Ada, but how about calling Tk from
> > Ada? How does one go about doing that?
>
> There is basically no way to call Tk directly. It was designed to be
> called from Tcl interpreter.
>
> Normally, the Tk library for whatever language has an *embedded* Tcl
> interpreter that makes actual Tk calls. It is encapsulated, so you
> might as well pretend you don't know about that interpreter somewhere
> there. :-)
>
> Interestingly, the Tkinter binding for Python also works this way (it
> has "inter" in the name for a reason!), which brings a question why
> the hell should we use two interpreters one on top of another...
>
> Just for fun:http://cpptk.sourceforge.net/
>
> --
> Maciej Sobczakhttp://www.msobczak.com/

Thanks, when you put it that way, it doesn't make sense to me either.




      reply	other threads:[~2007-05-24 15:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-19  8:34 Where is TASH, the Tcl/Tk binding? Jerry
2007-04-19 21:29 ` Simon Wright
2007-05-24 12:56   ` ezkcdude
2007-05-24 13:07     ` Maciej Sobczak
2007-05-24 15:57       ` ezkcdude [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox