You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For example, when running a thread that updates a progress bar, the UI crashes because updates are made out of sync with the GTK UI main thread
Describe the solution you'd like
I think an inbuilt scheduler that calls g_idle_add , g_main_context_invoke or g_timeout_add to schedule functions on the main UI thread even from other threads would be neat. Preferably with an API similar to the following
If this is not possible then some sort of documentation of how to do this would be appreciated, even if "hacky" as I believe any hacky implementation could be wrapped by a proper widget implementation.
Additional context
This is a screenshot of my specific use-case
And here is the error.
I did not want to report this as a bug as this is outside what libadwaita as a UI toolkit does.
Plus this last part is not context per se but I really appreciate the work you've put in to this library and it's documentation as I have been a user since January and have seen how it has evolved.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
For example, when running a thread that updates a progress bar, the UI crashes because updates are made out of sync with the GTK UI main thread
Describe the solution you'd like
I think an inbuilt scheduler that calls
g_idle_add
,g_main_context_invoke
org_timeout_add
to schedule functions on the main UI thread even from other threads would be neat. Preferably with an API similar to the followingDescribe alternatives you've considered
If this is not possible then some sort of documentation of how to do this would be appreciated, even if "hacky" as I believe any hacky implementation could be wrapped by a proper widget implementation.
Additional context
This is a screenshot of my specific use-case
And here is the error.
I did not want to report this as a bug as this is outside what libadwaita as a UI toolkit does.
Plus this last part is not context per se but I really appreciate the work you've put in to this library and it's documentation as I have been a user since January and have seen how it has evolved.
The text was updated successfully, but these errors were encountered: