beetlebug▾
/

grab release

Ends the grab of a widget.

grab release WINDOW

Description

When WINDOW has the grab, the grab ends. When it does not, the call has no effect.

Returns

An empty string.

Examples

% frame .r
> grab .r
> grab release .r
> list [grab current] [grab status .r]
{} none

% frame .r2
> grab release .r2

Errors

% grab release
wrong # args: should be "grab release window"
-errorcode TCL WRONGARGS

Facts

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

See also