-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add context managers to use a loading icon
This is a bit simpler than Gtk.Spinner, which doesn't seem to actually spin if some code is blocking. Some kind of an async dance would probably be required to make that work as intended. There's a bizarre need for a tiny sleep here for the icon to actually change. It could be that the 1/100 s that is enough on my system might not be enough on someone else's system. Closes #18
- Loading branch information
Showing
2 changed files
with
55 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters