struct Tessell::A11y::Node

Defined in:

tessell/a11y/tree.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : UInt64, role : Role, name : String, value : String, bounds : Tessell::Rect, focusable : Bool, focused : Bool, enabled : Bool, children_count : Int32, index_in_parent : Int32, scroll_offset : Int32 = 0, row : Int32 | Nil = nil, col : Int32 | Nil = nil, row_count : Int32 | Nil = nil, col_count : Int32 | Nil = nil, row_index_text : String | Nil = nil, col_index_text : String | Nil = nil, selected : Bool | Nil = nil, active : Bool | Nil = nil, first_visible_index : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def active : Bool | Nil #

[View source]
def bounds : Tessell::Rect #

[View source]
def children_count : Int32 #

[View source]
def col : Int32 | Nil #

[View source]
def col_count : Int32 | Nil #

[View source]
def col_index_text : String | Nil #

[View source]
def enabled : Bool #

[View source]
def first_visible_index : Int32 | Nil #

[View source]
def focusable : Bool #

[View source]
def focused : Bool #

[View source]
def id : UInt64 #

[View source]
def index_in_parent : Int32 #

[View source]
def name : String #

[View source]
def role : Role #

[View source]
def row : Int32 | Nil #

二维网格语义(issue #31):nil = 非 grid 场景。


[View source]
def row_count : Int32 | Nil #

[View source]
def row_index_text : String | Nil #

[View source]
def scroll_offset : Int32 #

[View source]
def selected : Bool | Nil #

[View source]
def value : String #

[View source]