liveBook · Manning

Widget

A widget is a self-contained user-interface component that displays information or provides a focused interaction.

How 2 Manning books explain it

Get Programming: Learn to code with Python

A widget is a graphical user-interface component that displays information or accepts user interaction within a window.

How it is used
Uses graphical controls to build interactive GUI windows.
How deep it goes
Explains creation, placement, types, and event handling, then applies them in a countdown example.
Examples
Uses buttons, text boxes, labels, progress bars, menus, and a countdown timer.
What you can do after
Build it from scratch by adding tkinter widgets, placing them in a window, and connecting actions to event handlers.

Read how Get Programming: Learn to code with Python explains widget →

Python How-To

A widget is a self-contained user-interface component that displays information or provides an interaction.

How it is used
Builds Streamlit web-app interfaces that collect input, trigger actions, arrange content, and display information.
How deep it goes
Defines widget categories and demonstrates configuration, columns, filtering, callbacks, and reruns, while deferring detailed widget usage instructions.
Examples
Uses task filters, a View Detail button, sidebar controls, columns, task forms, and interfaces for creating, updating, and deleting tasks.
What you can do after
Apply it via Streamlit to construct interactive task-list, detail, filtering, and data-entry interfaces.

Read how Python How-To explains widget →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.