Shumate.Coordinate

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

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Shumate.Location (4)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_full (latitude, longitude)

Virtual Methods

Inherited:

GObject.Object (7), Shumate.Location (3)

Properties

Inherited:

Shumate.Location (2)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

GObject.InitiallyUnowned

r

Class Details

class Shumate.Coordinate(**kwargs)
Bases:

GObject.InitiallyUnowned, Shumate.Location

Abstract:

No

Structure:

Shumate.CoordinateClass

A simple object implementing [iface`Location`].

classmethod new()
Returns:

the created instance.

Return type:

Shumate.Coordinate

Creates a new instance of Shumate.Coordinate.

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

  • longitude (float) – the longitude coordinate

Returns:

the created instance.

Return type:

Shumate.Coordinate

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