Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Python Geospatial Development Essentials

You're reading from   Python Geospatial Development Essentials Utilize Python with open source libraries to build a lightweight, portable, and customizable GIS desktop application

Arrow left icon
Product type Paperback
Published in Jun 2015
Publisher
ISBN-13 9781782175407
Length 192 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Karim Bahgat Karim Bahgat
Author Profile Icon Karim Bahgat
Karim Bahgat
Arrow right icon
View More author details
Toc

Chapter 3. Designing the Visual Look of Our Application

We have now come to the part where we want to design how our application will look and feel. For this graphical user interface (GUI), we take the path of least resistance and go with the Tkinter library since this is a standard built-in library in the official Python installations, at least for Windows and Mac. Other reasons for choosing Tkinter is that it is fairly easy to use and is slightly more Pythonic than some of the newer third-party GUI libraries.

If you have not used Tkinter before, you should still be able to follow along. The basic idea of Tkinter is that you create widget classes for each graphical element of your GUI, defining their look and placement. Complex elements can be created by nesting widgets within widgets. You can also bind functions to user interaction events.

Note

To learn more about Tkinter, I highly recommend using John W. Shipman's reference guide, available from http://infohost.nmt.edu/tcc...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image