[Mono-devel-list] Running MWF/SWF and GTK# in the same process with the same mainloop

Paolo Molaro lupus at ximian.com
Tue Mar 29 09:54:15 EST 2005


On 03/28/05 Zac Bowling wrote:
> If anyone wants to tinker with it or has any ideas on writting a mixed
> GTK#/SWF queue it would be interesting to hear :).

GLib has a mechanism to register event sources. You'd write the
proper code to create an event source and register it with GLib.
It may be enough to get from the MWF backend the file descriptor of the
X connection and register that with a callback.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list