Constructor

AdapSwipeTrackernew

Declaration [src]

AdapSwipeTracker*
adap_swipe_tracker_new (
  AdapSwipeable* swipeable
)

Description [src]

Creates a new AdapSwipeTracker for widget.

Parameters

swipeable

Type: AdapSwipeable

A widget to add the tracker on.

The data is owned by the caller of the function.

Return value

Type: AdapSwipeTracker

The newly created AdapSwipeTracker

The caller of the function takes ownership of the data, and is responsible for freeing it.