X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCalc%2Ftui%2Fmedevents.py;h=e7727e86eefb8bb9360a0d02370357ee12eda95b;hb=c933321e259af4968b2469c1d4f6b7ac5178e294;hp=1d41ff7cf8a283e8ac9e1d457a65431c8b6e4ea1;hpb=e53aa1a324e0744debffac6d2aa66171c47aef69;p=modules%2Fmed.git diff --git a/src/MEDCalc/tui/medevents.py b/src/MEDCalc/tui/medevents.py index 1d41ff7cf..e7727e86e 100644 --- a/src/MEDCalc/tui/medevents.py +++ b/src/MEDCalc/tui/medevents.py @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2016 CEA/DEN, EDF R&D +# Copyright (C) 2015-2024 CEA, EDF # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -39,7 +39,7 @@ def connectEventListener(): except SALOME.SALOME_Exception as e: medcalc.wrn("The event listener is not running yet") msg ="When you'll have loaded the MED GUI, " - msg+="call explicitely \"medcalc.medevents.connectEventListener()\" " + msg+="call explicitly \"medcalc.medevents.connectEventListener()\" " msg+="to connect the GUI event listener" medcalc.inf(msg) __eventListener = None @@ -120,6 +120,9 @@ def notifyGui_removePresentation(presId): # def notifyGui_modifyPresentation(presId): __notifyGui(MEDCALC.EVENT_MODIFY_PRESENTATION, presentationId=presId) +# +def notifyGui_visibilityChanged(presId): + __notifyGui(MEDCALC.EVENT_VISIBILITY_CHANGED, presentationId=presId) def notifyGui_playQtTestingScenario(filename): __notifyGui(MEDCALC.EVENT_PLAY_TEST, filename=filename)