Champlain.Coordinate

g Champlain.Coordinate Champlain.Coordinate Champlain.Location Champlain.Location Champlain.Location->Champlain.Coordinate GObject.GInterface GObject.GInterface GObject.GInterface->Champlain.Location GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Champlain.Coordinate GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:None

Methods

Inherited:GObject.Object (37), Champlain.Location (3)
Structs:GObject.ObjectClass (5)
class new ()
class new_full (latitude, longitude)

Virtual Methods

Inherited:GObject.Object (7), Champlain.Location (3)

Properties

Inherited:Champlain.Location (2)

Signals

Inherited:GObject.Object (1)

Fields

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

Class Details

class Champlain.Coordinate(**kwargs)
Bases:GObject.InitiallyUnowned, Champlain.Location
Abstract:No
Structure:Champlain.CoordinateClass

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

New in version 0.10.

classmethod new()
Returns:the created instance.
Return type:Champlain.Coordinate

Creates a new instance of Champlain.Coordinate.

New in version 0.10.

classmethod new_full(latitude, longitude)
Parameters:
  • latitude (float) – the latitude coordinate
  • longitude (float) – the longitude coordinate
Returns:

the created instance.

Return type:

Champlain.Coordinate

Creates a new instance of Champlain.Coordinate initialized with the given coordinates.

New in version 0.10.