Trait gdk4::prelude::DragSurfaceExt

source ·
pub trait DragSurfaceExt: IsA<DragSurface> + Sealed + '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.

Object Safety§

This trait is not object safe.

Implementors§