Version 8 of ttk::notebook

Updated 2008-12-28 20:19:14 by jenglish

A Tk (or rather Ttk) widget that stacks a bunch of widgets on top of each other in a window, with some tabs at the top to allow users to select between the widgets. A common idiom in Windows's Properties dialogs.

http://www.tcl.tk/man/tcl8.5/TkCmd/ttk_notebook.htm

A notebook may be used as a pages manager[L1 ] by using a style to turn off the tabs, like this (by Joe English):

    style theme settings default {
        style layout Plain.TNotebook.Tab null
    }
    ttk::notebook $nb -style Plain.TNotebook

tonytraductor I have a question. Using a ttk::notebook, how do I pass the currently selected tab's info to a process?

Answer: [$nb select] returns the widget name of the currently selected pane. In addition, the string "current" may be used as a tab identifier.