pub trait TreeViewColumnExt: 'static {
Show 64 methods
// Required methods
fn cell_get_position<P: IsA<CellRenderer>>(
&self,
cell_renderer: &P,
) -> Option<(i32, i32)>;
fn cell_get_size(
&self,
cell_area: Option<&Rectangle>,
) -> (i32, i32, i32, i32);
fn cell_is_visible(&self) -> bool;
fn cell_set_cell_data<P: IsA<TreeModel>>(
&self,
tree_model: &P,
iter: &TreeIter,
is_expander: bool,
is_expanded: bool,
);
fn clicked(&self);
fn focus_cell<P: IsA<CellRenderer>>(&self, cell: &P);
fn get_alignment(&self) -> f32;
fn get_button(&self) -> Option<Widget>;
fn get_clickable(&self) -> bool;
fn get_expand(&self) -> bool;
fn get_fixed_width(&self) -> i32;
fn get_max_width(&self) -> i32;
fn get_min_width(&self) -> i32;
fn get_reorderable(&self) -> bool;
fn get_resizable(&self) -> bool;
fn get_sizing(&self) -> TreeViewColumnSizing;
fn get_sort_column_id(&self) -> i32;
fn get_sort_indicator(&self) -> bool;
fn get_sort_order(&self) -> SortType;
fn get_spacing(&self) -> i32;
fn get_title(&self) -> Option<GString>;
fn get_tree_view(&self) -> Option<Widget>;
fn get_visible(&self) -> bool;
fn get_widget(&self) -> Option<Widget>;
fn get_width(&self) -> i32;
fn get_x_offset(&self) -> i32;
fn queue_resize(&self);
fn set_alignment(&self, xalign: f32);
fn set_cell_data_func<P: IsA<CellRenderer>>(
&self,
cell_renderer: &P,
func: Option<Box<dyn Fn(&TreeViewColumn, &CellRenderer, &TreeModel, &TreeIter) + 'static>>,
);
fn set_clickable(&self, clickable: bool);
fn set_expand(&self, expand: bool);
fn set_fixed_width(&self, fixed_width: i32);
fn set_max_width(&self, max_width: i32);
fn set_min_width(&self, min_width: i32);
fn set_reorderable(&self, reorderable: bool);
fn set_resizable(&self, resizable: bool);
fn set_sizing(&self, type_: TreeViewColumnSizing);
fn set_sort_column_id(&self, sort_column_id: i32);
fn set_sort_indicator(&self, setting: bool);
fn set_sort_order(&self, order: SortType);
fn set_spacing(&self, spacing: i32);
fn set_title(&self, title: &str);
fn set_visible(&self, visible: bool);
fn set_widget<P: IsA<Widget>>(&self, widget: Option<&P>);
fn get_property_cell_area(&self) -> Option<CellArea>;
fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn connect_property_alignment_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_clickable_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_expand_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_fixed_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_max_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_min_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_reorderable_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_resizable_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_sizing_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_sort_column_id_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_sort_indicator_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_sort_order_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_visible_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_x_offset_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn cell_get_position<P: IsA<CellRenderer>>( &self, cell_renderer: &P, ) -> Option<(i32, i32)>
fn cell_get_size(&self, cell_area: Option<&Rectangle>) -> (i32, i32, i32, i32)
fn cell_is_visible(&self) -> bool
fn cell_set_cell_data<P: IsA<TreeModel>>( &self, tree_model: &P, iter: &TreeIter, is_expander: bool, is_expanded: bool, )
fn clicked(&self)
fn focus_cell<P: IsA<CellRenderer>>(&self, cell: &P)
fn get_alignment(&self) -> f32
fn get_clickable(&self) -> bool
fn get_expand(&self) -> bool
fn get_fixed_width(&self) -> i32
fn get_max_width(&self) -> i32
fn get_min_width(&self) -> i32
fn get_reorderable(&self) -> bool
fn get_resizable(&self) -> bool
fn get_sizing(&self) -> TreeViewColumnSizing
fn get_sort_column_id(&self) -> i32
fn get_sort_indicator(&self) -> bool
fn get_sort_order(&self) -> SortType
fn get_spacing(&self) -> i32
fn get_title(&self) -> Option<GString>
fn get_tree_view(&self) -> Option<Widget>
fn get_visible(&self) -> bool
fn get_widget(&self) -> Option<Widget>
fn get_width(&self) -> i32
fn get_x_offset(&self) -> i32
fn queue_resize(&self)
fn set_alignment(&self, xalign: f32)
fn set_cell_data_func<P: IsA<CellRenderer>>( &self, cell_renderer: &P, func: Option<Box<dyn Fn(&TreeViewColumn, &CellRenderer, &TreeModel, &TreeIter) + 'static>>, )
fn set_clickable(&self, clickable: bool)
fn set_expand(&self, expand: bool)
fn set_fixed_width(&self, fixed_width: i32)
fn set_max_width(&self, max_width: i32)
fn set_min_width(&self, min_width: i32)
fn set_reorderable(&self, reorderable: bool)
fn set_resizable(&self, resizable: bool)
fn set_sizing(&self, type_: TreeViewColumnSizing)
fn set_sort_column_id(&self, sort_column_id: i32)
fn set_sort_indicator(&self, setting: bool)
fn set_sort_order(&self, order: SortType)
fn set_spacing(&self, spacing: i32)
fn set_title(&self, title: &str)
fn set_visible(&self, visible: bool)
fn set_widget<P: IsA<Widget>>(&self, widget: Option<&P>)
fn get_property_cell_area(&self) -> Option<CellArea>
fn connect_clicked<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_property_alignment_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_clickable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_expand_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_fixed_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_max_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_min_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_reorderable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_resizable_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_sizing_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_sort_column_id_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_sort_indicator_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_sort_order_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_spacing_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_title_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_visible_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_x_offset_notify<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.