But the glue code isn't used here, because there is another interesting mechanism at play. The root window created by gtk on macOS is actually an NSWindow (see GdkQuartzWindow), thus you can use Cocoa APIs on the window. We just set the title visibility to hidden and set the native titlebar widget.
Do you plan to port to GTK 3 in the future? Does version 2 even have HiDPI support?
GNOME definitely is the focus as their resources are quite limited. That's why I welcome Microsoft using it and hope to see some improvements for Windows and macOS in the future.
For Gedit you can just download it here: https://wiki.gnome.org/Apps/Gedit It starts up immediately for me.
Inkscape and GIMP also have dedicated installers.
Yes, having Gtk UI running on Gtk 3 is something we want to have at some point.
I thought after buying Xamarin they would replace Gtk part.
> lack of retina/hidpi support in gtk+.
You should phrase this as "support in gtk+ 2", because since version 3 GTK+ supports HiDPI :)
How did they manage to integrate the buttons in the title bar with it?