'Connect the major canvas events to methods.'

def connect_default_events(self):

    self.connect_event(u'motion_notify_event', self.onmove)
    self.connect_event(u'button_press_event', self.press)
    self.connect_event(u'button_release_event', self.release)
    self.connect_event(u'draw_event', self.update_background)
    self.connect_event(u'key_press_event', self.on_key_press)
    self.connect_event(u'key_release_event', self.on_key_release)
    self.connect_event(u'scroll_event', self.on_scroll)
