Class: Gtk::DropTargetAsync
- Inherits:
-
EventController
- Object
- EventController
- Gtk::DropTargetAsync
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#actions ⇒ Gdk::DragAction
The
GdkDragActionsthat this drop target supports. -
#actions=(actions) ⇒ Gdk::DragAction
The
GdkDragActionsthat this drop target supports. -
#formats ⇒ Gdk::ContentFormats
The
GdkContentFormatsthat determines the supported data formats. -
#formats=(formats) ⇒ Gdk::ContentFormats
The
GdkContentFormatsthat determines the supported data formats. -
#initialize(formats, actions) ⇒ Gtk::DropTargetAsync
constructor
Creates a new
GtkDropTargetAsyncobject. -
#reject_drop(drop) ⇒ nil
Sets the drop as not accepted on this drag site.
Methods inherited from EventController
#current_event, #current_event_device, #current_event_state, #current_event_time, #name, #name=, #propagation_limit, #propagation_limit=, #propagation_phase, #propagation_phase=, #reset, #static_name=, #widget, #widget=
Constructor Details
#initialize(formats, actions) ⇒ Gtk::DropTargetAsync
Creates a new GtkDropTargetAsync object.
Instance Method Details
#actions ⇒ Gdk::DragAction
The GdkDragActions that this drop target supports.
#actions=(actions) ⇒ Gdk::DragAction
The GdkDragActions that this drop target supports.
#formats ⇒ Gdk::ContentFormats
The GdkContentFormats that determines the supported data formats.
#formats=(formats) ⇒ Gdk::ContentFormats
The GdkContentFormats that determines the supported data formats.
#reject_drop(drop) ⇒ nil
Sets the drop as not accepted on this drag site.
This function should be used when delaying the decision on whether to accept a drag or not until after reading the data.