beetlebug▾
/

wm frame

Gives the identifier of the outer frame of a toplevel.

wm frame WINDOW

Description

ztk has no separate frame window. The result is a hexadecimal number for the window.

Returns

A hexadecimal string.

Examples

% toplevel .t
> string match 0x* [wm frame .t]
1

Errors

% wm frame .nope
bad window path name ".nope"
-errorcode NONE

Facts

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