gdk4::prelude

Trait DragSurfaceExt

Source
pub trait DragSurfaceExt: IsA<DragSurface> + 'static {
    // Provided method
    fn present(&self, width: i32, height: i32) -> bool { ... }
}
Expand description

Trait containing all DragSurface methods.

§Implementors

DragSurface

Provided Methods§

Source

fn present(&self, width: i32, height: i32) -> bool

Present @self.

§width

the unconstrained drag_surface width to layout

§height

the unconstrained drag_surface height to layout

§Returns

false if it failed to be presented, otherwise true.

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§