OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [NBFrame.html] - Blame information for rev 1782

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
 
2
 
3
 
4
<TITLE>tixNBFrame - Create and manipulate Tix NoteBook Frame widgets</TITLE>
5
<Center><H2>tixNBFrame - Create and manipulate Tix NoteBook Frame widgets</H2></Center><hr>
6
 
7
</pre><H3>SYNOPSIS</H3>
8
<B>tixNBFrame<I> <I>pathName ?<I>options</I></B>?
9
<P>
10
</pre><H3>SUPER-CLASS</H3>
11
None.
12
</pre><H3>STANDARD OPTIONS</H3>
13
<P>
14
<pre><code><code><code>
15
<B>
16
background      borderWidth     cursor          disabledForeground
17
foreground      font            height          highlightColor
18
highlightThickness      relief          takeFocus
19
width</B></I>
20
</code></code></code></pre>
21
<P>
22
See the <B>options(n)</B></I> manual entry for details on the standard options.
23
</pre><H3>WIDGET-SPECIFIC OPTIONS</H3>
24
<P>
25
<pre><code><code><code>
26
Name:           <B>backPageColor</B></I>
27
Class:          <B>BackPageColor</B></I>
28
Switch:         <B>-backpagecolor</B></I>
29
</code></code></code></pre>
30
<UL>
31
Specifies the color for the extra space on the row of tabs which is
32
not covered by any page tabs.
33
</UL>
34
<P>
35
<pre><code><code><code>
36
Name:           <B>focusColor</B></I>
37
Class:          <B>FocusColor</B></I>
38
Switch:         <B>-focuscolor</B></I>
39
</code></code></code></pre>
40
<UL>
41
Specifies the color for the focus highlight.
42
</UL>
43
<P>
44
<pre><code><code><code>
45
Name:           <B>inactiveBackground</B></I>
46
Class:          <B>InactiveBackground</B></I>
47
Switch:         <B>-inactivebackground</B></I>
48
</code></code></code></pre>
49
<UL>
50
Specifies the color for the inactive tabs (the active tab always have
51
the same background color as the notebook).
52
</UL>
53
<P>
54
<pre><code><code><code>
55
Name:           <B>tabPadX</B></I>
56
Class:          <B>Pad</B></I>
57
Switch:         <B>-tabpadx</B></I>
58
</code></code></code></pre>
59
<UL>
60
The horizontal padding around the text labels on the page tabs.
61
</UL>
62
<P>
63
<pre><code><code><code>
64
Name:           <B>tabPadY</B></I>
65
Class:          <B>Pad</B></I>
66
Switch:         <B>-tabpady</B></I>
67
</code></code></code></pre>
68
<UL>
69
The vertical padding around the text labels on the page tabs.
70
</UL>
71
</pre><HR>
72
</pre><H3>DESCRIPTION</H3>
73
The NBFrame widget is used privately inside the <B>TixNoteBook(n)</B></I>
74
widget to display the page tabs. The application programmer should
75
never create a NBFrame widget directly. The sole purpose of this maual
76
page is to describe the options that can be used to configure the
77
appearance of the TixNoteBook widget.
78
<P>
79
The name of the NBFrame subwidget inside the TixNoteBook widget is
80
called <B>nbframe</B></I>. It can be accessed using the <B>subwidget</B></I>
81
command of the TixNoteBook widget or the <B>-options</B></I> switch:
82
<P>
83
</pre><H3>EXAMPLE</H3>
84
<pre><code><code><code>
85
 tixNoteBook .d -options {
86
     nbframe.BackPageColor gray60
87
 }
88
 .d subwidget nbframe config -font fixed
89
 
90
 .d add page1 -label "Page1"
91
 set page [.d subwidget page1]
92
 button $page.b1
93
 pack $page.b1
94
 
95
 pack .d -expand yes -fill both
96
</code></code></code></pre>
97
</pre><H3>KEYWORDS</H3>
98
Tix(n), TixNoteBook(n)
99
<hr><i>Last modified Sun Jan 19 22:34:33 EST 1997 </i> ---
100
<i>Serial 853731302</i>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.