Package ch.bailu.gtk.gtk
Schnittstelle DropTarget.OnEnter
- Umschließende Klasse:
DropTarget
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungint
onEnter
(double x, double y) Emitted on the drop site when the pointer enters the widget.
-
Methodendetails
-
onEnter
int onEnter(double x, double y) Emitted on the drop site when the pointer enters the widget.
It can be used to set up custom highlighting.- Parameter:
x
- the x coordinate of the current pointer positiony
- the y coordinate of the current pointer position- Gibt zurück:
- Preferred action for this drag operation or 0 if dropping is not supported at the current @x,@y location.
-