| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Boost.Python.instance --+
|
CursorGuard
Cursor guard to change the current cursor to an alternate cursor, automatically reverting to previous cursor when going out of scope.
Example:
def longFunc():
# Change to a busy cursor, this will take long.
cg = ui.CursorGuard( ui.Cursor.BUSY )
doSomethingThatTakesALongTime()
def popSomeUi():
# While the message box is up, make sure we have a normal cursor.
cg = ui.CursorGuard( ui.Cursor.NORMAL )
ui.showMessage( 'demo', 'This is a demo' )
| Instance Methods | |||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Class Variables | |
__instance_size__ = 24
|
|
| Properties | |
|
Inherited from |
| Method Details |
CursorGuard constructor.
|
helper for pickle
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Feb 8 08:00:13 2012 | http://epydoc.sourceforge.net |