Embedding OS/X UI elements in the GTK+ toolkit
[Posted August 28, 2013 by n8willis]
Over at the Lanedo blog, Michael Natterer explains
recent work the company has done in conjunction with Xamarin to better
integrate GTK+ with Mac OS X. The work involves embedding Quartz
widgets into GTK+, plus properly handling input events.
"Fortunately, event handling in GTK+ and Quartz are similar:
Mouse events are delivered directly to the GdkWindow / NSView they are
happening on. Key events get dispatched to the top-level GdkWindow /
NSWindow which is in charge of forwarding them to the focus widget /
first responder."
(
Log in to post comments)