Changeset 4126

Show
Ignore:
Timestamp:
06/11/08 12:20:35 (5 months ago)
Author:
nate
Message:

Added a property entry for ShowColumnLabels? for a dGrid in the ClassDesigner?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/dabo/ui/uiwx/dGrid.py

    r4101 r4126  
    43324332 
    43334333    def _getShowColumnLabels(self): 
    4334         return self._showColumnLabels 
     4334        if hasattr(self, "_showColumnLabels"): 
     4335            v = self._showColumnLabels 
     4336        else: 
     4337            v = self._showColumnLabels = True 
     4338        return v 
    43354339 
    43364340    def _setShowColumnLabels(self, val): 
  • trunk/ide/ClassDesignerControlMixin.py

    r4122 r4126  
    743743                    "values" : ["Cell", "Row", "Column"]}, 
    744744                "Sortable": {"type" : bool, "readonly" : False}, 
     745                "ShowColumnLabels":{"type" : bool, "readonly" : False}, 
    745746                "ShowRowLabels" : {"type" : bool, "readonly" : False}} 
    746747        imageProps = {"ScaleMode" : {"type" : list, "readonly" : False,