struct
Tessell::A11y::Meta
- Tessell::A11y::Meta
- Struct
- Value
- Object
Defined in:
tessell/a11y/tree.crConstructors
Instance Method Summary
- #active : Bool | Nil
-
#children_count : Int32 | Nil
nil = 使用 retained 子节点数;虚拟列表等可覆盖为逻辑总数。
- #col : Int32 | Nil
- #col_count : Int32 | Nil
- #col_index_text : String | Nil
- #enabled : Bool
- #first_visible_index : Int32 | Nil
- #focusable : Bool
- #name : String
- #role : Role
-
#row : Int32 | Nil
二维网格语义(issue #31):全部默认 nil/false,既有节点零改动。 虚拟化大控件可只报逻辑总量 + first_visible_index(可视窗口起点), provider 能算出可视窗口在逻辑总量中的位置。
- #row_count : Int32 | Nil
- #row_index_text : String | Nil
- #scroll_offset : Int32
- #selected : Bool | Nil
- #value : String
Constructor Detail
def self.new(role : Role = Role::Group, name : String = "", value : String = "", focusable : Bool = false, enabled : Bool = true, children_count : Int32 | Nil = nil, 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)
#
Instance Method Detail
def row : Int32 | Nil
#
二维网格语义(issue #31):全部默认 nil/false,既有节点零改动。 虚拟化大控件可只报逻辑总量 + first_visible_index(可视窗口起点), provider 能算出可视窗口在逻辑总量中的位置。