Lesson 37. A library for graphical user interfaces

After reading lesson 37, you’ll be able to

  • Describe a graphical user interface
  • Use a library for a graphical user interface to write a program

Every program you’ve written has interacted with the user in a text-based way. You’ve been displaying text on the screen and getting text input from the user. Although you can write interesting programs this way, the user is missing a more visual experience.

Consider this

Think about a program you use in your everyday life: a browser to go on the internet. What kinds of interactions do you have with the browser?

Answer: You open the browser window, click buttons, scroll, select text, and close the browser window.

Many programming ...

Get Get Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.