It would be great to have a struct to be returned when e.g. pressing a button or other control element,
instead of a boolean. With other controls, like a textfield, there could be different events.
E.g:
result=GUI.Button(Rect(0,0,50,20), "Wow");
“result” then is fed with one of each button mouse events (struct):
GUIResult.LEFTCLICK
GUIResult.RIGHTCLICK
GUIResult.LEFTRELEASE
GUIResult.RIGHTRELEASE
GUIResult.OUT
GUIResult.ENTER
GUIResult.MOVE
GUIResult.LEFTDOUBLECLICK
GUIResult.RIGHTDOUBLECLICK