enum Adw::AnimationState

Overview

Describes the possible states of an #Animation.

The state can be controlled with Animation::play, Animation::pause, Animation::resume, Animation::reset and Animation::skip.

Defined in:

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

Enum Members

Idle = 0_u32

The animation hasn't started yet.

Paused = 1_u32

The animation has been paused.

Playing = 2_u32

The animation is currently playing.

Finished = 3_u32

The animation has finished.

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 finished? #

def idle? #

def paused? #

def playing? #