Re: More than one event loop? (Was: "How to show new window?")

On Wed, 2005-10-19 at 13:15 -0500, Nickolai Dobrynin wrote:
> Are you actually supposed to or even allowed to create more than one
> event loop within the same program?  Gtk::Main is a singleton, is it not?
> Even if it is indeed possible, why would it be advantageous to do it
> this way rather than simply keeping the pointers around and accessing them
> as necessary?

not in parallel, no.

but you can have nested ("recursive") event loops, without many
problems. it can be hard to quit out of them in an ordered way, but its
generally not an issue.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]