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
- function description:get new or current root and new window app; return list of [tkRoot, tkWindow, tkRuns]
Function: 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.visualizationSettingsexu
: exudyn moduledictionaryName
: name displayed in dialog - output:returns modified dictionary, which can be used, e.g., for SC.visualizationSettings.SetDictionary(…)