The query widget consists of a text part, an entry and an OK button. It is derived from screen so the widget can be scaled by adjusting the width and height. The value returned by the get method is the value that was in the entry widget when the OK button was pressed. scale widget.