-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
How can i trigger a simple Label to update from another thread?
As soon as i enter the event loop the thread becomes blocking, until a event is called.
But as far as i can see these events are only internal events such as mouse move events.
If i want to use EventLoop#next_tick, i need the UI which is a Rc<iui::ui::UIToken which i can only call from the owning thread. If i want to update the Label, the same occurs. How can i change it?
Maybe i did understand something wrong, if so feel free to correct me :)
Also another question: The Label seems to flash quickly as i update it. Is this expected behaviour?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels