enum Gtk::PanDirection

Overview

Describes the panning direction of a #GesturePan.

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

Left = 0_u32

panned towards the left

Right = 1_u32

panned towards the right

Up = 2_u32

panned upwards

Down = 3_u32

panned downwards

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

def left? #

def right? #

def up? #