I have question concerning OOP with Python. I want to know when Python class or being specific, how py class ends in package like wxpython.
What I mean is I have one class let say of frame and another class of a dialog box all in same py file. When Frame runs, uses self i.e self.button = wx.Button. This object belongs to frame. And let say we have text control in the other class (dialog). How do I call method of another class from the other class, i.e how do I call button from dialog and dialog from button.
Suppose I want to manipulate the button, let say its label, but from another class which it doesn't belong (In this case Dialog)?
I hhave done these without grasp thge real concept. I have dug up but I find difficult to grasp it wel; so, need your support!