Module: GUI

Helper functions and classes for graphical interaction with Exudyn

  • Author: Johannes Gerstmayr

  • Date: 2020-01-25

  • Notes: This is an internal library, which is only used inside Exudyn for modifying settings.

Function: GetTkRootAndNewWindow

GetTkRootAndNewWindow()

  • function description:
    get new or current root and new window app; return list of [tkRoot, tkWindow, tkRuns]

Function: TkRootExists

TkRootExists()

  • function description:
    this function returns True, if tkinter has already a root window (which is assumed to have already a mainloop running)

Function: EditDictionaryWithTypeInfo

EditDictionaryWithTypeInfo(settingsStructure, exu = None, dictionaryName = 'edit')

  • function description:
    edit dictionaryData and return modified (new) dictionary
  • input:
    settingsStructure: hierarchical settings structure, e.g., SC.visualizationSettings
    exu: exudyn module
    dictionaryName: name displayed in dialog
  • output:
    returns modified dictionary, which can be used, e.g., for SC.visualizationSettings.SetDictionary(…)