PEATDB/Tables.py
def mouse_wheel(self, event):
        """Handle mouse wheel scroll for windows"""
        if event.num == 5 or event.delta == -120:
            event.widget.yview_scroll(1, UNITS)
            self.tablerowheader.yview_scroll(1, UNITS)
        if event.num == 4 or event.delta == 120:
            event.widget.yview_scroll(-1, UNITS)
            self.tablerowheader.yview_scroll(-1, UNITS)
        return
Handle mouse wheel scroll for windows
Handle mouse wheel scroll for windows
Handle mouse wheel scroll for windows
def mouse_wheel(self, event):
        if event.num == 5 or event.delta == -120:
            event.widget.yview_scroll(1, UNITS)
            self.tablerowheader.yview_scroll(1, UNITS)
        if event.num == 4 or event.delta == 120:
            event.widget.yview_scroll(-1, UNITS)
            self.tablerowheader.yview_scroll(-1, UNITS)
        return
def mouse_wheel ( self , event ) : if event . num == 5 or event . delta == - 120 : event . widget . yview_scroll ( 1 , UNITS ) self . tablerowheader . yview_scroll ( 1 , UNITS ) if event . num == 4 or event . delta == 120 : event . widget . yview_scroll ( - 1 , UNITS ) self . tablerowheader . yview_scroll ( - 1 , UNITS ) return
Handle mouse wheel scroll for windows
Handle mouse wheel scroll for windows
"""Handle mouse wheel scroll for windows"""
self
event