asticode / go-astilectron

Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tray context menu popup

arvinkarimi2005 opened this issue · comments

Hello,
I'm developing a windows application with go-astilectron and i couldn't find a proper way to open tray context menu on click event or manually, so is there any way to open tray context menu?
This action could be done in electron by below link
https://www.electronjs.org/docs/latest/api/tray#traypopupcontextmenumenu-position-macos-windows

Thanks

@arvinkarimi2005 this method is not available in go-astilectron for now.

I won't have time to work on this anytime soon, but I'm welcoming PRs.