fsleyes.actions.savelayout¶
This module provides the SaveLayoutAction class, an action
which allows the user to save the current layout.
-
class
fsleyes.actions.savelayout.SaveLayoutAction(frame)¶ Bases:
fsleyes.actions.base.ActionThe
SaveLayoutActionallows the user to save the currentFSLeyesFramelayout, so it can be restored at a later time. See thelayoutsmodule.-
__init__(frame)¶ Create a
SaveLayoutAction.Parameters: frame – The FSLeyesFrame.
-
_SaveLayoutAction__saveLayout()¶ Save the current
FSLeyesFramelayout. The user is prompted to enter a name, and the current frame layout is saved via thelayouts.saveLayout()function.
-
__module__= 'fsleyes.actions.savelayout'¶
-