Class

HandySwipeGroup

Description [src]

final class Handy.SwipeGroup : GObject.Object {
  /* No available fields */
}

An object for syncing swipeable widgets.

The HdySwipeGroup object can be used to sync multiple swipeable widgets that implement the HdySwipeable interface, such as HdyCarousel, 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 as GtkBuildable

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.

<object class="HdySwipeGroup">
  <swipeables>
    <swipeable name="carousel1"/>
    <swipeable name="carousel2"/>
  </swipeables>
</object>

HdySwipeGroup has been deprecated, HdyWindow and HdyApplicationWindow allow using a single leaflet for both content and header bar, without the need to sync them.

Available since:1.0

Ancestors

  • GObject

Implements

  • GtkBuildable

Constructors

hdy_swipe_group_new

Creates a new HdySwipeGroup.

Available since: 1.0

Instance methods

hdy_swipe_group_add_swipeable

Adds a swipeable to self.

Available since: 1.0

hdy_swipe_group_get_swipeables

Gets the list of swipeables associated with self.

Available since: 1.0

hdy_swipe_group_remove_swipeable

Removes a widget from a HdySwipeGroup.

Available since: 1.0

Class structure

struct HandySwipeGroupClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.