summaryrefslogtreecommitdiffstats
path: root/doc/ttk_style.n
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2007-10-23 15:44:35 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2007-10-23 15:44:35 (GMT)
commit80d0752f3fcd6ebbde4f911d8d9f8fc3cf1eb3db (patch)
tree5eda8228f68eff81bf0c9d40d5b70ae6d20b6d5e /doc/ttk_style.n
parent5bba7451afec0fd1e96cc7fd502fc43e48d6c79b (diff)
downloadtk-80d0752f3fcd6ebbde4f911d8d9f8fc3cf1eb3db.zip
tk-80d0752f3fcd6ebbde4f911d8d9f8fc3cf1eb3db.tar.gz
tk-80d0752f3fcd6ebbde4f911d8d9f8fc3cf1eb3db.tar.bz2
Rendering-with-groff GOOBE.
Diffstat (limited to 'doc/ttk_style.n')
-rw-r--r--doc/ttk_style.n12
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/ttk_style.n b/doc/ttk_style.n
index 52322c3..7f4237d 100644
--- a/doc/ttk_style.n
+++ b/doc/ttk_style.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: ttk_style.n,v 1.3 2006/12/13 23:04:33 hobbs Exp $
+'\" RCS: @(#) $Id: ttk_style.n,v 1.4 2007/10/23 15:44:36 dkf Exp $
'\"
.so man.macros
.TH ttk_style n 8.5 Tk "Tk Themed Widget"
@@ -15,11 +15,13 @@ ttk_style \- Control overall look and feel of widgets
\fBttk::style\fR \fIoption\fR ?\fIargs\fR?
.BE
+.BS
.SH NOTES
.PP
This manpage has not been written yet.
Please see the Tcl'2004 conference presentation,
available at http://tktable.sourceforge.net/tile/tile-tcl2004.pdf
+.BE
.SH DEFINITIONS
.PP
@@ -89,7 +91,6 @@ Returns a list of the available themes.
.TP
\fBttk::style theme use\fR \fIthemeName\fR
Sets the current theme to \fIthemeName\fR, and refreshes all widgets.
-
.SH LAYOUTS
A \fIlayout\fR specifies a list of elements, each followed
by one or more options specifying how to arrange the element.
@@ -109,10 +110,9 @@ Specifies where the element is placed inside its allocated parcel.
\fB-children \fI{ sublayout... }\fR
Specifies a list of elements to place inside the element.
.\" Also: -border, -unit, -expand: may go away.
-.PP
-For example:
+.SH EXAMPLE
.CS
-ttk::style layout Horizontal.TScrollbar {
+\fBttk::style\fR layout Horizontal.TScrollbar {
Scrollbar.trough -children {
Scrollbar.leftarrow -side left
Scrollbar.rightarrow -side right
@@ -120,9 +120,7 @@ ttk::style layout Horizontal.TScrollbar {
}
}
.CE
-
.SH "SEE ALSO"
ttk_intro(n), ttk_widget(n), photo(n)
-
.SH KEYWORDS
style, theme, appearance