Package ch.bailu.gtk.gtk
Interface DropTarget.OnDrop
- Enclosing class:
- DropTarget
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
onDrop
Emitted on the drop site when the user drops the data onto the widget.
The signal handler must determine whether the pointer position is in
a drop zone or not. If it is not in a drop zone, it returns %FALSE
and no further processing is necessary.
Otherwise, the handler returns %TRUE. In this case, this handler will
accept the drop. The handler is responsible for using the given @value
and performing the drop operation.- Parameters:
value
- the `GValue` being droppedx
- the x coordinate of the current pointer positiony
- the y coordinate of the current pointer position- Returns:
- whether the drop was accepted at the given pointer position
-