Hello. I’m trying to make a floating window to never activate. It has no control anyway and I’d like it to not steal the focus.
I tried both of these, but they are read-only:
self.NSPanelMBS.canBecomeKeyWindow=False
self.NSPanelMBS.canBecomeMainWindow=False
(I’m not sure which one would be correct, as “key” and “main” look synonymous to me).
So they’re read-only and I can’t find how to change them otherwise, except using the NSWindow’s constructor, but I already have the window existing.
I also found self.NSPanelMBS.becomesKeyOnlyIfNeeded=true, but it doesn’t look to change anything (and the documentation seems poor for this).
What’s the key to change these properties?