FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    DragPreviewWindow

    struct · ferroui-xaml-interactions-draganddrop · v0.5.0

    struct DragPreviewWindow
    

    Lightweight always-on-top window used to display drag preview content: transparent, non-interactive, topmost and sized to its content.

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<DragPreviewWindow>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Creates the class data; see ferroui_base::FerroObject::construct.

    Panics

    Panics when no windowing platform is registered.

    Source

    new

    fn new() -> Ref<Self>
    

    Creates the window.

    Panics

    Panics when no windowing platform is registered.

    Source

    Trait implementations

    Availability

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