summaryrefslogtreecommitdiffstats
path: root/doc/ttk_style.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-23 15:44:35 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-23 15:44:35 (GMT)
commit620c50bb12c97692f525d2b46aa33bd6f36835b8 (patch)
tree5eda8228f68eff81bf0c9d40d5b70ae6d20b6d5e /doc/ttk_style.n
parent7cfd88386b38d33b8f0d92c874016a163c2646d2 (diff)
downloadtk-620c50bb12c97692f525d2b46aa33bd6f36835b8.zip
tk-620c50bb12c97692f525d2b46aa33bd6f36835b8.tar.gz
tk-620c50bb12c97692f525d2b46aa33bd6f36835b8.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