wcpopup
Rust context/popup menu for Windows.
Supports dark/light theme and color/size configuration.
- Colors
- Text color
- Background color
- Border color
- Size
- Menu top/bottom margin
- Menu item top/bottom and left/right padding
- Font size/weight


Usage
Use ManuBuilder to create a Menu with MenuItems, and then call Menu.popup_at() to show Menu.
When a MenuItem is clicked, SelectedMenuItem data is returned.
[!NOTE] WebView2 may receive all keyboard input instead of its parent window(#1703).
Using WebView2, you may need to enable the feature flag.--enable-features=msWebView2BrowserHitTransparent
Accelerator
Accelerators are used only to display available shortcut keys by default.
Use "accelerator" feature to treat accelerators as commands.
With this feature, when a shortcut key is pressed, the corresponding MenuItem is returned as the result of Menu.popup_at().
features =