GObject ╰── HdySwipeGroup
HdySwipeGroup implements GtkBuildable.
The HdySwipeGroup object can be used to sync multiple swipeable widgets that implement the HdySwipeable interface, such as HdyPaginator, so that animating one of them also animates all the other widgets in the group.
This can be useful for syncing widgets between a window's titlebar and content area.
HdySwipeGroup can be created in an UI definition. The list of swipeable widgets is specified with a <swipeables> element containing multiple <swipeable> elements with their ”name” attribute specifying the id of the widgets.
1 2 3 4 5 6
<object class="HdySwipeGroup"> <swipeables> <swipeable name="paginator1"/> <swipeable name="paginator2"/> </swipeables> </object>
HdySwipeGroup * hdy_swipe_group_new (
Create a new HdySwipeGroup object.
The newly created HdySwipeGroup object
void hdy_swipe_group_add_swipeable (
When the widget is destroyed or no longer referenced elsewhere, it will be removed from the swipe group.
GSList * hdy_swipe_group_get_swipeables (
Returns the list of swipeables associated with
a GSList of swipeables. The list is owned by libhandy and should not be modified.
[element-type HdySwipeable][transfer none]