summaryrefslogtreecommitdiffstats
path: root/doc/ttk_intro.n
diff options
context:
space:
mode:
authorhobbs <hobbs>2006-12-13 23:04:32 (GMT)
committerhobbs <hobbs>2006-12-13 23:04:32 (GMT)
commit983fb168919502aae8279e5596bfaa149d17ff8f (patch)
tree128697b7c80828f4a3d31417bb432bc8eec88b00 /doc/ttk_intro.n
parent73eb12c82342f64f6867682e31d4f7b36283c4a1 (diff)
downloadtk-983fb168919502aae8279e5596bfaa149d17ff8f.zip
tk-983fb168919502aae8279e5596bfaa149d17ff8f.tar.gz
tk-983fb168919502aae8279e5596bfaa149d17ff8f.tar.bz2
* unix/Makefile.in (install-doc): intentionally skip ttk_dialog.n
installation (not for public consumption) * doc/scrollbar.n, doc/button.n, doc/checkbutton.n: * doc/entry.n, doc/frame.n, doc/label.n, doc/labelframe.n: * doc/menu.n, doc/menubutton.n, doc/panedwindow.n: * doc/radiobutton.n, doc/scrollbar.n, doc/ttk_*: revamp ttk docs to use consist nroff format (not 100% consistent with classic widget docs). Add more man page cross-linking "SEE ALSO".
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)