Method

Adw.Swipeable.get_snap_points

Declaration [src]

double*
adw_swipeable_get_snap_points (
  AdwSwipeable* self,
  int* n_snap_points
)

Description [src]

Gets the snap points of self.

Each snap point represents a progress value that is considered acceptable to end the swipe on.

Parameters

n_snap_points int*
 

location to return the number of the snap points

 Direction: out
 Ownership of the data is transferred to the callee

Return value

Returns: An array of double

the snap points

 The length of the array is in the n_snap_points argument
Ownership of the data is transferred to the caller