Skip to main content

MacTableViewOutput

Type Alias MacTableViewOutput 

Source
pub type MacTableViewOutput = MacTableViewResponse;
Expand description

Type alias for MacTableViewResponse adhering to AppKit output naming.

Aliased Type§

pub struct MacTableViewOutput {
    pub response: Response,
    pub clicked_header: Option<usize>,
    pub toggled_sort: Option<(usize, MacSortDirection)>,
    pub clicked_row: Option<usize>,
    pub double_clicked_row: Option<usize>,
    pub selection_changed: bool,
}

Fields§

§response: Response

Overall widget interaction response.

§clicked_header: Option<usize>

Index of a column header clicked during this frame, if any.

§toggled_sort: Option<(usize, MacSortDirection)>

Toggled sort direction for the clicked header, if any.

§clicked_row: Option<usize>

Index of the row clicked during this frame, if any.

§double_clicked_row: Option<usize>

Index of the row double-clicked or activated via Key::Enter during this frame, if any.

§selection_changed: bool

True if the row selection set changed during this frame.