Re: More than one event loop? (Was: "How to show new window?")
- From: Paul Davis <paul linuxaudiosystems com>
- To: Nickolai Dobrynin <dobrynin cs uwm edu>
- Cc: gtkmm-list gnome org
- Subject: Re: More than one event loop? (Was: "How to show new window?")
- Date: Wed, 19 Oct 2005 14:20:55 -0400
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.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]