SwipeGroup


Object Hierarchy:

Hdy.SwipeGroup Hdy.SwipeGroup Hdy.SwipeGroup GLib.Object GLib.Object GLib.Object->Hdy.SwipeGroup Gtk.Buildable Gtk.Buildable Gtk.Buildable->Hdy.SwipeGroup

Description:

[ CCode ( type_id = "hdy_swipe_group_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "1.4" , since = "1.0" ) ]
public class SwipeGroup : Object, Buildable

Warning: SwipeGroup is deprecated since 1.4.

An object for syncing swipeable widgets.

The `HdySwipeGroup` object can be used to sync multiple swipeable widgets that implement the [iface@Swipeable] interface, such as [ class@Carousel], 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.

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

`HdySwipeGroup` has been deprecated, [class@Window] and [class@ApplicationWindow] allow using a single leaflet for both content and header bar, without the need to sync them.


Namespace: Hdy
Package: libhandy-1

Content:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Buildable



2022 vala-language.org