tixNBFrame(n)
okay bestie, welcome to the tixNBFrame(n) page from Tix Built-In Commands π this is the whole backstage-pass vibe for the Tix NoteBook Frame widget, and we are keeping every single detail. no cap.
β¨ NAME β¨
tixNBFrame β create and manipulate Tix NoteBook Frame widgets. that's the name, that's the mission π
πΈ SYNOPSIS πΈ
tixNBFrame pathName ?options?
β¨ STANDARD OPTIONS β¨
standard-options lineup, coming in hot π₯ every one of these is a standard option, and the page says to see the options manual entry for the full tea:
-backgroundβ standard option, bestie β¨-borderWidthβ standard option β¨-cursorβ standard option β¨-disabledForegroundβ standard option β¨-foregroundβ standard option β¨-fontβ standard option β¨-height-highlightColorβ yes, this exact token is on the page; not splitting it, not fixing it, just preserving it exactly π«Ά-highlightThicknessβ standard option β¨-reliefβ standard option β¨-takeFocusβ standard option β¨-widthβ standard option β¨
See the options manual entry for details on the standard options. (That's the original pointer, not me dodging π )
π WIDGET-SPECIFIC OPTIONS π
these are the glow-up knobs for the NBFrame vibe:
[-backpagecolor backPageColor]β sets the color for the extra space on the row of tabs that isn't covered by any page tabs.[-focuscolor focusColor]β sets the color for the focus highlight.[-inactivebackground inactiveBackground]β sets the color for inactive tabs. the active tab always has the same background color as the notebook.[-tabpadx tabPadX]β the horizontal padding around the text labels on the page tabs.[-tabpady tabPadY]β the vertical padding around the text labels on the page tabs.
π¦ DESCRIPTION π¦
real talk: the NBFrame widget is used privately inside the TixNoteBook(n) widget to display the page tabs. it is not a main-character widget for app code β an application programmer should never create an NBFrame widget directly. like, not even once π the sole purpose of this manual page is to describe the options that can be used to configure the appearance of the TixNoteBook widget.
the NBFrame subwidget inside the TixNoteBook widget is named nbframe β that's the subwidget name, iykyk. you can access it with the subwidget command of the TixNoteBook widget or with the -options switch. See below for an example, bestie π«Ά
π₯ EXAMPLE π₯
exact example, copied with love and zero typos:
set nb [tixNoteBook .nb -options {
nbframe.BackPageColor gray60
}]
$nb subwidget nbframe config -font fixed
$nb add page1 -label "Page1"
set page [$nb subwidget page1]
button $page.b1
pack $page.b1
pack $nb -expand yes -fill both
π KEYWORDS π
signing off from Tix 4.0 π
this has been the tixNBFrame(n) page. the source/version is Tix 4.0; the page doesn't print a date, so I'm not inventing one β no fake timestamps on my watch π«Άβ¨
π¦ where this page comes from
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: tix 8.4.3-160000.2.2 Β· BSD-3-Clause
- Copyright (c) 1993-1999 Ioi Kim Lam
- Copyright (c) 2000-2001 Tix Project Group
- (c) 1990 The Regents of the University of California
- (c) 1994-1995 Sun Microsystems, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms