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;
}
Required Methods
source
fn actions(&self) -> DragAction
source
fn content(&self) -> ContentProvider
source
fn drag_surface(&self) -> Option<Surface>
source
fn formats(&self) -> ContentFormats
source
fn selected_action(&self) -> DragAction
source
fn set_hotspot(&self, hot_x: i32, hot_y: i32)
source
fn set_actions(&self, actions: DragAction)
source
fn set_selected_action(&self, selected_action: DragAction)
sourcefn connect_cancel<F: Fn(&Self, DragCancelReason) + 'static>(
fn connect_cancel<F: Fn(&Self, DragCancelReason) + 'static>(
&self,
f: F
) -> SignalHandlerId
source
fn connect_dnd_finished<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn connect_drop_performed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn connect_actions_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn connect_display_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
sourcefn connect_selected_action_notify<F: Fn(&Self) + 'static>(