FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    IPlatformDragSource

    trait · ferroui-base · v0.5.0

    trait IPlatformDragSource
    

    Starts drag-and-drop operations on the platform.

    This is an implementation detail of the platform backends.

    View source

    Members

    do_drag_drop_async

    fn do_drag_drop_async(self: &Self, trigger_event: &PointerPressedEventArgs, data_transfer: Rc<dyn IDataTransfer>, allowed_effects: DragDropEffects) -> LocalBoxFuture<DragDropEffects>
    

    Starts a drag-and-drop operation with the given data and returns a future that resolves to the effect of the operation when it ends.

    Source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.