Skip to content

Add widget operation to find currently focused widget#1526

Merged
hecrj merged 2 commits into
iced-rs:masterfrom
mtkennerly:feature/find-focused
Nov 13, 2022
Merged

Add widget operation to find currently focused widget#1526
hecrj merged 2 commits into
iced-rs:masterfrom
mtkennerly:feature/find-focused

Conversation

@mtkennerly

Copy link
Copy Markdown
Contributor

This also adds conversions from widget-specific IDs to the generic ID type, so that you can use the ID returned by this operation to match against specific TextInputs, for example.

More context: https://discord.com/channels/628993209984614400/1040413102606393434

@hecrj hecrj added feature New feature or request widget shell labels Nov 13, 2022
@hecrj hecrj added this to the 0.6.0 milestone Nov 13, 2022

@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.

Sweet! Thanks! 🎉

@hecrj hecrj merged commit 23364bc into iced-rs:master Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request shell widget

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants