Skip to content

modify Shell::merge to take FnMut(B) -> Option<Message> - #3394

Open
edwloef wants to merge 1 commit into
iced-rs:masterfrom
edwloef:shell-merge-option
Open

modify Shell::merge to take FnMut(B) -> Option<Message>#3394
edwloef wants to merge 1 commit into
iced-rs:masterfrom
edwloef:shell-merge-option

Conversation

@edwloef

@edwloef edwloef commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

I just encountered a use-case where not every message in the local shell should result in a message in the global shell, but rather should result in some action taken by the widget that owns the local shell. This makes that use-case possible without needing to manually update all of Shell's fields like the new Component does.

@edwloef edwloef closed this Jul 21, 2026
@edwloef edwloef reopened this Aug 15, 2026
@edwloef
edwloef force-pushed the shell-merge-option branch from f519e23 to 62cecec Compare August 15, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant