Boost logo

Boost :

From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-07-28 10:02:00


E. Gladyshev wrote:

>> typedef std::list< boost::container<listbox,
>> boost::gui::fast_signals> >
>> mylistbox;
>
>
> As for the signals.
> GUI objects generate events. What is the best design
> for it? Should the events handlers be executed
> asynchronously in the context of some internal thread
> or should they be something like a message pump?
> In the first case we'd have to make sure that the
> whole boost::gui is thread safe.

[...]

Sometimes you want your events to be called instantaneously (clear
paintdevice before drawing on it) and sometimes you will want to catch and
forward them elsewhere (i.e. keystrokes). You need both.

-- 
Philippe A. Bouchard

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