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. I need that for implement plugin's UI, like VST plugins. An other idea I had was to extend elf format and the linker to be able to load a "private" instance of the library which means that if load it a second time, they will not share the global variables. What do you think? Thanks a lot, -- Alexandre Bique _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list