struct
Tessell::A11y::Node
- Tessell::A11y::Node
- Struct
- Value
- Object
Defined in:
tessell/a11y/tree.crConstructors
Instance Method Summary
- #active : Bool | Nil
- #bounds : Tessell::Rect
- #children_count : Int32
- #col : Int32 | Nil
- #col_count : Int32 | Nil
- #col_index_text : String | Nil
- #enabled : Bool
- #first_visible_index : Int32 | Nil
- #focusable : Bool
- #focused : Bool
- #id : UInt64
- #index_in_parent : Int32
- #name : String
- #role : Role
-
#row : Int32 | Nil
二维网格语义(issue #31):nil = 非 grid 场景。
- #row_count : Int32 | Nil
- #row_index_text : String | Nil
- #scroll_offset : Int32
- #selected : Bool | Nil
- #value : String
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)
#