beetlebug▾
/

grid content

Gives the widgets in the grid of a container, the last one first.

grid content CONTAINER ?-row N? ?-column N?

Description

The same command as grid slaves, with the name of Tk 8.7 and later.

Returns

A list of widget names.

Examples

% frame .ct
> frame .ct.a
> grid .ct.a
> grid content .ct
.ct.a

Errors

% grid content .ct -bad 1
bad option "-bad": must be -column or -row
-errorcode NONE

Facts

Capability
None.
Tcl release
Tcl 9.1 and 8.6.
Since
ztk 1.0.0-beta.1

See also