class UIng::Table::Selection

Overview

A Crystal-managed snapshot of selected row indices. Values returned by Table#selection and on_selection_changed can be retained without freeing.

Defined in:

uing/table/table/selection.cr
uing/table/table/selection/mode.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rows : Array(Int32)) #

[View source]

Instance Method Detail

def num_rows : Int32 #

[View source]
def rows : Array(Int32) #

[View source]
def to_unsafe : Pointer(UIng::LibUI::TableSelection) #

[View source]