Class

ShumateMarker

Description [src]

class Shumate.Marker : Gtk.Widget {
  parent_instance: GtkWidget
}

Markers represent points of interest on a map. Markers need to be placed on a layer (a ShumateMarkerLayer). Layers have to be added to a ShumateMap for the markers to show on the map.

A marker is nothing more than a regular GtkWidget. You can draw on it what ever you want. Set the marker’s position on the map using shumate_location_set_location().

This is a base class of all markers. libshumate has a more evoluted type of markers with text and image support.

Ancestors

  • GtkWidget
  • GInitiallyUnowned
  • GObject

Implements

Constructors

shumate_marker_new

Creates an instance of ShumateMarker.

Instance methods

shumate_marker_animate_in
No description available.
shumate_marker_animate_in_with_delay
No description available.
shumate_marker_animate_out
No description available.
shumate_marker_animate_out_with_delay
No description available.
shumate_marker_get_child

Retrieves the current child of marker.

shumate_marker_get_draggable

Checks whether the marker is draggable.

shumate_marker_get_selectable

Checks whether the marker is selectable.

shumate_marker_is_selected

Checks whether the marker is selected.

shumate_marker_set_child

Sets the child widget of marker.

shumate_marker_set_draggable

Sets the marker as draggable or not.

shumate_marker_set_selectable

Sets the marker as selectable or not.

Methods inherited from ShumateLocation (3)
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.Marker:child

The child widget of the marker.

Shumate.Marker:draggable

The draggable state of the marker.

Shumate.Marker:selectable

The selectable state of the marker.

Properties inherited from ShumateLocation (2)
Shumate.Location:latitude

The latitude coordonate in degrees.

Shumate.Location:longitude

The longitude coordonate in degrees.

Class structure

struct ShumateMarkerClass {
  GtkWidgetClass parent_class;
  
}
Class members
parent_class
GtkWidgetClass
  No description available.