summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7c79943)
cairo-gtk-interactivity.py:70:80: E501 line too long (128 > 79 characters)
cairo-gtk-interactivity.py:121:80: E501 line too long (86 > 79 characters)
self.connect('draw', self.on_draw)
self.connect('configure-event', self.on_configure_event)
self.connect('draw', self.on_draw)
self.connect('configure-event', self.on_configure_event)
- self.add_events(Gdk.EventMask.BUTTON_PRESS_MASK | Gdk.EventMask.BUTTON_RELEASE_MASK | Gdk.EventMask.POINTER_MOTION_MASK)
+ self.add_events(Gdk.EventMask.BUTTON_PRESS_MASK |
+ Gdk.EventMask.BUTTON_RELEASE_MASK |
+ Gdk.EventMask.POINTER_MOTION_MASK)
self.connect('button-press-event', self.on_button_press_event)
self.connect('button-release-event', self.on_button_release_event)
self.connect('motion-notify-event', self.on_motion_notify_event)
self.connect('button-press-event', self.on_button_press_event)
self.connect('button-release-event', self.on_button_release_event)
self.connect('motion-notify-event', self.on_motion_notify_event)
self.queue_draw()
else:
old_selectable = self.selectable
self.queue_draw()
else:
old_selectable = self.selectable
- if in_circle(self.x, self.y, self.radius + self.border, event.x, event.y):
+ if in_circle(self.x, self.y, self.radius + self.border,
+ event.x, event.y):
self.selectable = True
else:
self.selectable = False
self.selectable = True
else:
self.selectable = False