Skip to content

Comment on My Golang UI package: lessons learned about threading and plans for the futureparent

Comments

Have you looked at setLevel on NSWindow?

[dialog setLevel:NSStatusWindowLevel];

It's probably not a viable solution long-term because users will expect more Mac OS X-like behaviour and non-modal dialogs, but it would help you do what you want I think.

Actually OS X is the only system that guarantees application-modal dialog boxes stay always on top; it's the other platforms that I would need to worry about.

ah ok, sorry I misunderstood.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.