/usr/lib/python2.7/dist-packages/hachoir_wx/hex_view/hex_view_scroll_fwd.py is in python-hachoir-wx 0.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # -*- coding: utf-8 -*-
import wx
class hex_view_scroll_fwd_t:
def __init__(self, imp):
self.imp = imp
def on_hex_view_scroll_ready(self, dispatcher, view):
assert view is not None
view.Bind(wx.EVT_SCROLL, self.on_scrolled)
def on_scrolled(self, event):
self.imp.on_scrolled()
|