summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-05-27 20:47:15 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-05-27 20:47:15 (GMT)
commit24503ec516039a59c4368bdbaff909db6451514c (patch)
tree92fdb4b46336cb3491563115bc9abccb4bb2c11c /doc
parent52acde6cd7b9c4bf080adb98afcc37c7dcf2baa7 (diff)
downloadtk-24503ec516039a59c4368bdbaff909db6451514c.zip
tk-24503ec516039a59c4368bdbaff909db6451514c.tar.gz
tk-24503ec516039a59c4368bdbaff909db6451514c.tar.bz2
[ttk::style theme use] without an argument now returns the current theme
Diffstat (limited to 'doc')
-rw-r--r--doc/ttk_style.n8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/ttk_style.n b/doc/ttk_style.n
index 0fc1e92..77d1385 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.14 2008/04/09 09:28:05 patthoyts Exp $
+'\" RCS: @(#) $Id: ttk_style.n,v 1.15 2008/05/27 20:47:16 patthoyts Exp $
'\"
.so man.macros
.TH ttk::style n 8.5 Tk "Tk Themed Widget"
@@ -86,8 +86,10 @@ though arbitrary Tcl code may appear.
\fBttk::style theme names\fR
Returns a list of all known themes.
.TP
-\fBttk::style theme use\fR \fIthemeName\fR
-Sets the current theme to \fIthemeName\fR, and refreshes all widgets.
+\fBttk::style theme use\fR ?\fIthemeName\fR?
+Without an argument the result is the name of the current theme.
+Otherwise this command 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.