Trait atk::prelude::TableCellExt
source · [−]pub trait TableCellExt: 'static {
fn column_header_cells(&self) -> Vec<Object>;
fn column_span(&self) -> i32;
fn position(&self) -> Option<(i32, i32)>;
fn row_column_span(&self) -> Option<(i32, i32, i32, i32)>;
fn row_header_cells(&self) -> Vec<Object>;
fn row_span(&self) -> i32;
fn table(&self) -> Option<Object>;
}
Expand description
Required Methods
sourcefn column_header_cells(&self) -> Vec<Object>
fn column_header_cells(&self) -> Vec<Object>
Returns the column headers as an array of cell accessibles.
Returns
a GPtrArray of AtkObjects representing the column header cells.
sourcefn column_span(&self) -> i32
fn column_span(&self) -> i32
Returns the number of columns occupied by this cell accessible.
Returns
a gint representing the number of columns occupied by this cell, or 0 if the cell does not implement this method.
sourcefn row_column_span(&self) -> Option<(i32, i32, i32, i32)>
fn row_column_span(&self) -> Option<(i32, i32, i32, i32)>
Gets the row and column indexes and span of this cell accessible.
Note: If the object does not implement this function, then, by default, atk will implement this function by calling get_row_span and get_column_span on the object.
Returns
TRUE if successful; FALSE otherwise.
row
the row index of the given cell.
column
the column index of the given cell.
row_span
the number of rows occupied by this cell.
column_span
the number of columns occupied by this cell.
sourcefn row_header_cells(&self) -> Vec<Object>
fn row_header_cells(&self) -> Vec<Object>
Returns the row headers as an array of cell accessibles.
Returns
a GPtrArray of AtkObjects representing the row header cells.