Champlain.Exportable

g Champlain.Exportable Champlain.Exportable GObject.GInterface GObject.GInterface GObject.GInterface->Champlain.Exportable

Implementations:
 Champlain.MarkerLayer, Champlain.PathLayer, Champlain.Point, Champlain.Tile

Methods

  get_surface ()
  set_surface (surface)

Virtual Methods

  do_get_surface ()
  do_set_surface (surface)

Properties

Name Type Flags Short Description
surface cairo.Surface r/w Cairo surface representaion

Signals

None

Fields

None

Class Details

class Champlain.Exportable
Bases:GObject.GInterface
Structure:Champlain.ExportableIface

An interface common to objects having a cairo.Surface representation.

get_surface()
Returns:the cairo.Surface of the object
Return type:cairo.Surface

Gets the surface

New in version 0.12.12.

set_surface(surface)
Parameters:surface (cairo.Surface) – the cairo.Surface

Set a cairo.Surface to be associated with this tile.

New in version 0.12.12.

do_get_surface() virtual
Returns:the cairo.Surface of the object
Return type:cairo.Surface

Gets the surface

New in version 0.12.12.

do_set_surface(surface) virtual
Parameters:surface (cairo.Surface) – the cairo.Surface

Set a cairo.Surface to be associated with this tile.

New in version 0.12.12.

Property Details

Champlain.Exportable.props.surface
Name:surface
Type:cairo.Surface
Default Value:None
Flags:READABLE, WRITABLE

A cairo.Surface representation

New in version 0.12.12.