|
|
|
|
|
by therzok
3330 days ago
|
|
Visual Studio for Mac's shell code is written in gtk+ 2. We have supporting code in gtk+ to allow mixing gtk widgets with native widgets. 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?