On Wed, Nov 26, 2014 at 3:16 PM, Alexandre Bique <bique.alexan...@gmail.com>
wrote:

> Hi,
>
> I wonder if it would be possible to remove gtk's global variables?
> I'd like to do something like:
>
> GtkCtx *gtk_ctx = gtk_init(..);
> GtkWindow *window = gtk_window_new(gtk_ctx, ...);
> ...
> gtk_main_loop(gtk_ctx);
>
> So in this way it would be possible to run many gtk main loop in
> different threads but in the same process.
>

You can run any number of event loops in a process. You can only run 1 GTK
main loop.
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to