OsmGpsMap.MapLayer¶
- Implementations:
Methods¶
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
|
|
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class OsmGpsMap.MapLayer¶
- Bases:
- Structure:
- busy()¶
- Returns:
layer busy state
- Return type:
Check whether layer is busy (eg drawing an animation)
New in version 0.6.0.
- button_press(map, event)¶
- Parameters:
map (
OsmGpsMap.Map
) – aOsmGpsMap.Map
widgetevent (
Gdk.EventButton
) – aGdk.EventButton
event
- Returns:
whether even had been handled
- Return type:
Handle button event
New in version 0.6.0.
- draw(map, cr)¶
- Parameters:
map (
OsmGpsMap.Map
) – aOsmGpsMap.Map
widgetcr (
cairo.Context
) – a cairo context to draw to
Draw layer on map
New in version 0.6.0.
- render(map)¶
- Parameters:
map (
OsmGpsMap.Map
) – aOsmGpsMap.Map
widget
Render layer on map
New in version 0.6.0.
- do_busy() virtual¶
- Returns:
layer busy state
- Return type:
Check whether layer is busy (eg drawing an animation)
New in version 0.6.0.
- do_button_press(map, event) virtual¶
- Parameters:
map (
OsmGpsMap.Map
) – aOsmGpsMap.Map
widgetevent (
Gdk.EventButton
) – aGdk.EventButton
event
- Returns:
whether even had been handled
- Return type:
Handle button event
New in version 0.6.0.
- do_draw(map, cr) virtual¶
- Parameters:
map (
OsmGpsMap.Map
) – aOsmGpsMap.Map
widgetcr (
cairo.Context
) – a cairo context to draw to
Draw layer on map
New in version 0.6.0.
- do_render(map) virtual¶
- Parameters:
map (
OsmGpsMap.Map
) – aOsmGpsMap.Map
widget
Render layer on map
New in version 0.6.0.