Sofa.Gui

General description

Controls the graphical user interface

Example

import Sofa.Gui

supported_gui = Sofa.Gui.GUIManager.ListSupportedGUI(",")
print ("Supported GUIs are " + supported_gui)

Sofa.Gui.GUIManager.Init("gui_script_example")
Sofa.Gui.GUIManager.createGUI(root)
Sofa.Gui.GUIManager.MainLoop(root)
Sofa.Gui.GUIManager.closeGUI()

API Table of Content

Classes

BaseGUI

Base class defining all methods each GUI must implement

GUIManager

Class managing the GUI creation, closing and its properties