Changeset 103

Show
Ignore:
Timestamp:
11/27/07 12:57:49 (1 year ago)
Author:
tal
Message:
Make scroller autohiding optional.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • packages/defconAppKit/trunk/Lib/defconAppKit/views/glyphLineView.py

    r99 r103  
    262262class GlyphLineView(vanilla.ScrollView): 
    263263 
    264     def __init__(self, posSize, pointSize=100, applyKerning=True, glyphColor=None, backgroundColor=None, dropCallback=None): 
     264    def __init__(self, posSize, pointSize=100, applyKerning=True, glyphColor=None, backgroundColor=None, dropCallback=None, autohideScrollers=True): 
    265265        if glyphColor is None: 
    266266            glyphColor = NSColor.blackColor() 
     
    275275        self._dropCallback = dropCallback 
    276276        self._glyphLineView.vanillaWrapper = weakref.ref(self) 
    277         super(GlyphLineView, self).__init__(posSize, self._glyphLineView, autohidesScrollers=True, backgroundColor=backgroundColor) 
     277        super(GlyphLineView, self).__init__(posSize, self._glyphLineView, autohidesScrollers=autohideScrollers, backgroundColor=backgroundColor) 
    278278 
    279279    def _breakCycles(self):