naqvis / webview

Crystal bindings to Webview library
MIT License
94 stars 8 forks source link

Documentation Request: is it possible to have a menubar menu? how? #14

Closed brandondrew closed 2 years ago

brandondrew commented 2 years ago

It would be very helpful to include an example of creating a menu in the OS menubar (the one at the top of the screen on macOS—and I supposed in the webview window on other OSes). Is this possible?

naqvis commented 2 years ago

webview doesn't' have support for native menu handling, so does this shard. This shard just provides the webview bindings for Crystal language, for it to be used with Crystal. If in future, webview add supports for native menu handling, then this shard will be updated with those bindings.

So I'll suggest you to please raise a feature request on original webview library and see if author or community comes with implementation of that feature.

brandondrew commented 2 years ago

Thanks for the information!