Model-view-controller for egui - how? #1806
Unanswered
John-Nagle
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm also curious about this, and in general what design patterns or architectures are recommended for egui. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are there any libraries to help with model-view-controller architecture with egui? Basically, there you are in the middle of refresh, someone has clicked on something, and now you need to send a message to something to deal with the event. Later, you'll get an answer back, probably on a later frame, and that answer needs to be routed to the persistent part of the appropriate GUI element. That's pretty normal.
So is there some crate to help manage that? Something that owns the persistent part of the GUI elements and has the appropriate message passing? This has to have been done before.
Beta Was this translation helpful? Give feedback.
All reactions