enum Adw::FlapTransitionType

Overview

Describes transitions types of a #Flap widget.

It determines the type of animation when transitioning between children in a #Flap widget, as well as which areas can be swiped via [property@Flap:swipe-to-open] and [property@Flap:swipe-to-close].

New values may be added to this enum over time.

Defined in:

lib/gi-crystal/src/auto/adw-1/adw.cr

Enum Members

Over = 0_u32

The flap slides over the content, which is dimmed. When folded, only the flap can be swiped.

Under = 1_u32

The content slides over the flap. Only the content can be swiped.

Slide = 2_u32

The flap slides offscreen when hidden, neither the flap nor content overlap each other. Both widgets can be swiped.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def over? #

def slide? #

def under? #