Trait gtk::prelude::DragContextExtManual
[−]
[src]
pub trait DragContextExtManual {
fn drag_finish(&self, success: bool, del: bool, time_: u32);
fn drag_cancel(&self);
fn drag_get_source_widget(&self) -> Option<Widget>;
fn drag_set_icon_default(&self);
fn drag_set_icon_gicon<P: IsA<Icon>>(
&self,
icon: &P,
hot_x: i32,
hot_y: i32
);
fn drag_set_icon_name(&self, icon_name: &str, hot_x: i32, hot_y: i32);
fn drag_set_icon_pixbuf(&self, pixbuf: &Pixbuf, hot_x: i32, hot_y: i32);
fn drag_set_icon_stock(&self, stock_id: &str, hot_x: i32, hot_y: i32);
fn drag_set_icon_surface(&self, surface: &Surface);
fn drag_set_icon_widget<P: IsA<Widget>>(
&self,
widget: &P,
hot_x: i32,
hot_y: i32
);
}
Required Methods
fn drag_finish(&self, success: bool, del: bool, time_: u32)
fn drag_cancel(&self)
fn drag_get_source_widget(&self) -> Option<Widget>
fn drag_set_icon_default(&self)
fn drag_set_icon_gicon<P: IsA<Icon>>(&self, icon: &P, hot_x: i32, hot_y: i32)
fn drag_set_icon_name(&self, icon_name: &str, hot_x: i32, hot_y: i32)
fn drag_set_icon_pixbuf(&self, pixbuf: &Pixbuf, hot_x: i32, hot_y: i32)
fn drag_set_icon_stock(&self, stock_id: &str, hot_x: i32, hot_y: i32)
fn drag_set_icon_surface(&self, surface: &Surface)
fn drag_set_icon_widget<P: IsA<Widget>>(
&self,
widget: &P,
hot_x: i32,
hot_y: i32
)
&self,
widget: &P,
hot_x: i32,
hot_y: i32
)
Implementors
impl<O: IsA<DragContext>> DragContextExtManual for O