[Python-checkins] r64388 - sandbox/trunk/ttk-gsoc/Doc/library/ttk.rst

guilherme.polo python-checkins at python.org
Thu Jun 19 00:18:58 CEST 2008


Author: guilherme.polo
Date: Thu Jun 19 00:18:58 2008
New Revision: 64388

Log:
Improved Ttk Styling introduction

Modified:
   sandbox/trunk/ttk-gsoc/Doc/library/ttk.rst

Modified: sandbox/trunk/ttk-gsoc/Doc/library/ttk.rst
==============================================================================
--- sandbox/trunk/ttk-gsoc/Doc/library/ttk.rst	(original)
+++ sandbox/trunk/ttk-gsoc/Doc/library/ttk.rst	Thu Jun 19 00:18:58 2008
@@ -1078,9 +1078,9 @@
 Each widget in :mod:`ttk` is assigned a style, which specifies the set of
 elements making up the widget and how they are arranged, along with dynamic
 and default settings for element options. By default the style name is the
-same as the widget's class prefixed by a "T" (except the root style that is "."
-and Treeview's style is "Treeview"), but it may be overriden by the widget's
-style option.
+same as the widget's class name, but it may be overriden by the widget's style
+option. If you don't know the class name of a widget, use the method
+:meth:`Misc.winfo_class` (somewidget.winfo_class()).
 
 .. seealso::
 


More information about the Python-checkins mailing list