pub trait DragExt: 'static {
Show 18 methods
fn drop_done(&self, success: bool);
fn actions(&self) -> DragAction;
fn content(&self) -> ContentProvider;
fn device(&self) -> Device;
fn display(&self) -> Display;
fn drag_surface(&self) -> Option<Surface>;
fn formats(&self) -> ContentFormats;
fn selected_action(&self) -> DragAction;
fn surface(&self) -> Surface;
fn set_hotspot(&self, hot_x: i32, hot_y: i32);
fn set_actions(&self, actions: DragAction);
fn set_selected_action(&self, selected_action: DragAction);
fn connect_cancel<F: Fn(&Self, DragCancelReason) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_dnd_finished<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_drop_performed<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_actions_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_display_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_selected_action_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId;
}