Class

MaplibreNativeFfiPanMomentum

Description [src]

final class MaplibreNativeFfi.PanMomentum : GObject.Object
{
  /* No available fields */
}

How a gesture’s pan keeps moving the map’s content after release.

A member that a has_ method reports on is unset until its property or setter sets it.

See mln_pan_momentum in the C API reference.

Ancestors

Constructors

maplibre_native_ffi_pan_momentum_new

Creates a MaplibreNativeFfiPanMomentum whose members are zero, empty, or unset.

Instance methods

maplibre_native_ffi_pan_momentum_get_decay

Gets MaplibreNativeFfiPanMomentum:decay.

maplibre_native_ffi_pan_momentum_get_velocity

Gets MaplibreNativeFfiPanMomentum:velocity.

maplibre_native_ffi_pan_momentum_has_velocity

Whether MaplibreNativeFfiPanMomentum:velocity is set.

maplibre_native_ffi_pan_momentum_set_decay

Sets MaplibreNativeFfiPanMomentum:decay.

maplibre_native_ffi_pan_momentum_set_velocity

Sets MaplibreNativeFfiPanMomentum:velocity.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

MaplibreNativeFfi.PanMomentum:velocity

How fast the map’s content moved on the screen at release, in logical pixels per second. The pan moves only when this is set.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct MaplibreNativeFfiPanMomentumClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.