Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-03-04 16:05:43


"David Turner" <dkturner_at_[hidden]> writes:

> How's this (syntax as of tonight - I'll upload it tomorrow):
>
>
> window w("Test Window");
> grid g(2, 2);
> w.contain(g);
> g.contain(button("Click me", on_click), 1, 1);
> g.contain(label("Enter your name:"), 0, 0);
> textentry t();
> g.contain(t, 1, 0);
> wait_for_signal(w.delete_signal()); // note () after delete_signal

It's not the clear, declarative description of the window that I'm
looking for. Looks too procedural to me.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk