diff options
Diffstat (limited to 'set_location/layers.py')
-rw-r--r-- | set_location/layers.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/set_location/layers.py b/set_location/layers.py new file mode 100644 index 0000000..876a3d1 --- /dev/null +++ b/set_location/layers.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +## +import osmgpsmap +import gobject + + +class DummyLayer(gobject.GObject, osmgpsmap.GpsMapLayer): + def __init__(self): + gobject.GObject.__init__(self) + + def do_draw(self, gpsmap, gdkdrawable): + pass + + def do_render(self, gpsmap): + pass + + def do_busy(self): + return False + + def do_button_press(self, gpsmap, gdkeventbutton): + return False + +gobject.type_register(DummyLayer) |