dabo Commit
Revision 4126
Date: 2008-06-11 12:20:35 -0700 (Wed, 11 Jun 2008)
Author: Nate
Trac: http://svn.dabodev.com/trac/dabo/changeset/4126

Changed:
U   trunk/dabo/ui/uiwx/dGrid.py
U   trunk/ide/ClassDesignerControlMixin.py

Log:
Added a property entry for ShowColumnLabels for a dGrid in the ClassDesigner.

Diff:
Modified: trunk/dabo/ui/uiwx/dGrid.py
===================================================================
--- trunk/dabo/ui/uiwx/dGrid.py 2008-06-11 10:57:09 UTC (rev 4125)
+++ trunk/dabo/ui/uiwx/dGrid.py 2008-06-11 19:20:35 UTC (rev 4126)
@@ -4331,7 +4331,11 @@
 
 
        def _getShowColumnLabels(self):
-               return self._showColumnLabels
+               if hasattr(self, "_showColumnLabels"):
+                       v = self._showColumnLabels
+               else:
+                       v = self._showColumnLabels = True
+               return v
 
        def _setShowColumnLabels(self, val):
                if self._constructed():

Modified: trunk/ide/ClassDesignerControlMixin.py
===================================================================
--- trunk/ide/ClassDesignerControlMixin.py      2008-06-11 10:57:09 UTC (rev 
4125)
+++ trunk/ide/ClassDesignerControlMixin.py      2008-06-11 19:20:35 UTC (rev 
4126)
@@ -742,6 +742,7 @@
                                "SelectionMode": {"type" : list, "readonly" : 
False,
                                        "values" : ["Cell", "Row", "Column"]},
                                "Sortable": {"type" : bool, "readonly" : False},
+                               "ShowColumnLabels":{"type" : bool, "readonly" : 
False},
                                "ShowRowLabels" : {"type" : bool, "readonly" : 
False}}
                imageProps = {"ScaleMode" : {"type" : list, "readonly" : False,
                                        "values" : ["Clip", "Proportional", 
"Stretch"]}}




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to