codecentric / NSMenuFX

Other
127 stars 26 forks source link

Support for Windowless menu bar #16

Closed msgilligan closed 3 years ago

msgilligan commented 8 years ago

On Mac OS X, applications can have no windows open but still have a menu bar. Can we do this with NSMenuFX?

0x4a616e commented 8 years ago

That is a good question actually. I'll try a few things out. And if it turns out not to be possible right now, i'm pretty sure it'll be easy to do with own native bindings

0x4a616e commented 8 years ago

There is probably a related issue: Right now it is not possible to have a menu bar for a stage without a scene. Regardless of how the final solution might look like, there shouldn't be a NPE thrown in this situation...

0x4a616e commented 3 years ago

Now with 3.0.0 we can. I already have a POC, just need to make it a bit nicer ;)

0x4a616e commented 3 years ago

I created a follow up, closing this one here.