Deck


Object Hierarchy:

Hdy.Deck Hdy.Deck Hdy.Deck Gtk.Container Gtk.Container Gtk.Container->Hdy.Deck Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Container GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Atk.Implementor Atk.Implementor Atk.Implementor->Hdy.Deck Atk.Implementor->Gtk.Container Atk.Implementor->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Hdy.Deck Gtk.Buildable->Gtk.Container Gtk.Buildable->Gtk.Widget Gtk.Orientable Gtk.Orientable Gtk.Orientable->Hdy.Deck Hdy.Swipeable Hdy.Swipeable Hdy.Swipeable->Hdy.Deck

Description:

[ CCode ( type_id = "hdy_deck_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public class Deck : Container, Implementor, Buildable, Orientable, Swipeable

A swipeable widget showing one of the visible children at a time.

The `HdyDeck` widget displays one of the visible children, similar to a [class@Gtk.Stack]. The children are strictly ordered and can be navigated using swipe gestures.

The “over” and “under” stack the children one on top of the other, while the “slide” transition puts the children side by side. While navigating to a child on the side or below can be performed by swiping the current child away, navigating to an upper child requires dragging it from the edge where it resides. This doesn't affect non-dragging swipes.

The “over” and “under” transitions can draw their shadow on top of the window's transparent areas, like the rounded corners. This is a side-effect of allowing shadows to be drawn on top of OpenGL areas. It can be mitigated by using [class@Window] or [class@ApplicationWindow] as they will crop anything drawn beyond the rounded corners.

CSS nodes

`HdyDeck` has a single CSS node with name `deck`.


Namespace: Hdy
Package: libhandy-1

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Atk.Implementor
All known members inherited from interface Gtk.Orientable