beetlebug▾
/

menu postcascade

Shows the menu of the cascade entry at INDEX.

PATHNAME postcascade INDEX

Description

Shows the submenu of the cascade entry next to it, and hides the submenu of another cascade of the menu.

Returns

An empty string.

Examples

% menu .pc -tearoff 0
> menu .pc.sub -tearoff 0
> .pc add cascade -label More -menu .pc.sub
> .pc postcascade 0

Errors

% menu .pc2; .pc2 postcascade
wrong # args: should be ".pc2 postcascade index"
-errorcode NONE

Facts

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

See also