Package org.lwjgl.glfw
Interface GLFWDropCallbackI
-
- All Superinterfaces:
- CallbackI, CallbackI.V, Pointer
- All Known Implementing Classes:
- GLFWDropCallback
@FunctionalInterface public interface GLFWDropCallbackI extends CallbackI.V
Instances of this interface may be passed to theSetDropCallback
method.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default long
address()
Returns the raw pointer address as along
value.default void
callback(long args)
Will be called by native code.void
invoke(long window, int count, long names)
Will be called when one or more dragged files are dropped on the window.
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:Pointer
Returns the raw pointer address as along
value.
-
callback
default void callback(long args)
Description copied from interface:CallbackI.V
Will be called by native code.- Specified by:
callback
in interfaceCallbackI.V
- Parameters:
args
- pointer to aDCArgs
iterator
-
invoke
void invoke(long window, int count, long names)
Will be called when one or more dragged files are dropped on the window.- Parameters:
window
- the window that received the eventcount
- the number of dropped filesnames
- pointer to the array of UTF-8 encoded path names of the dropped files
-
-