Sofa.Gui

General description

Control the graphical user interface

Example of use

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