Skip to content

API Reference / @gtkx/components / ListRowProps

Type Alias: ListRowProps ​

ListRowProps = object

Defined in: packages/components/src/types.ts:68

Properties applied to the row that carries one item: the Gtk.ListItem of a list or grid, or the Gtk.ColumnViewRow of a table. Neither is a widget, so these are the only handles they offer; anything omitted falls back to the row's own default, which leaves the accessibility strings unset rather than setting them to an empty string.

Properties ​

accessibleDescription? ​

optional accessibleDescription?: string

Defined in: packages/components/src/types.ts:72

Longer description a screen reader announces for the row, through accessible-description.


accessibleLabel? ​

optional accessibleLabel?: string

Defined in: packages/components/src/types.ts:70

Name a screen reader announces for the row, through accessible-label.


isActivatable? ​

optional isActivatable?: boolean

Defined in: packages/components/src/types.ts:74

Whether activating the row emits the view's activate signal; rows are activatable by default.


isFocusable? ​

optional isFocusable?: boolean

Defined in: packages/components/src/types.ts:76

Whether the row takes keyboard focus; rows are focusable by default.


isSelectable? ​

optional isSelectable?: boolean

Defined in: packages/components/src/types.ts:78

Whether clicking or keying the row tries to select it; rows are selectable by default.