pub trait TableExt: 'static {
Show 34 methods
// Required methods
fn add_column_selection(&self, column: i32) -> bool;
fn add_row_selection(&self, row: i32) -> bool;
fn get_caption(&self) -> Option<Object>;
fn get_column_at_index(&self, index_: i32) -> i32;
fn get_column_description(&self, column: i32) -> Option<GString>;
fn get_column_extent_at(&self, row: i32, column: i32) -> i32;
fn get_column_header(&self, column: i32) -> Option<Object>;
fn get_index_at(&self, row: i32, column: i32) -> i32;
fn get_n_columns(&self) -> i32;
fn get_n_rows(&self) -> i32;
fn get_row_at_index(&self, index_: i32) -> i32;
fn get_row_description(&self, row: i32) -> Option<GString>;
fn get_row_extent_at(&self, row: i32, column: i32) -> i32;
fn get_row_header(&self, row: i32) -> Option<Object>;
fn get_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;
}
Required Methods§
fn add_column_selection(&self, column: i32) -> bool
fn add_row_selection(&self, row: i32) -> bool
fn get_caption(&self) -> Option<Object>
fn get_column_at_index(&self, index_: i32) -> i32
fn get_column_description(&self, column: i32) -> Option<GString>
fn get_column_extent_at(&self, row: i32, column: i32) -> i32
fn get_column_header(&self, column: i32) -> Option<Object>
fn get_index_at(&self, row: i32, column: i32) -> i32
fn get_n_columns(&self) -> i32
fn get_n_rows(&self) -> i32
fn get_row_at_index(&self, index_: i32) -> i32
fn get_row_description(&self, row: i32) -> Option<GString>
fn get_row_extent_at(&self, row: i32, column: i32) -> i32
fn get_row_header(&self, row: i32) -> Option<Object>
fn get_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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.