The Ruby language supports creating windows for GUI (Graphic User Interface). GUI applications are programs that respond to user input, which are usually mouse events, such as clicking buttons, clicking menus, etc. A GUI application may consist of the following types of objects: Widgets – basic GUI objects that can be put directly in the …