Reputation: 4425
I am using the traitsui package from enthought. I'm launching a gui like this:
appui = TestBenchUI()
appui.configure_traits()
Where TestBenchUI
is a custom gui derived from enthought.traits.api.HasTraits
. Some of the gui operations take some time to complete, and I would like the gui to display a wait/busy cursor. I've been unable to determine how to do this. Could someone please enlighten me?
Thanks in advance.
Upvotes: 0
Views: 344
Reputation: 108
Add this import:
from enthought.pyface.api import GUI
Then when you need to show a busy cursor:
GUI.set_busy()
Upvotes: 4