How can i get NSWindows on a macos avalonia app from IPlatformHandle ? #15143
Unanswered
CastelloBrancoTecnologia
asked this question in
Q&A
Replies: 1 comment 2 replies
-
There is no NSWindow typed objects in https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Base/Platform/IMacOSTopLevelPlatformHandle.cs But you can do something like this:
Assuming that you have used "net8.0-macos" target framework, so SDK can reference these API bindings. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to make ann app macosx enter in kiok mode, but i am facing difcultie in converting IPlataformHandle to NSWindows
the code is
Beta Was this translation helpful? Give feedback.
All reactions