Skip to content

Set busy cursor while loading environment - #279

Draft
michaellans wants to merge 3 commits into
xopt-org:mainfrom
michaellans:busy_cursor
Draft

Set busy cursor while loading environment#279
michaellans wants to merge 3 commits into
xopt-org:mainfrom
michaellans:busy_cursor

Conversation

@michaellans

Copy link
Copy Markdown
Contributor

Introduces a new gui util for setting the cursor to provide visual feedback during slow GUI operations.

  • Added with_busy_cursor decorator to gui/utils.py, which wraps the decorated function with set_busy_cursor and unset_busy_cursor. The cursor indicates a busy state while a decorated function runs, and resets afterward.

  • Applied @with_busy_cursor to select_env in routine_page.py

  • Added unset_busy_cursor in expandable_message_box.py so that if an error message is shown, the cursor will revert to normal.

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