Class

ShumateTile

Description [src]

class Shumate.Tile : Gtk.Widget {
  parent_instance: GtkWidget
}

An object that represents map tiles. Tiles are loaded by a ShumateMapSource.

Ancestors

  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

  • GtkAccessible
  • GtkBuildable
  • GtkConstraintTarget

Constructors

shumate_tile_new

Creates an instance of ShumateTile.

shumate_tile_new_full

Creates an instance of ShumateTile.

Instance methods

shumate_tile_get_etag
No description available.
shumate_tile_get_fade_in

Checks whether the tile should fade in.

shumate_tile_get_modified_time
No description available.
shumate_tile_get_size

Gets the tile’s size.

shumate_tile_get_state

Gets the current state of tile loading.

shumate_tile_get_texture

Get the GdkTexture representing this tile.

shumate_tile_get_x

Gets the tile’s x position.

shumate_tile_get_y

Gets the tile’s y position.

shumate_tile_get_zoom_level

Gets the tile’s zoom level.

shumate_tile_set_etag
No description available.
shumate_tile_set_fade_in

Sets the flag determining whether the tile should fade in when loading.

shumate_tile_set_modified_time
No description available.
shumate_tile_set_size

Sets the tile’s size.

shumate_tile_set_state

Sets the tile’s ShumateState.

shumate_tile_set_texture

Sets the GdkTexture representing this tile.

shumate_tile_set_x

Sets the tile’s x position.

shumate_tile_set_y

Sets the tile’s y position.

shumate_tile_set_zoom_level

Sets the tile’s zoom level.

Properties

Shumate.Tile:fade-in

Specifies whether the tile should fade in when loading.

Shumate.Tile:size

The size of the tile in pixels.

Shumate.Tile:state

The state of the tile.

Shumate.Tile:texture

The GdkTexture backing the tile.

Shumate.Tile:x

The x position of the tile.

Shumate.Tile:y

The y position of the tile.

Shumate.Tile:zoom-level

The zoom level of the tile.

Class structure

struct ShumateTileClass {
  GtkWidgetClass parent_class;
  
}
Class members
parent_class
GtkWidgetClass
  No description available.