fsleyes.splash¶
This module provides the FSLeyesSplash class, a splash screen for
FSLeyes.
-
fsleyes.splash.getSplashFile()¶ Returns the path to the splash screen image file.
-
class
fsleyes.splash.FSLeyesSplash(parent)¶ Bases:
__main__.MockClassA simple splash screen for FSLeyes. An image and a status bar are displayed; the status bar can be updated via the
SetStatus()method.The
ImagePanelclass is used to display the image.Typical usage would be something like the following:
splash = FSLeyesSplash(None) splash.Show() # Do something, e.g. loading overlays splash.SetStatus('Loading blah.nii.gz ...') # Finished initialising, the application is ready splash.Close()
-
__init__(parent)¶ Create a
FSLeyesSplashframe.Parameters: parent – The wxparent object.
-
Show()¶ Show this
FSLeyesSplashframe, and centre it on the screen.
-
SetStatus(text)¶ Sets the text shown on the status bar to the specified
text.
-
__module__= 'fsleyes.splash'¶
-