Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-10-16 15:56:39


on Thu Oct 11 2007, "Felipe Magno de Almeida" <felipe.m.almeida-AT-gmail.com> wrote:

> I'm creating a GUI library (still in pre-alpha) using the named
> parameter library for the create function.
> It has a interface like this:
>
> wnd_lock<frame_window> w = create<frame_window>( _driver = gtk
> , _pos = std::make_pair(20, 20), _size = std::make_pair(600, 400) );
>
> Until here everything is alright.
> But, for some controls, we must have extended keywords:
>
> wnd_lock<text_box> text = create<text_box>( _parent = w, _pos =
> std::make_pair(0, 0)
> , text_box::_multi_line = true );
>
> Is it achievable?

Sorry, it isn't clear from the above what you mean by "extended
keywords?" Is it just the use of text_box:: qualification on
_multi_line?

-- 
Dave Abrahams
Boost Consulting
http://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