TSizegrip

A themed resize grip — the small ribbed handle in the bottom-right corner of a window that the user drags to resize it. Place one at the bottom-right of a window (typically in a status bar) as a familiar resize affordance. TSizegrip is themed-only.

Example

// A status bar pinned to the bottom, with a sizegrip on the right.
const status = app.TFrame();
status.pack.configure({ side: 'bottom', fill: 'x' });

status.TLabel({ text: 'Ready' }).pack.configure({ side: 'left', padx: 6 });
status.TSizegrip().pack.configure({ side: 'right', anchor: 'se' });

The grip resizes its toplevel window, so it only has a visible effect when the window is resizable (which is the default).

Options

Option Type Description
style string A ttk style name.
cursor string Mouse cursor while hovering.

Methods

TSizegrip has no methods of its own; use the inherited widget methods. See Widget basics.

See also