diff options
author | fvogel <fvogelnew1@free.fr> | 2020-08-20 21:42:37 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2020-08-20 21:42:37 (GMT) |
commit | e8924633897fb5dddbe9b2617ea97846b68022e1 (patch) | |
tree | fef4b30afc2c8ee3f1396d67b74b58d5aec762f1 /doc | |
parent | 59ecd12c26ca188117e6ac97b8d1746af5be4356 (diff) | |
download | tk-e8924633897fb5dddbe9b2617ea97846b68022e1.zip tk-e8924633897fb5dddbe9b2617ea97846b68022e1.tar.gz tk-e8924633897fb5dddbe9b2617ea97846b68022e1.tar.bz2 |
Add new subcommand 'ttk::style theme styles' giving the ability to retrieve the list of all currently available styles in a given theme.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ttk_style.n | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ttk_style.n b/doc/ttk_style.n index 0de3311..8f13cb7 100644 --- a/doc/ttk_style.n +++ b/doc/ttk_style.n @@ -94,6 +94,10 @@ evaluate \fIscript\fR, then restore the previous theme. Typically \fIscript\fR simply defines styles and elements, though arbitrary Tcl code may appear. .TP +\fBttk::style theme styles\fR ?\fIthemeName\fR? +Returns a list of all styles in \fIthemeName\fR. If \fIthemeName\fR +is omitted, the current theme is used. +.TP \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, |