JWM icon indicating copy to clipboard operation
JWM copied to clipboard

Getting raw window handle, NSWindow, or the like

Open mwcampbell opened this issue 2 years ago • 1 comments

To allow applications to do platform-specific things not directly supported by jwm, such as injecting an accessibility implementation (e.g. as supported by AccessKit), jwm should allow the user to get the platform-specific window handle (e.g. HWND or NSWindow pointer). I think it would make sense to do this via methods on the platform-specific Window subclasses, such as winGetHwnd and macGetNSWindow.

mwcampbell avatar Aug 07 '23 12:08 mwcampbell

Good idea! Care to do a PR?

tonsky avatar Aug 07 '23 13:08 tonsky