enum Gtk::ListTabBehavior

Overview

Used to configure the focus behavior in the GTK_DIR_TAB_FORWARD and GTK_DIR_TAB_BACKWARD direction, like the Tab key in a Gtk::ListView.

Defined in:

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

Enum Members

All = 0_u32

Cycle through all focusable items of the list

Item = 1_u32

Cycle through a single list element, then move focus out of the list. Moving focus between items needs to be done with the arrow keys.

Cell = 2_u32

Cycle only through a single cell, then move focus out of the list. Moving focus between cells needs to be done with the arrow keys. This is only relevant for cell-based widgets like #Gtk::ColumnView, otherwise it behaves like GTK_LIST_TAB_ITEM.

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

def cell? #

def item? #