Champlain.ErrorTileRenderer

g Champlain.ErrorTileRenderer Champlain.ErrorTileRenderer Champlain.Renderer Champlain.Renderer Champlain.Renderer->Champlain.ErrorTileRenderer GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Champlain.Renderer GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:None

Methods

Inherited:Champlain.Renderer (2), GObject.Object (37)
Structs:GObject.ObjectClass (5)
class new (tile_size)
  get_tile_size ()
  set_tile_size (size)

Virtual Methods

Inherited:Champlain.Renderer (2), GObject.Object (7)

Properties

Name Type Flags Short Description
tile-size int r/w The size of the rendered tile

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent Champlain.Renderer r  

Class Details

class Champlain.ErrorTileRenderer(**kwargs)
Bases:Champlain.Renderer
Abstract:No
Structure:Champlain.ErrorTileRendererClass

The Champlain.ErrorTileRenderer structure contains only private data and should be accessed using the provided API

New in version 0.8.

classmethod new(tile_size)
Parameters:tile_size (int) – the size of the rendered error tile
Returns:a constructed Champlain.ErrorTileRenderer
Return type:Champlain.ErrorTileRenderer

Constructor of a Champlain.ErrorTileRenderer.

New in version 0.8.

get_tile_size()
Returns:the size of the rendered error tiles
Return type:int

Gets the size of the rendered error tiles.

New in version 0.8.

set_tile_size(size)
Parameters:size (int) – the size of the rendered error tiles

Sets the size of the rendered error tile.

New in version 0.8.

Property Details

Champlain.ErrorTileRenderer.props.tile_size
Name:tile-size
Type:int
Default Value:256
Flags:READABLE, WRITABLE

The size of the rendered tile.

New in version 0.8.