:right-sidebar: True Geo =================================================================== .. currentmodule:: gi.repository.ICalGLib .. class:: Geo(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.ICalGLib.Object`, :class:`~gi.repository.GObject.Object` This is the ICalGeo instance. Constructors ------------ .. rst-class:: interim-class .. class:: Geo :no-index: .. classmethod:: new(lat: float, lon: float) -> ~gi.repository.ICalGLib.Geo Creates a new :obj:`~gi.repository.ICalGLib.Geo`\. .. versionadded:: 1.0 :param lat: Latitude :param lon: Longitude Methods ------- .. rst-class:: interim-class .. class:: Geo :no-index: .. method:: clone() -> ~gi.repository.ICalGLib.Geo Creates a new :obj:`~gi.repository.ICalGLib.Geo`\, copy of ``geo``\. .. versionadded:: 1.0 .. method:: get_lat() -> float Gets the latitude of :obj:`~gi.repository.ICalGLib.Geo`\. .. versionadded:: 1.0 .. method:: get_lon() -> float Gets the longitude of :obj:`~gi.repository.ICalGLib.Geo`\. .. versionadded:: 1.0 .. method:: set_lat(lat: float) -> None Sets the latitude of :obj:`~gi.repository.ICalGLib.Geo`\. .. versionadded:: 1.0 :param lat: The latitude .. method:: set_lon(lon: float) -> None Sets the longitude of :obj:`~gi.repository.ICalGLib.Geo`\. .. versionadded:: 1.0 :param lon: The longitude