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__.MockClass
A simple splash screen for FSLeyes. An image and a status bar are displayed; the status bar can be updated via the
SetStatus()
method.The
ImagePanel
class 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
FSLeyesSplash
frame.- Parameters
parent – The
wx
parent object.
-
Show
()¶ Show this
FSLeyesSplash
frame, and centre it on the screen.
-
SetStatus
(text)¶ Sets the text shown on the status bar to the specified
text
.
-
__module__
= 'fsleyes.splash'¶
-