summaryrefslogtreecommitdiffstats
path: root/doc/ttk_intro.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ttk_intro.n')
-rw-r--r--doc/ttk_intro.n13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/ttk_intro.n b/doc/ttk_intro.n
index 1187c3f..2ee1944 100644
--- a/doc/ttk_intro.n
+++ b/doc/ttk_intro.n
@@ -1,12 +1,18 @@
'\"
'\" Copyright (c) 2004 Joe English
'\"
+'\" See the file "license.terms" for information on usage and redistribution
+'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
+'\"
+'\" RCS: @(#) $Id: ttk_intro.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $
+'\"
.so man.macros
.TH ttk_intro n 8.5 Tk "Tk Themed Widget"
.BS
.SH NAME
ttk_intro \- Introduction to the Tk theme engine
.BE
+
.SH "OVERVIEW"
The Tk themed widget set is based on a revised and enhanced version
of TIP #48 (http://tip.tcl.tk/48) specified style engine.
@@ -17,6 +23,7 @@ the code implementing its appearance.
Widget class bindings are primarily responsible for
maintaining the widget state and invoking callbacks;
all aspects of the widgets appearance is
+
.SH "THEMES"
A \fItheme\fR is a collection of elements and styles
that determine the look and feel of the widget set.
@@ -97,7 +104,7 @@ The themed Tk widgets generalizes this idea:
every widget has a bitmap of independent state flags.
Widget state flags include \fBactive\fR, \fBdisabled\fR,
\fBpressed\fR, \fBfocus\fR, etc.,
-(see \fIwidget(n)\fR for the full list of state flags).
+(see \fIttk_widget(n)\fR for the full list of state flags).
.PP
Instead of a \fB-state\fR option, every widget now has
a \fBstate\fR widget command which is used to set or query
@@ -131,6 +138,7 @@ in the \fBpressed\fR state.
but not by much).
.PP
\fINote to self: rewrite that paragraph. It's horrible.\fR
+
.SH "STYLES"
Each widget is associated with a \fIstyle\fR,
which specifies values for element resources.
@@ -156,5 +164,6 @@ style map TButton \e
-relief [list {pressed !disabled} sunken] \e
;
.CE
+
.SH "SEE ALSO"
-widget(n), style(n)
+ttk_widget(n), ttk_style(n)