Re: Win32 - handling mainloop while showing modal comon controls



On Wed, 12 Apr 2006, muppet wrote:

> 
> Alexander Larsson wrote:
> > Its easy to post this event to the hidden window, and to catch it in the
> > window process for gdk, but this isn't really getting us anywhere, as we
> > were already in the window process. The problem is that we can't really
> > call the gtk mainloop (gtk_main_iteration) from the gdk code, because gdk
> > doesn't link to gtk+.
> 
> That's not actually a problem.  gtk_main_iteration() is just a thin
> compatibility wrapper around g_main_context_iteration().  GDK does have access
> to GLib.

I guess gtk_events_pending() is the real problem.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an all-American moralistic boxer from a doomed world. She's a 
warm-hearted antique-collecting bounty hunter who can talk to animals. They 
fight crime! 



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