Hi!
I'm writing a software for solving and displaying plane stress problems using hte finite elt method. In this software the main window is (logicaly enough) called 'mainWindow' while the geometry is changed in another frame opened from the menu in 'mainWindow' called 'NodeWindow', below is just a piece of code from 'mainWindow' showing how 'NodeWindow' is called.
from NodeWindow import *
def onShowNodeWindow(self, event):
self._nodeWindow = NodeWindow(self,-1)
self._nodeWindow.model = self._model
self._nodeWindow.fillListBox()
self._nodeWindow.Show()
Now, I don't have any bugs, everything is working like a charm, but I would like the 'mainWindow' to be Refresh()ed when the geometry is changed in the 'NodeWindow'. Can I pass a pointer to 'mainWindow' to the 'NodeWindow' using some kind of self parameter or is there another way?
Thankfull for any ideas on how to solve this
// Johan Y