Trait gdk::prelude::DragContextExt
[−]
[src]
pub trait DragContextExt { fn get_actions(&self) -> DragAction; fn get_dest_window(&self) -> Window; fn get_device(&self) -> Device; fn get_drag_window(&self) -> Option<Window>; fn get_protocol(&self) -> DragProtocol; fn get_selected_action(&self) -> DragAction; fn get_source_window(&self) -> Window; fn get_suggested_action(&self) -> DragAction; fn list_targets(&self) -> Vec<Atom>; fn manage_dnd(&self, ipc_window: &Window, actions: DragAction) -> bool; fn set_device<P: IsA<Device>>(&self, device: &P); fn set_hotspot(&self, hot_x: i32, hot_y: i32); fn connect_action_changed<F: Fn(&Self, DragAction) + 'static>(
&self,
f: F
) -> u64; fn connect_cancel<F: Fn(&Self, DragCancelReason) + 'static>(
&self,
f: F
) -> u64; fn connect_dnd_finished<F: Fn(&Self) + 'static>(&self, f: F) -> u64; fn connect_drop_performed<F: Fn(&Self, i32) + 'static>(&self, f: F) -> u64; }
Required Methods
fn get_actions(&self) -> DragAction
fn get_dest_window(&self) -> Window
fn get_device(&self) -> Device
fn get_drag_window(&self) -> Option<Window>
fn get_protocol(&self) -> DragProtocol
fn get_selected_action(&self) -> DragAction
fn get_source_window(&self) -> Window
fn get_suggested_action(&self) -> DragAction
fn list_targets(&self) -> Vec<Atom>
fn manage_dnd(&self, ipc_window: &Window, actions: DragAction) -> bool
fn set_device<P: IsA<Device>>(&self, device: &P)
fn set_hotspot(&self, hot_x: i32, hot_y: i32)
fn connect_action_changed<F: Fn(&Self, DragAction) + 'static>(
&self,
f: F
) -> u64
&self,
f: F
) -> u64
fn connect_cancel<F: Fn(&Self, DragCancelReason) + 'static>(&self, f: F) -> u64
fn connect_dnd_finished<F: Fn(&Self) + 'static>(&self, f: F) -> u64
fn connect_drop_performed<F: Fn(&Self, i32) + 'static>(&self, f: F) -> u64
Implementors
impl<O: IsA<DragContext> + IsA<Object>> DragContextExt for O