ENGLISH

Python GUI Programming Cookbook - Second Edition

Book information

Publisher
Packt Publishing
Year
2017
ISBN
9781787129023, 1787129020, 9781787129450, 1787129454
Language
english
Format
EPUB
Filesize
7 MB (7379138 bytes)
Edition
2nd ed
Pages
435\0
Time added
2020-02-15 03:30:43

Description

Python is a multi-domain, interpreted programming language. It is a widely used general-purpose, high-level programming language. It is often used as a scripting language because of its forgiving syntax and compatibility with a wide variety of different eco-systems. Its flexible syntax enables developers to write short scripts while at the same time, they can use object-oriented concepts to develop very large projects. This book follows a task-based approach to help you create beautiful and very effective GUIs with the least amount of code necessary.  Read more... Abstract: Python is a multi-domain, interpreted programming language. It is a widely used general-purpose, high-level programming language. It is often used as a scripting language because of its forgiving syntax and compatibility with a wide variety of different eco-systems. Its flexible syntax enables developers to write short scripts while at the same time, they can use object-oriented concepts to develop very large projects. This book follows a task-based approach to help you create beautiful and very effective GUIs with the least amount of code necessary Content: Cover Copyright Credits About the Author About the Reviewer www.PacktPub.com Customer Feedback Table of Contents Preface Chapter 1: Creating the GUI Form and Adding Widgets Introduction Creating our first Python GUI Getting ready How to do it & How it works & There's more & Preventing the GUI from being resized Getting ready How to do it & How it works & Adding a label to the GUI form Getting ready How to do it & How it works & There's more & Creating buttons and changing their text property Getting ready How to do it & How it works & There's more & Text box widgets. Getting readyHow to do it & How it works & Setting the focus to a widget and disabling widgets Getting ready How to do it & How it works & There's more & Combo box widgets Getting ready How to do it & How it works & There's more & Creating a check button with different initial states Getting ready How to do it & How it works & Using radio button widgets Getting ready How to do it & How it works & There's more & Using scrolled text widgets Getting ready How to do it & How it works & Adding several widgets in a loop Getting ready How to do it & How it works & There's more & Chapter 2: Layout ManagementIntroduction Arranging several labels within a label frame widget Getting ready How to do it & How it works & There's more & Using padding to add space around widgets Getting ready How to do it & How it works & How widgets dynamically expand the GUI Getting ready How to do it & How it works & There's more & Aligning the GUI widgets by embedding frames within frames Getting ready How to do it & How it works & Creating menu bars Getting ready How to do it & How it works & There's more & Creating tabbed widgets Getting ready How to do it & How it works & Using the grid layout managerGetting ready & How to do it & How it works & Chapter 3: Look and Feel Customization Introduction Creating message boxes -- information, warning, and error Getting ready How to do it & How it works & How to create independent message boxes Getting ready How to do it & How it works & How to create the title of a tkinter window form Getting ready How to do it & How it works & Changing the icon of the main root window Getting ready How to do it & How it works & Using a spin box control Getting ready How to do it ... How it works & Relief, sunken and raised appearance of widgetsGetting ready How to do it & How it works & Creating tooltips using Python Getting ready How to do it & How it works & Adding a progressbar to the GUI Getting ready How to do it & How it works & How to use the canvas widget Getting ready How to do it & How it works & Chapter 4: Data and Classes Introduction How to use StringVar() Getting ready How to do it & How it works & How to get data from a widget Getting ready How to do it & How it works & Using module-level global variables Getting ready How to do it & How it works &

Similar books