24 lines
444 B
Python
24 lines
444 B
Python
# -*- 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)
|