Capabilities#

The methods every widget inherits, grouped by area — each mirroring the corresponding Tcl/Tk manual page so the two references line up. A capability page is a spec (signatures, parameters, return types); the Foundations guides teach the same areas by building. The geometry managers that size and place a widget (pack, grid, place, stacking order) have their own Geometry section.

Configuration

Read and write a widget’s options — configure, cget, keys.

Configuration
Bind

Attach callbacks to events — bind, bind_all, bindtags.

Bind
Focus

Query and move the keyboard focus, and traversal order.

Focus
Grab

Route input to one widget for a modal dialog.

Grab
After

Schedule callbacks on the event loop — after, after_idle.

After
Lifecycle

Refresh, wait, and destroy — update, wait_*, destroy.

Lifecycle
Clipboard

Read and write the system clipboard.

Clipboard
Selection

Read, clear, and own the current selection.

Selection
Busy

Block input to a widget while it works — busy, busy_forget.

Busy
Interpreter

Crossing the Tcl boundary — converting Tk values, register, the Tk version.

Interpreter
Widget & screen info

The winfo_* methods — class, size, position, and screen dimensions.

Widget & screen info