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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.