# 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)`

### `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)`

## Implementors

- `impl<O: IsA<DragContext>> DragContextExtManual for O`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)