beetlebug▾
/

menu type

Gives the type of the entry at INDEX.

PATHNAME type INDEX

Description

Gives command, checkbutton, radiobutton, cascade, separator, or tearoff.

Returns

The type of the entry.

Examples

% menu .ty
> .ty type 0
tearoff

Errors

% menu .ty2; .ty2 type
wrong # args: should be ".ty2 type index"
-errorcode NONE

Facts

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

See also