O'Reilly logo

Raspberry Pi Essentials by Jack Creasey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required