Widgets in Tkinter()

 


Tkinter GUI widgets 


Tkinter provides various widgets for application interface such as Button, Label and many other.


Below is the lost of widgets provided by Tkinr for GUI application to make it more user friendly. 
Click on widget name to understand functionality in detail.
Sr. NoOperator & Description
1           Button

The Button widget is used to display the buttons in GUI application.

Label

 Label widget is used to provide a single-line caption for other widgets. It can also contain images to set as GUI application background as well.

3

Entry

Entry is a widget used to display a single-line text field for accepting values from a user in GUI application at run time.

4Canvas

The Canvas widget is used to draw shapes, such as lines, polygons and rectangles etc in GUI application.

5Frame

Frame widget is used as a container widget to organise other widgets.

6Checkbutton

The Check button widget is used to display a number of options as check boxes. Allows user to select multiple options at a time.

7Radiobutton
The Radio button widget is used to display a number of options as radio buttons. User can select only one option at a time. Mainly used to select 1 out of multiple options.
8Listbox

Listbox widget is used to provide a list of options to a user in GUI Application.

9Menu

The Menu widget provides various commands to user in GUI application. These commands are contained inside Menubutton widget.

10Menubutton

The Menu button widget displays menus in GUI application.

11Message

The Message widget is used to display multiline text fields/lines for accepting values from a user in GUI application.

12Text

The Text widget is used to display text in multiple lines, like warning or important note.

13Scrollbar

Scrollbar widget adds scrolling capability to various widgets, such as list boxes.

14Scale

Scale widget provides a slider widget.

15Toplevel

The Top level widget is used to provide a separate window container.

16Spinbox

The Spinbox widget is a variant of the standard Tkinter Entry widget, which can be used to select from a fixed number of values.

17PanedWindow

A PanedWindow is a container widget that may contain any number of panes, arranged horizontally or vertically.

18LabelFrame

A labelframe is a simple container widget. Its primary purpose is to act as a spacer or container for complex window layouts.

19tkMessageBox

This module is used to display message boxes in your applications.


















Comments

My photo
Techno Xpresss
Bangalore, Karnataka, India