Автор: George W New, Leire Verdugo
Издательство: Independently published
Год: 2024
Страниц: 422
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB
Python is one of the most popular and easiest programming languages out there. Learning it -- and mastering the craft -- is a walk in the park when you have the right guidance.
Graphical User Interface(GUI) is a form of user interface which allows users to interact with computers through visual indicators using items such as icons, menus, windows, etc. It has advantages over the Command Line Interface(CLI) where users interact with computers by writing commands using keyboard only and whose usage is more difficult than GUI. What is Tkinter? Tkinter is the inbuilt Python module that is used to create GUI applications. It is one of the most commonly used modules for creating GUI applications in Python as it is simple and easy to work with. You don’t need to worry about the installation of the Tkinter module separately as it comes with Python already. It gives an object-oriented interface to the Tk GUI toolkit. Some other Python Libraries available for creating our own GUI applications are: Kivy, Python Qt, wxPython. Among all Tkinter is most widely used.
Here are some common use cases for Tkinter:
Creating windows and dialog boxes: Tkinter can be used to create windows and dialog boxes that allow users to interact with your program. These can be used to display information, gather input, or present options to the user.
Building a GUI for a desktop application: Tkinter can be used to create the interface for a desktop application, including buttons, menus, and other interactive elements.
Adding a GUI to a command-line program: Tkinter can be used to add a GUI to a command-line program, making it easier for users to interact with the program and input arguments.
Creating custom widgets: Tkinter includes a variety of built-in widgets, such as buttons, labels, and text boxes, but it also allows you to create your own custom widgets.
Prototyping a GUI: Tkinter can be used to quickly prototype a GUI, allowing you to test and iterate on different design ideas before committing to a final implementation.
In summary, Tkinter is a useful tool for creating a wide variety of graphical user interfaces, including windows, dialog boxes, and custom widgets. It is particularly well-suited for building desktop applications and adding a GUI to command-line programs.
Here what you'll learn after downloading this book:
- Introduction to Tkinter
- Widgets in Tkinter
- First GUI Application using Tkinter
- Tkinter - Button
- Tkinter – Label
- Tkinter – Checkbutton Widget
- Tkinter – Canvas Widget
- Tkinter – Combobox Widget
- Tkinter – Entry Widget
- Tkinter – Text Widget
- Tkinter – Message
- Tkinter – Menubutton Widget
- Tkinter – SpinBox
- Tkinter – Progressbar
- Tkinter – Scrollbar
- Tkinter – ScrolledText Widget
- Tkinter – ListBox Widget
- Applications and Projects with Tkinter
And more…
This Book Is Perfect For:
- Total beginners with zero programming experience
- Returning professionals who haven’t written code in years
- Seasoned professionals looking for a fast, simple, crash course in Python
Скачать Modern Tkinter Python for Developers: Design and Build functional and user-friendly GUI applications