I have a root class that makes a new instance of a mainmenu class
The mainmenu object simply just displays a GUI with options and buttons.
When a button is clicked on the GUI is there anyway of sending a value back to the root class (which identifies the button i.e. button text) from the button handler?
thanks in advance.