Trait TableExt

Source
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§

Source

fn add_column_selection(&self, column: i32) -> bool

Source

fn add_row_selection(&self, row: i32) -> bool

Source

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

Source

fn get_column_at_index(&self, index_: i32) -> i32

Source

fn get_column_description(&self, column: i32) -> Option<GString>

Source

fn get_column_extent_at(&self, row: i32, column: i32) -> i32

Source

fn get_column_header(&self, column: i32) -> Option<Object>

Source

fn get_index_at(&self, row: i32, column: i32) -> i32

Source

fn get_n_columns(&self) -> i32

Source

fn get_n_rows(&self) -> i32

Source

fn get_row_at_index(&self, index_: i32) -> i32

Source

fn get_row_description(&self, row: i32) -> Option<GString>

Source

fn get_row_extent_at(&self, row: i32, column: i32) -> i32

Source

fn get_row_header(&self, row: i32) -> Option<Object>

Source

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

Source

fn is_column_selected(&self, column: i32) -> bool

Source

fn is_row_selected(&self, row: i32) -> bool

Source

fn is_selected(&self, row: i32, column: i32) -> bool

Source

fn ref_at(&self, row: i32, column: i32) -> Option<Object>

Source

fn remove_column_selection(&self, column: i32) -> bool

Source

fn remove_row_selection(&self, row: i32) -> bool

Source

fn set_caption<P: IsA<Object>>(&self, caption: &P)

Source

fn set_column_description(&self, column: i32, description: &str)

Source

fn set_column_header<P: IsA<Object>>(&self, column: i32, header: &P)

Source

fn set_row_description(&self, row: i32, description: &str)

Source

fn set_row_header<P: IsA<Object>>(&self, row: i32, header: &P)

Source

fn set_summary<P: IsA<Object>>(&self, accessible: &P)

Source

fn connect_column_deleted<F: Fn(&Self, i32, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_column_inserted<F: Fn(&Self, i32, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_column_reordered<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_model_changed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn connect_row_deleted<F: Fn(&Self, i32, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_row_inserted<F: Fn(&Self, i32, i32) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

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.

Implementors§

Source§

impl<O: IsA<Table>> TableExt for O