Skip to content
Discussion options

You must be logged in to vote

if I create a native app, does egui render the GUI even if the app isn't active?

By default, no. egui widgets need to announce their intention to redraw by calling request_repaint() on the context reference. This is only necessary if the widgets are performing animations. Otherwise, egui only responds to input events like pointer movements and key presses.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@d4h0
Comment options

Answer selected by d4h0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants