LWN.net Logo

Embedding OS/X UI elements in the GTK+ toolkit

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)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds