gtk4::subclass::tree_drag_source

Trait TreeDragSourceImpl

Source
pub trait TreeDragSourceImpl: ObjectImpl {
    // Required methods
    fn drag_data_get(&self, path: &TreePath) -> ContentProvider;
    fn drag_data_delete(&self, path: &TreePath) -> bool;

    // Provided method
    fn row_draggable(&self, path: &TreePath) -> bool { ... }
}
๐Ÿ‘ŽDeprecated: Since 4.10

Required Methodsยง

Source

fn drag_data_get(&self, path: &TreePath) -> ContentProvider

๐Ÿ‘ŽDeprecated: Since 4.10
Source

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

๐Ÿ‘ŽDeprecated: Since 4.10

Provided Methodsยง

Source

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

๐Ÿ‘ŽDeprecated: Since 4.10

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ยง