Skip to main content

TreeDragSourceImpl

Trait TreeDragSourceImpl 

Source
pub trait TreeDragSourceImpl: ObjectImpl + ObjectSubclass<Type: IsA<TreeDragSource>> {
    // Required methods
    fn drag_data_get(
        &self,
        path: &TreePath,
        selection_data: &SelectionData,
    ) -> bool;
    fn drag_data_delete(&self, path: &TreePath) -> bool;

    // Provided method
    fn row_draggable(&self, path: &TreePath) -> bool { ... }
}

Required Methods§

Source

fn drag_data_get(&self, path: &TreePath, selection_data: &SelectionData) -> bool

Source

fn drag_data_delete(&self, path: &TreePath) -> bool

Provided Methods§

Source

fn row_draggable(&self, path: &TreePath) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§