Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for user-provided event loops & event handlers #3180

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

Aandreba
Copy link
Contributor

@Aandreba Aandreba commented Nov 5, 2024

I was trying to write an application that has a combination of Dioxus & OpenGL windows but that was made impossible by the fact that the only way to create multiple windows is by creating windows with WebViews.

Having the ability to manually provide an event loop should allow user to create as many windows as they want before the dioxus window start, and allow more flexibility.

Custom event handlers were implemented to allow the handling of events generated by the manually created windows.

Copy link
Member

@jkelleyrtp jkelleyrtp left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@jkelleyrtp jkelleyrtp merged commit 1370bce into DioxusLabs:main Nov 13, 2024
17 checks passed
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.

2 participants