Struct gdk::DragContext
[−]
pub struct DragContext(_, _);
Methods
impl DragContext
[src]
fn get_actions(&self) -> DragAction
fn get_dest_window(&self) -> Window
fn get_device(&self) -> Device
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 set_device<P: IsA<Device>>(&self, device: &P)
impl DragContext
[src]
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
Trait Implementations
impl Clone for DragContext
fn clone(&self) -> DragContext
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for DragContext
impl Hash for DragContext
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl StaticType for DragContext
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for DragContext
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.