pub trait TreeViewExt: 'static {
Show 131 methods fn append_column<P: IsA<TreeViewColumn>>(&self, column: &P) -> i32; fn collapse_all(&self); fn collapse_row(&self, path: &TreePath) -> bool; fn columns_autosize(&self); fn convert_bin_window_to_tree_coords(&self, bx: i32, by: i32) -> (i32, i32); fn convert_bin_window_to_widget_coords(&self, bx: i32, by: i32) -> (i32, i32); fn convert_tree_to_bin_window_coords(&self, tx: i32, ty: i32) -> (i32, i32); fn convert_tree_to_widget_coords(&self, tx: i32, ty: i32) -> (i32, i32); fn convert_widget_to_bin_window_coords(&self, wx: i32, wy: i32) -> (i32, i32); fn convert_widget_to_tree_coords(&self, wx: i32, wy: i32) -> (i32, i32); fn create_row_drag_icon(&self, path: &TreePath) -> Option<Surface>; fn expand_all(&self); fn expand_row(&self, path: &TreePath, open_all: bool) -> bool; fn expand_to_path(&self, path: &TreePath); fn get_activate_on_single_click(&self) -> bool; fn get_background_area<P: IsA<TreeViewColumn>>(
        &self,
        path: Option<&TreePath>,
        column: Option<&P>
    ) -> Rectangle; fn get_bin_window(&self) -> Option<Window>; fn get_cell_area<P: IsA<TreeViewColumn>>(
        &self,
        path: Option<&TreePath>,
        column: Option<&P>
    ) -> Rectangle; fn get_column(&self, n: i32) -> Option<TreeViewColumn>; fn get_columns(&self) -> Vec<TreeViewColumn>; fn get_cursor(&self) -> (Option<TreePath>, Option<TreeViewColumn>); fn get_dest_row_at_pos(
        &self,
        drag_x: i32,
        drag_y: i32
    ) -> Option<(Option<TreePath>, TreeViewDropPosition)>; fn get_drag_dest_row(&self) -> (Option<TreePath>, TreeViewDropPosition); fn get_enable_search(&self) -> bool; fn get_enable_tree_lines(&self) -> bool; fn get_expander_column(&self) -> Option<TreeViewColumn>; fn get_fixed_height_mode(&self) -> bool; fn get_grid_lines(&self) -> TreeViewGridLines; fn get_headers_clickable(&self) -> bool; fn get_headers_visible(&self) -> bool; fn get_hover_expand(&self) -> bool; fn get_hover_selection(&self) -> bool; fn get_level_indentation(&self) -> i32; fn get_model(&self) -> Option<TreeModel>; fn get_n_columns(&self) -> u32; fn get_path_at_pos(
        &self,
        x: i32,
        y: i32
    ) -> Option<(Option<TreePath>, Option<TreeViewColumn>, i32, i32)>; fn get_reorderable(&self) -> bool; fn get_rubber_banding(&self) -> bool; fn get_search_column(&self) -> i32; fn get_search_entry(&self) -> Option<Entry>; fn get_selection(&self) -> TreeSelection; fn get_show_expanders(&self) -> bool; fn get_tooltip_column(&self) -> i32; fn get_tooltip_context(
        &self,
        x: &mut i32,
        y: &mut i32,
        keyboard_tip: bool
    ) -> Option<(Option<TreeModel>, TreePath, TreeIter)>; fn get_visible_range(&self) -> Option<(TreePath, TreePath)>; fn get_visible_rect(&self) -> Rectangle; fn insert_column<P: IsA<TreeViewColumn>>(
        &self,
        column: &P,
        position: i32
    ) -> i32; fn insert_column_with_data_func<P: IsA<CellRenderer>, Q: Fn(&TreeViewColumn, &CellRenderer, &TreeModel, &TreeIter) + 'static>(
        &self,
        position: i32,
        title: &str,
        cell: &P,
        func: Q
    ) -> i32; fn is_blank_at_pos(
        &self,
        x: i32,
        y: i32
    ) -> Option<(Option<TreePath>, Option<TreeViewColumn>, i32, i32)>; fn is_rubber_banding_active(&self) -> bool; fn map_expanded_rows<P: FnMut(&TreeView, &TreePath)>(&self, func: P); fn move_column_after<P: IsA<TreeViewColumn>, Q: IsA<TreeViewColumn>>(
        &self,
        column: &P,
        base_column: Option<&Q>
    ); fn remove_column<P: IsA<TreeViewColumn>>(&self, column: &P) -> i32; fn row_activated<P: IsA<TreeViewColumn>>(&self, path: &TreePath, column: &P); fn row_expanded(&self, path: &TreePath) -> bool; fn scroll_to_cell<P: IsA<TreeViewColumn>>(
        &self,
        path: Option<&TreePath>,
        column: Option<&P>,
        use_align: bool,
        row_align: f32,
        col_align: f32
    ); fn scroll_to_point(&self, tree_x: i32, tree_y: i32); fn set_activate_on_single_click(&self, single: bool); fn set_column_drag_function(
        &self,
        func: Option<Box<dyn Fn(&TreeView, &TreeViewColumn, &TreeViewColumn, &TreeViewColumn) -> bool + 'static>>
    ); fn set_cursor<P: IsA<TreeViewColumn>>(
        &self,
        path: &TreePath,
        focus_column: Option<&P>,
        start_editing: bool
    ); fn set_cursor_on_cell<P: IsA<TreeViewColumn>, Q: IsA<CellRenderer>>(
        &self,
        path: &TreePath,
        focus_column: Option<&P>,
        focus_cell: Option<&Q>,
        start_editing: bool
    ); fn set_drag_dest_row(
        &self,
        path: Option<&TreePath>,
        pos: TreeViewDropPosition
    ); fn set_enable_search(&self, enable_search: bool); fn set_enable_tree_lines(&self, enabled: bool); fn set_expander_column<P: IsA<TreeViewColumn>>(&self, column: Option<&P>); fn set_fixed_height_mode(&self, enable: bool); fn set_grid_lines(&self, grid_lines: TreeViewGridLines); fn set_headers_clickable(&self, setting: bool); fn set_headers_visible(&self, headers_visible: bool); fn set_hover_expand(&self, expand: bool); fn set_hover_selection(&self, hover: bool); fn set_level_indentation(&self, indentation: i32); fn set_model<P: IsA<TreeModel>>(&self, model: Option<&P>); fn set_reorderable(&self, reorderable: bool); fn set_row_separator_func(
        &self,
        func: Option<Box<dyn Fn(&TreeModel, &TreeIter) -> bool + 'static>>
    ); fn set_rubber_banding(&self, enable: bool); fn set_search_column(&self, column: i32); fn set_search_entry<P: IsA<Entry>>(&self, entry: Option<&P>); fn set_search_equal_func<P: Fn(&TreeModel, i32, &str, &TreeIter) -> bool + 'static>(
        &self,
        search_equal_func: P
    ); fn set_search_position_func(
        &self,
        func: Option<Box<dyn Fn(&TreeView, &Widget) + 'static>>
    ); fn set_show_expanders(&self, enabled: bool); fn set_tooltip_cell<P: IsA<TreeViewColumn>, Q: IsA<CellRenderer>>(
        &self,
        tooltip: &Tooltip,
        path: Option<&TreePath>,
        column: Option<&P>,
        cell: Option<&Q>
    ); fn set_tooltip_column(&self, column: i32); fn set_tooltip_row(&self, tooltip: &Tooltip, path: &TreePath); fn unset_rows_drag_dest(&self); fn unset_rows_drag_source(&self); fn get_property_enable_grid_lines(&self) -> TreeViewGridLines; fn set_property_enable_grid_lines(
        &self,
        enable_grid_lines: TreeViewGridLines
    ); fn set_property_ubuntu_almost_fixed_height_mode(
        &self,
        ubuntu_almost_fixed_height_mode: bool
    ); fn connect_columns_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_cursor_changed<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_expand_collapse_cursor_row<F: Fn(&Self, bool, bool, bool) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_expand_collapse_cursor_row(
        &self,
        object: bool,
        p0: bool,
        p1: bool
    ) -> bool; fn connect_move_cursor<F: Fn(&Self, MovementStep, i32) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_move_cursor(&self, step: MovementStep, direction: i32) -> bool; fn connect_row_activated<F: Fn(&Self, &TreePath, &TreeViewColumn) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_row_activated(&self, path: &TreePath, column: &TreeViewColumn); fn connect_row_collapsed<F: Fn(&Self, &TreeIter, &TreePath) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_row_expanded<F: Fn(&Self, &TreeIter, &TreePath) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_select_all<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_select_all(&self) -> bool; fn connect_select_cursor_parent<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_select_cursor_parent(&self) -> bool; fn connect_select_cursor_row<F: Fn(&Self, bool) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_select_cursor_row(&self, object: bool) -> bool; fn connect_start_interactive_search<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_start_interactive_search(&self) -> bool; fn connect_test_collapse_row<F: Fn(&Self, &TreeIter, &TreePath) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_test_expand_row<F: Fn(&Self, &TreeIter, &TreePath) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_toggle_cursor_row<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_toggle_cursor_row(&self) -> bool; fn connect_unselect_all<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn emit_unselect_all(&self) -> bool; fn connect_property_activate_on_single_click_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_enable_grid_lines_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_enable_search_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_enable_tree_lines_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_expander_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_fixed_height_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_headers_clickable_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_headers_visible_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_hover_expand_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_hover_selection_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_level_indentation_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_model_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_rubber_banding_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_search_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_show_expanders_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_tooltip_column_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; fn connect_property_ubuntu_almost_fixed_height_mode_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required Methods

source

fn get_search_entry(&self) -> Option<Entry>

source

fn set_search_entry<P: IsA<Entry>>(&self, entry: Option<&P>)

Implementors