comp.lang.ada
 help / color / mirror / Atom feed
From: Patrick <patrick@spellingbeewinnars.org>
Subject: thick Tcl binding, am I being logical ?
Date: Mon, 13 Jan 2014 15:03:22 -0800 (PST)
Date: 2014-01-13T15:03:22-08:00	[thread overview]
Message-ID: <e1edf2bc-c7bd-41ca-94a9-dfd94c75012c@googlegroups.com> (raw)

Hi Everyone

I was tinkering with Tash again today. 

It has code like this:
Tcl.Tk.Ada.Pack (Counter, "-side bottom -fill both");

This calls the geometry manger to control the layout of the widget Counter.

In pure Tcl it is:
pack .counter -side bottom -fill both

Tash is about 20K lines of code(in the src dir). There are some examples and it's not a bad project or anything. It's just that since Tcl/Tk changed it's API, it's a pretty thin binding.

I was wondering if it would be logical to create a thick binding to Tcl only and feed in Tcl strings to display Tk widgets rather then trying to bind the Tk code as well.

I frequently go on coding suicide missions, Am I on another? Does this sound logical?

Thanks-Patrick


             reply	other threads:[~2014-01-13 23:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-13 23:03 Patrick [this message]
2014-01-14 17:43 ` thick Tcl binding, am I being logical ? Simon Wright
2014-01-16  1:33   ` Patrick
2014-01-16 12:30   ` Simon Wright
2014-01-19 17:56     ` Simon Wright
replies disabled

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