The GUI to end all GUI libraries (Let's Dream!)
Bruce Adams
tortoise_74 at yeah.who.co.uk
Tue Nov 27 01:19:44 PST 2007
On Tue, 27 Nov 2007 01:44:38 -0000, Bill Baxter
<dnewsgroup at billbaxter.com> wrote:
> (with a nod to Don ;)
> No, I don't have the perfect GUI.
> I'm just throwing this out as a topic for discussion. I've yet to find
> a GUI that isn't tedious to use. With 2.0 const hopefully nearing
> completion, and the new closure support in 2.0, maybe it's a good time
> to dream again about what the ultimate D GUI would look like.
>
> I don't have anything concrete, but I was thinking a bit about some
> interesting GUI-ish things from Python recently and thought I'd mention
> them here.
>
> There's a library called "Trellis" [1] that I think has an interesting
> idea for how to maintain GUI state.
>
> The basic idea is that you define rules rather than explicit event
> handlers, and execution of those rules is triggered by built-in
> dependency analysis. The analogy made on the web page is to a
> spreadsheet. When you use a spreadsheet you just say how the values in
> this cell depend on all the others and then it all gets automagically
> updated for you recursively whenever any dependency changes.
>
All you need is an updateWindow function.
Perhaps instead of D a suitably enhanced version of make is what we
require. ;)
More information about the Digitalmars-d
mailing list