Interface
ShumateLocation
Description [src]
interface Shumate.Location : GObject.Object
An interface common to objects having latitude and longitude
By implementing ShumateLocation
the object declares that it has latitude
and longitude and can be used to specify location on the map.
Prerequisite
In order to implement Location, your type must inherit from
GObject
.
Instance methods
shumate_location_get_latitude
Gets the latitude coordinate in degrees.
shumate_location_get_longitude
Gets the longitude coordinate in degrees.
shumate_location_set_location
Sets the coordinates of the location.
Properties
Shumate.Location:latitude
The latitude coordonate in degrees.
Shumate.Location:longitude
The longitude coordonate in degrees.
Interface structure
struct ShumateLocationInterface {
double (* get_latitude) (
ShumateLocation* location
);
double (* get_longitude) (
ShumateLocation* location
);
void (* set_location) (
ShumateLocation* location,
double latitude,
double longitude
);
}
Interface members
get_latitude |
|
No description available. | |
get_longitude |
|
No description available. | |
set_location |
|
No description available. |
Virtual methods
Shumate.Location.get_latitude
Gets the latitude coordinate in degrees.
Shumate.Location.get_longitude
Gets the longitude coordinate in degrees.
Shumate.Location.set_location
Sets the coordinates of the location.