GUI elements

When designing and using a GUI, there are a number of common elements (often called widgets) that need to be considered. The following is a non-exhaustive list of widgets, and the options available, which may be limited by the graphical framework used:

  • Input controls:
    • Buttons: A widget that provides a simple way to trigger an event, such as confirming an action. The following screenshot shows an example of it:
    • Text fields: Boxes that accept text input from the user:
  • Checkboxes: Allows the user to make a binary (on/off) ...

Get Learn Programming in Python with Cody Jackson 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.