[][src]Trait atk::TableCellExt

pub trait TableCellExt: 'static {
    fn get_column_header_cells(&self) -> Vec<Object>;
fn get_column_span(&self) -> i32;
fn get_position(&self) -> Option<(i32, i32)>;
fn get_row_column_span(&self) -> Option<(i32, i32, i32, i32)>;
fn get_row_header_cells(&self) -> Vec<Object>;
fn get_row_span(&self) -> i32;
fn get_table(&self) -> Option<Object>; }

Trait containing all TableCell methods.

Implementors

NoOpObject, TableCell

Required methods

fn get_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.

fn get_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.

fn get_position(&self) -> Option<(i32, i32)>

Retrieves the tabular position of this cell.

row

the row of the given cell.

column

the column of the given cell.

Returns

TRUE if successful; FALSE otherwise.

fn get_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.

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.

Returns

TRUE if successful; FALSE otherwise.

fn get_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.

fn get_row_span(&self) -> i32

Returns the number of rows occupied by this cell accessible.

Returns

a gint representing the number of rows occupied by this cell, or 0 if the cell does not implement this method.

fn get_table(&self) -> Option<Object>

Returns a reference to the accessible of the containing table.

Returns

the atk object for the containing table.

Loading content...

Implementors

impl<O: IsA<TableCell>> TableCellExt for O[src]

Loading content...