Trait atk::prelude::TableExt [−][src]
pub trait TableExt: 'static {}Show methods
fn add_column_selection(&self, column: i32) -> bool; fn add_row_selection(&self, row: i32) -> bool; fn caption(&self) -> Option<Object>; fn column_at_index(&self, index_: i32) -> i32; fn column_description(&self, column: i32) -> Option<GString>; fn column_extent_at(&self, row: i32, column: i32) -> i32; fn column_header(&self, column: i32) -> Option<Object>; fn index_at(&self, row: i32, column: i32) -> i32; fn n_columns(&self) -> i32; fn n_rows(&self) -> i32; fn row_at_index(&self, index_: i32) -> i32; fn row_description(&self, row: i32) -> Option<GString>; fn row_extent_at(&self, row: i32, column: i32) -> i32; fn row_header(&self, row: i32) -> Option<Object>; fn summary(&self) -> Option<Object>; fn is_column_selected(&self, column: i32) -> bool; fn is_row_selected(&self, row: i32) -> bool; fn is_selected(&self, row: i32, column: i32) -> bool; fn ref_at(&self, row: i32, column: i32) -> Option<Object>; fn remove_column_selection(&self, column: i32) -> bool; fn remove_row_selection(&self, row: i32) -> bool; fn set_caption<P: IsA<Object>>(&self, caption: &P); fn set_column_description(&self, column: i32, description: &str); fn set_column_header<P: IsA<Object>>(&self, column: i32, header: &P); fn set_row_description(&self, row: i32, description: &str); fn set_row_header<P: IsA<Object>>(&self, row: i32, header: &P); fn set_summary<P: IsA<Object>>(&self, accessible: &P); fn connect_column_deleted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_column_inserted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_column_reordered<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_model_changed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_row_deleted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_row_inserted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_row_reordered<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
Expand description
Required methods
fn add_column_selection(&self, column: i32) -> bool
fn add_column_selection(&self, column: i32) -> bool
fn add_row_selection(&self, row: i32) -> bool
fn add_row_selection(&self, row: i32) -> bool
fn column_at_index(&self, index_: i32) -> i32
fn column_at_index(&self, index_: i32) -> i32
Gets a gint
representing the column at the specified index_
.
Deprecated
Since 2.12.
index_
a gint
representing an index in self
Returns
a gint representing the column at the specified index, or -1 if the table does not implement this method.
fn column_description(&self, column: i32) -> Option<GString>
fn column_description(&self, column: i32) -> Option<GString>
fn column_extent_at(&self, row: i32, column: i32) -> i32
fn column_extent_at(&self, row: i32, column: i32) -> i32
Gets the number of columns occupied by the accessible object
at the specified row
and column
in the self
.
row
a gint
representing a row in self
column
a gint
representing a column in self
Returns
a gint representing the column extent at specified position, or 0 if value does not implement this interface.
fn column_header(&self, column: i32) -> Option<Object>
fn column_header(&self, column: i32) -> Option<Object>
Gets a gint
representing the index at the specified row
and
column
.
Deprecated
Since 2.12. Use ref_at()
in order to get the
accessible that represents the cell at (row
, column
)
row
a gint
representing a row in self
column
a gint
representing a column in self
Returns
a gint
representing the index at specified position.
The value -1 is returned if the object at row,column is not a child
of table or table does not implement this interface.
Gets the number of columns in the table.
Returns
a gint representing the number of columns, or 0 if value does not implement this interface.
Gets the number of rows in the table.
Returns
a gint representing the number of rows, or 0 if value does not implement this interface.
fn row_at_index(&self, index_: i32) -> i32
fn row_at_index(&self, index_: i32) -> i32
Gets a gint
representing the row at the specified index_
.
Deprecated
since 2.12.
index_
a gint
representing an index in self
Returns
a gint representing the row at the specified index, or -1 if the table does not implement this method.
fn row_description(&self, row: i32) -> Option<GString>
fn row_description(&self, row: i32) -> Option<GString>
fn row_extent_at(&self, row: i32, column: i32) -> i32
fn row_extent_at(&self, row: i32, column: i32) -> i32
fn row_header(&self, row: i32) -> Option<Object>
fn row_header(&self, row: i32) -> Option<Object>
Gets the summary description of the table.
Returns
a AtkObject* representing a summary description of the table, or zero if value does not implement this interface.
fn is_column_selected(&self, column: i32) -> bool
fn is_column_selected(&self, column: i32) -> bool
fn is_row_selected(&self, row: i32) -> bool
fn is_row_selected(&self, row: i32) -> bool
fn is_selected(&self, row: i32, column: i32) -> bool
fn is_selected(&self, row: i32, column: i32) -> bool
fn remove_column_selection(&self, column: i32) -> bool
fn remove_column_selection(&self, column: i32) -> bool
fn remove_row_selection(&self, row: i32) -> bool
fn remove_row_selection(&self, row: i32) -> bool
fn set_column_description(&self, column: i32, description: &str)
fn set_column_description(&self, column: i32, description: &str)
Sets the description text for the specified column
of the self
.
column
a gint
representing a column in self
description
a gchar
representing the description text
to set for the specified column
of the self
fn set_row_description(&self, row: i32, description: &str)
fn set_row_description(&self, row: i32, description: &str)
Sets the description text for the specified row
of self
.
row
a gint
representing a row in self
description
a gchar
representing the description text
to set for the specified row
of self
fn set_summary<P: IsA<Object>>(&self, accessible: &P)
fn set_summary<P: IsA<Object>>(&self, accessible: &P)
Sets the summary description of the table.
accessible
an Object
representing the summary description
to set for self
fn connect_column_deleted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_column_deleted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_column_inserted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_column_inserted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_column_reordered<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_column_reordered<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
The “column-reordered” signal is emitted by an object which implements the AtkTable interface when the columns are reordered.
fn connect_model_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_model_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The “model-changed” signal is emitted by an object which implements the AtkTable interface when the model displayed by the table changes.
fn connect_row_deleted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_row_deleted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_row_inserted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_row_inserted<F: Fn(&Self, i32, i32) + 'static>(
&self,
f: F
) -> SignalHandlerId
fn connect_row_reordered<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_row_reordered<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
The “row-reordered” signal is emitted by an object which implements the AtkTable interface when the rows are reordered.