1tixNBFrame(n) Tix Built-In Commands tixNBFrame(n)
2
3
4
6 tixNBFrame - Create and manipulate Tix NoteBook Frame widgets
7
9 tixNBFrame pathName ?options? -background -borderWidth -cur‐
10 sor -disabledForeground -fore‐
11 ground -font -height -highlightColor -highlight‐
12 Thickness -relief -takeFocus -width
13
15 [-backpagecolor backPageColor] Specifies the color for the extra space
16 on the row of tabs which is not covered by any page tabs. [-focus‐
17 color focusColor] Specifies the color for the focus highlight. [-inac‐
18 tivebackground inactiveBackground] Specifies the color for the inactive
19 tabs (the active tab always have the same background color as the note‐
20 book). [-tabpadx tabPadX] The horizontal padding around the text
21 labels on the page tabs. [-tabpady tabPadY] The vertical padding
22 around the text labels on the page tabs.
23
25 The NBFrame widget is used privately inside the TixNoteBook(n) widget
26 to display the page tabs. The application programmer should never cre‐
27 ate a NBFrame widget directly. The sole purpose of this maual page is
28 to describe the options that can be used to configure the appearance of
29 the TixNoteBook widget.
30
31 The name of the NBFrame subwidget inside the TixNoteBook widget is
32 called nbframe. It can be accessed using the subwidget command of the
33 TixNoteBook widget or the -options switch. See below for an example.
34
36 set nb [tixNoteBook .nb -options {
37 nbframe.BackPageColor gray60 }] $nb subwidget nbframe config -font
38 fixed
39
40 $nb add page1 -label "Page1" set page [$nb subwidget page1] button
41 $page.b1 pack $page.b1
42
43 pack $nb -expand yes -fill both
44
46 Tix(n), tixNoteBook(n)
47
48
49
50
51
52Tix 4.0 tixNBFrame(n)