Trait gtk::TreeViewExt [] [src]

pub trait TreeViewExt {
    fn append_column(&self, column: &TreeViewColumn) -> 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<'a, 'b, P: Into<Option<&'a TreePath>>, Q: Into<Option<&'b TreeViewColumn>>>(
        &self,
        path: P,
        column: Q
    ) -> Rectangle; fn get_bin_window(&self) -> Option<Window>; fn get_cell_area<'a, 'b, P: Into<Option<&'a TreePath>>, Q: Into<Option<&'b TreeViewColumn>>>(
        &self,
        path: P,
        column: Q
    ) -> 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_rules_hint(&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(&self, column: &TreeViewColumn, position: i32) -> i32; fn is_blank_at_pos(
        &self,
        x: i32,
        y: i32
    ) -> Option<(TreePath, TreeViewColumn, i32, i32)>; fn is_rubber_banding_active(&self) -> bool; fn move_column_after<'a, P: Into<Option<&'a TreeViewColumn>>>(
        &self,
        column: &TreeViewColumn,
        base_column: P
    ); fn remove_column(&self, column: &TreeViewColumn) -> i32; fn row_activated(&self, path: &TreePath, column: &TreeViewColumn); fn row_expanded(&self, path: &TreePath) -> bool; fn scroll_to_cell<'a, 'b, P: Into<Option<&'a TreePath>>, Q: Into<Option<&'b TreeViewColumn>>>(
        &self,
        path: P,
        column: Q,
        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_cursor<'a, P: Into<Option<&'a TreeViewColumn>>>(
        &self,
        path: &TreePath,
        focus_column: P,
        start_editing: bool
    ); fn set_cursor_on_cell<'a, 'b, P: Into<Option<&'a TreeViewColumn>>, Q: IsA<CellRenderer> + 'b, R: Into<Option<&'b Q>>>(
        &self,
        path: &TreePath,
        focus_column: P,
        focus_cell: R,
        start_editing: bool
    ); fn set_drag_dest_row<'a, P: Into<Option<&'a TreePath>>>(
        &self,
        path: P,
        pos: TreeViewDropPosition
    ); fn set_enable_search(&self, enable_search: bool); fn set_enable_tree_lines(&self, enabled: bool); fn set_expander_column(&self, column: &TreeViewColumn); 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<'a, P: IsA<TreeModel> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        model: Q
    ); fn set_reorderable(&self, reorderable: bool); fn set_rubber_banding(&self, enable: bool); fn set_rules_hint(&self, setting: bool); fn set_search_column(&self, column: i32); fn set_search_entry<'a, P: IsA<Entry> + 'a, Q: Into<Option<&'a P>>>(
        &self,
        entry: Q
    ); fn set_show_expanders(&self, enabled: bool); fn set_tooltip_cell<'a, 'b, 'c, P: Into<Option<&'a TreePath>>, Q: Into<Option<&'b TreeViewColumn>>, R: IsA<CellRenderer> + 'c, S: Into<Option<&'c R>>>(
        &self,
        tooltip: &Tooltip,
        path: P,
        column: Q,
        cell: S
    ); 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) -> u64; fn connect_cursor_changed<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_expand_collapse_cursor_row<F: Fn(&Self, bool, bool, bool) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_move_cursor<F: Fn(&Self, MovementStep, i32) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_row_activated<F: Fn(&Self, &TreePath, &TreeViewColumn) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_row_collapsed<F: Fn(&Self, &TreeIter, &TreePath) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_row_expanded<F: Fn(&Self, &TreeIter, &TreePath) + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_select_all<F: Fn(&Self) -> bool + 'static>(&self, f: F) -> u64; fn connect_select_cursor_parent<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_select_cursor_row<F: Fn(&Self, bool) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_start_interactive_search<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_test_collapse_row<F: Fn(&Self, &TreeIter, &TreePath) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_test_expand_row<F: Fn(&Self, &TreeIter, &TreePath) -> Inhibit + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_toggle_cursor_row<F: Fn(&Self) -> bool + 'static>(
        &self,
        f: F
    ) -> u64; fn connect_unselect_all<F: Fn(&Self) -> bool + 'static>(&self, f: F) -> u64; }

Required Methods

Implementors