Skip to content

Add show_window_menu action#2243

Merged
hecrj merged 3 commits into
iced-rs:masterfrom
ids1024:show_window_menu
Feb 13, 2024
Merged

Add show_window_menu action#2243
hecrj merged 3 commits into
iced-rs:masterfrom
ids1024:show_window_menu

Conversation

@ids1024

@ids1024 ids1024 commented Feb 9, 2024

Copy link
Copy Markdown
Contributor

Winit currently supports this only on Windows and Wayland.

This requests that a context menu is shown at the cursor position, like the menu normally triggered by right clicking the title bar. This is important for implementing client side decorations with Iced widgets.

Comment thread runtime/src/window/action.rs Outdated
Winit currently supports this only on Windows and Wayland.

This requests that a context menu is shown at the cursor position,
like the menu normally triggered by right clicking the title bar. This
is important for implementing client side decorations with Iced widgets.

@hecrj hecrj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🥳

I renamed the action to show_system_menu to avoid redundancy since window is already the name of the module.

@hecrj hecrj enabled auto-merge February 13, 2024 03:51
@hecrj hecrj added this to the 0.12 milestone Feb 13, 2024
@hecrj hecrj added feature New feature or request shell addition labels Feb 13, 2024
@hecrj hecrj merged commit 52e207b into iced-rs:master Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

addition feature New feature or request shell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants