Returns the GUI associated with WIDGET. This is a convenience procedure intended for use in event handlers.