Skip to content

Added default option to mainloop select#250

Open
infEreb wants to merge 1 commit intojroimartin:masterfrom
infEreb:mainloop_select
Open

Added default option to mainloop select#250
infEreb wants to merge 1 commit intojroimartin:masterfrom
infEreb:mainloop_select

Conversation

@infEreb
Copy link

@infEreb infEreb commented Jan 10, 2024

With this we no longer have to wait for any update events for View to update, this would be very helpful for creating dynamic widgets and generally more convenient than cumbersome userEvents

This doesn't break the old logic and keeps the need for userEvents for some cases
I would be very grateful if you would accept

@infEreb
Copy link
Author

infEreb commented Jan 10, 2024

If you favor the old logic, how about at least a bool flag (e.g. Dynamic) that would be in Gui and used in the default select

default:
    if !g.Dynamic {
        continue
    }

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