summaryrefslogtreecommitdiffstats
path: root/doc/ttk_style.n
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2008-05-27 20:47:15 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2008-05-27 20:47:15 (GMT)
commit9fc77a2bccafe2351453efb1b06f357836c35034 (patch)
tree92fdb4b46336cb3491563115bc9abccb4bb2c11c /doc/ttk_style.n
parent1680be7afbd14c9bd1bb1ef114d1fd5c0fe6aea3 (diff)
downloadtk-9fc77a2bccafe2351453efb1b06f357836c35034.zip
tk-9fc77a2bccafe2351453efb1b06f357836c35034.tar.gz
tk-9fc77a2bccafe2351453efb1b06f357836c35034.tar.bz2
[ttk::style theme use] without an argument now returns the current theme
Diffstat (limited to 'doc/ttk_style.n')
-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.