Trait gdk::prelude::DragContextExtManual
[−]
[src]
pub trait DragContextExtManual {
fn drag_get_selection(&self) -> Atom;
fn drag_abort(&self, time_: u32);
fn drop_reply(&self, accepted: bool, time_: u32);
fn drop(&self, time_: u32);
fn drag_find_window_for_screen(
&self,
drag_window: &Window,
screen: &Screen,
x_root: i32,
y_root: i32
) -> (Option<Window>, DragProtocol);
fn drag_motion(
&self,
dest_window: &Window,
protocol: DragProtocol,
x_root: i32,
y_root: i32,
suggested_action: DragAction,
possible_actions: DragAction,
time_: u32
) -> bool;
fn drop_finish(&self, success: bool, time_: u32);
fn drag_status(&self, action: DragAction, time_: u32);
fn drag_drop_succeeded(&self) -> bool;
fn drag_begin(window: &Window, targets: &[&Atom]) -> Option<DragContext>;
fn drag_begin_for_device<P: IsA<Device>>(
window: &Window,
device: &P,
targets: &[&Atom]
) -> Option<DragContext>;
fn drag_begin_from_point<P: IsA<Device>>(
window: &Window,
device: &P,
targets: &[&Atom],
x_root: i32,
y_root: i32
) -> Option<DragContext>;
fn drag_drop_done(&self, success: bool);
}
Required Methods
fn drag_get_selection(&self) -> Atom
fn drag_abort(&self, time_: u32)
fn drop_reply(&self, accepted: bool, time_: u32)
fn drop(&self, time_: u32)
fn drag_find_window_for_screen(
&self,
drag_window: &Window,
screen: &Screen,
x_root: i32,
y_root: i32
) -> (Option<Window>, DragProtocol)
&self,
drag_window: &Window,
screen: &Screen,
x_root: i32,
y_root: i32
) -> (Option<Window>, DragProtocol)
fn drag_motion(
&self,
dest_window: &Window,
protocol: DragProtocol,
x_root: i32,
y_root: i32,
suggested_action: DragAction,
possible_actions: DragAction,
time_: u32
) -> bool
&self,
dest_window: &Window,
protocol: DragProtocol,
x_root: i32,
y_root: i32,
suggested_action: DragAction,
possible_actions: DragAction,
time_: u32
) -> bool
fn drop_finish(&self, success: bool, time_: u32)
fn drag_status(&self, action: DragAction, time_: u32)
fn drag_drop_succeeded(&self) -> bool
fn drag_begin(window: &Window, targets: &[&Atom]) -> Option<DragContext>
fn drag_begin_for_device<P: IsA<Device>>(
window: &Window,
device: &P,
targets: &[&Atom]
) -> Option<DragContext>
window: &Window,
device: &P,
targets: &[&Atom]
) -> Option<DragContext>
fn drag_begin_from_point<P: IsA<Device>>(
window: &Window,
device: &P,
targets: &[&Atom],
x_root: i32,
y_root: i32
) -> Option<DragContext>
window: &Window,
device: &P,
targets: &[&Atom],
x_root: i32,
y_root: i32
) -> Option<DragContext>
fn drag_drop_done(&self, success: bool)
Implementors
impl<O: IsA<DragContext>> DragContextExtManual for O