ICalGLib.Geo

g GObject.Object GObject.Object ICalGLib.Object ICalGLib.Object GObject.Object->ICalGLib.Object ICalGLib.Geo ICalGLib.Geo ICalGLib.Object->ICalGLib.Geo

Subclasses:

None

Methods

Inherited:

ICalGLib.Object (11), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (lat, lon)

clone ()

get_lat ()

get_lon ()

set_lat (lat)

set_lon (lon)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

ICalGLib.Object (5)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class ICalGLib.Geo(**kwargs)
Bases:

ICalGLib.Object

Abstract:

No

Structure:

ICalGLib.GeoClass

This is the ICalGLib.Geo instance.

classmethod new(lat, lon)
Parameters:
  • lat (float) – Latitude

  • lon (float) – Longitude

Returns:

The newly created ICalGLib.Geo.

Return type:

ICalGLib.Geo

Creates a new ICalGLib.Geo.

New in version 1.0.

clone()
Returns:

The newly created ICalGLib.Geo, copy of self.

Return type:

ICalGLib.Geo

Creates a new ICalGLib.Geo, copy of self.

New in version 1.0.

get_lat()
Returns:

The latitude.

Return type:

float

Gets the latitude of ICalGLib.Geo.

New in version 1.0.

get_lon()
Returns:

The longitude.

Return type:

float

Gets the longitude of ICalGLib.Geo.

New in version 1.0.

set_lat(lat)
Parameters:

lat (float) – The latitude

Sets the latitude of ICalGLib.Geo.

New in version 1.0.

set_lon(lon)
Parameters:

lon (float) – The longitude

Sets the longitude of ICalGLib.Geo.

New in version 1.0.