def __init__(self):
HomePluginItem.__init__(self)
Icons.__init__(self)
- FremantleRotation.__init__(self)
+ FremantleRotation.__init__(self, 'TestPlugin')
self.setMode('l')
def do_button_press_event(self, event):
print "press"
+
+ def do_button_press_event_old(self, event):
+ print "press"
if event.type==gdk.BUTTON_PRESS:
print "press", event.type
if self.mode=='p':
def on_orientation_changed(self, orientation):
print "orch:", orientation
+ o=orientation[0]
+ self.setMode(o)
+ self.queue_draw()
hd_plugin_type = TestPlugin