gtk 0.1.3

Rust bindings for the GTK+ 3 library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use ffi;
use gdk::DragContext;
use glib::object::IsA;


pub trait DragContextExtManual {
    fn drag_finish(&self, success: bool, del: bool, time_: u32);
}

impl<O: IsA<DragContext>> DragContextExtManual for O {
    fn drag_finish(&self, success: bool, del: bool, time_: u32) {
        unsafe { ffi::gtk_drag_finish(self.to_glib_none().0,
                                      success as i32,
                                      del as i32,
                                      time_) };
    }
}