OsmGpsMap.MapLayer

g GObject.GInterface GObject.GInterface OsmGpsMap.MapLayer OsmGpsMap.MapLayer GObject.GInterface->OsmGpsMap.MapLayer

Implementations:

OsmGpsMap.MapOsd

Methods

busy ()

button_press (map, event)

draw (map, cr)

render (map)

Virtual Methods

do_busy ()

do_button_press (map, event)

do_draw (map, cr)

do_render (map)

Properties

None

Signals

None

Fields

None

Class Details

class OsmGpsMap.MapLayer
Bases:

GObject.GInterface

Structure:

OsmGpsMap.MapLayerIface

busy()
Returns:

layer busy state

Return type:

bool

Check whether layer is busy (eg drawing an animation)

New in version 0.6.0.

button_press(map, event)
Parameters:
Returns:

whether even had been handled

Return type:

bool

Handle button event

New in version 0.6.0.

draw(map, cr)
Parameters:

Draw layer on map

New in version 0.6.0.

render(map)
Parameters:

map (OsmGpsMap.Map) – a OsmGpsMap.Map widget

Render layer on map

New in version 0.6.0.

do_busy() virtual
Returns:

layer busy state

Return type:

bool

Check whether layer is busy (eg drawing an animation)

New in version 0.6.0.

do_button_press(map, event) virtual
Parameters:
Returns:

whether even had been handled

Return type:

bool

Handle button event

New in version 0.6.0.

do_draw(map, cr) virtual
Parameters:

Draw layer on map

New in version 0.6.0.

do_render(map) virtual
Parameters:

map (OsmGpsMap.Map) – a OsmGpsMap.Map widget

Render layer on map

New in version 0.6.0.