Toolkit Widgets

Suman Lata Tripathi, Abhishek Kumar, Jyotirmoy Pathak · 2022

Toolkit (Tk) is a free and open-source cross-platform widget toolkit, which provides a library of widgets to create a graphical user interface (GUI). Tk offers a library of widgets for many programming languages. Each widget is under the control of the geometry manager which manipulates or optimizes the size and location on the screen. The three mostly used geometry managers are grid, pack and place. The naming system in Tk reflects the order in the hierarchy of widgets. The default unit of the widget is the pixel, specified without dimension. Other dimensions are inches (i), millimeters (m), centimeters (cm), and points (p). The Tk script begins with the creation of the widget, arranging with the geometry manager, and binding with the course of action. A button is a very popular widget used in developing the GUI. The textvariable dynamically updates the variable values linked to a specified widget value.

Read the paper · More papers on PaperTik