Skip to Main Content
Raspberry Pi Essentials
book

Raspberry Pi Essentials

by Jack Creasey
April 2015
Beginner content levelBeginner
212 pages
4h 47m
English
Packt Publishing
Content preview from Raspberry Pi Essentials

Project 3 – Implementing a TKinter GUI for the Internet radio

TKinter is a standard GUI framework for Python and extends the command-line driven Python interface to a window-based interface. Window-based interfaces are typically user event driven, and this significantly reduces the amount of programming required to design a GUI. In the case of a TKinter/Python application, the task is split into roughly the following components:

  • UI definition and initialization code: This is typically a collection of frames, buttons, textboxes, dialogs, canvases, and so on, which are positioned in a TK window.
  • Definition and initialization of event handlers: Since the UI responds directly to the user input (mouse/touch or keyboard actions), the event handlers perform ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Raspberry Pi Zero W Wireless Projects

Raspberry Pi Zero W Wireless Projects

Vasilis Tzivaras
Raspberry Pi Hacks

Raspberry Pi Hacks

Ruth Suehle, Tom Callaway

Publisher Resources

ISBN: 9781784396398Supplemental Content