beetlebug▾
/

ttk::notebook tabs

Gives the pages of the notebook in the order of the tabs.

PATHNAME tabs

Description

Gives the path of the page of each tab, with the hidden tabs.

Returns

A list of paths.

Examples

% ttk::notebook .tnbtb
> foreach p {a b} {ttk::frame .tnbtb.$p; .tnbtb add .tnbtb.$p}
> .tnbtb tabs
.tnbtb.a .tnbtb.b

Errors

% ttk::notebook .tnbtb2; .tnbtb2 tabs x
wrong # args: should be ".tnbtb2 tabs "
-errorcode NONE

Facts

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

See also