Tkinter is the installation of Python on its own GUI library, Cross-platform, although simple, I see a lot of people on the Internet to learn this GUI library is not interesting, now so many good GUI library, but I think there is a reasonable, there is always a reason for learning. I would like to take this GUI library to learn a simple GUI interface design and python knowledge of object-oriented programming.
Tkinter contains a few widgets, as described below:
Plug-ins and Descriptions
Button clickable buttons
Canvas the area used to draw or display image images
Checkbutton a clickable box whose status can be selected or unselected
Entry a single-line text box that users can enter data into
Frame for containers that host other small plug-ins
Label is used to display a single line of text
ListBox for users to select a Drop-down list
Menu Pull-down Menus
Message used to display multiple lines of text
menu items in the Menubutton dropdown
Text A multiline text box for the user to enter data
Topleve L Extra Window
Variable variables in the Tkinter
Because the strings, integers, floating-point numbers, and Boolean values in Python are immutable, Tkinter comes with some types that can be updated in place and can notify the relevant plug-ins when their values change. The following is the immutable type in Python and the mutable type in Tkinter.
immutable types and mutable types
int Intvar
String Stringvar
BOOL Booleanvar
Double Doublevar
And the value of the mutable type is set and obtained by the set and get methods.