Name

NoteBookFrame

tixNoteBookFrame pathName [option value...]

The tixNoteBookFrame command creates a new tixNoteBookFrame widget named pathName. It provides page tabs for use in tixNoteBook-style megawidgets and serves as the container for any page frames to be controlled. It is up to the programmer to set up event bindings to properly connect page tabs and frames.

Standard Options

-background

-borderwidth

-cursor

-disabledforeground

-font

-foreground

-height

-relief

-takefocus

-width

  

Widget-Specific Options

-backpagecolor color (backPageColor, BackPageColor)

Color for the background behind the page tabs.

-focuscolor color (focusColor, FocusColor)

Color for the tab focus highlight.

-inactivebackground color (inactiveBackground, Background)

Background color for inactive tabs. The active tab always has the same background color as the tixNoteBookFrame.

-slave boolean (slave, Slave)

Whether the tixNoteBookFrame is a slave and therefore should not make its own geometry requests.

-tabpadx amount (tabPadX, Pad)

Horizontal padding around the text labels on the page tabs.

-tabpady amount (tabPadY, Pad)

Vertical padding around the text labels on the page tabs.

Methods

pathName activate tabName

Make the page tab tabName the active tab and also give it the tab focus. Note that this does not raise the page frame associated with the tab. If tabName is the empty string, no tab will be active or have the tab focus.

pathName add tabName [option value...]

Add a new page tab named tabName to the tixNoteBookFrame. It is up to ...

Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.