This pr makes it possible to get native window handles from gallium, and manipulate them in cgo code. There is an example that shows how to change the alpha value of a window by via [NSWindow setAlphaValue:].
The reason to expose the native handles at all is that each platform's windowing API is very deep, and while gallium will provide a platform-independent abstraction layer over the most common use case, we will never cover every possible thing that you can do via native APIs.
This pr makes it possible to get native window handles from gallium, and manipulate them in cgo code. There is an example that shows how to change the alpha value of a window by via
[NSWindow setAlphaValue:]
.The reason to expose the native handles at all is that each platform's windowing API is very deep, and while gallium will provide a platform-independent abstraction layer over the most common use case, we will never cover every possible thing that you can do via native APIs.
Depends on #34