SetDropCallback method.
void (*invoke) (
GLFWwindow *window,
int count,
char const **names
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static GLFWDropCallback | Returns: the newGLFWDropCallbackCreates a |
| public static GLFWDropCallback | create(GLFWDropCallbackI instance)
Creates a |
| public static GLFWDropCallback | |
| public static String | Returns: the name at the specified index as a Stringpointer to the array of UTF-8 encoded path names of the dropped files names, int the index to decode index)Decodes the specified |
| public GLFWDropCallback |
| GLFWDropCallback | back to summary |
|---|---|
| protected GLFWDropCallback() | |
| GLFWDropCallback | back to summary |
|---|---|
| pack-priv GLFWDropCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static GLFWDropCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static GLFWDropCallback create(GLFWDropCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static GLFWDropCallback createSafe(long functionPointer) Like
| |
| getName | back to summary |
|---|---|
| public static String getName(long names, int index) Decodes the specified This method may only be used inside a
| |
| set | back to summary |
|---|---|
| public GLFWDropCallback set(long window) See | |
| Modifier and Type | Field and Description |
|---|---|
| private final GLFWDropCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the window that received the event window, int the number of dropped files count, long pointer to the array of UTF-8 encoded path names of the dropped files names)Implements org. |
| delegate | back to summary |
|---|---|
| private final GLFWDropCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, GLFWDropCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long window, int count, long names) Implements org. Doc from org. Will be called when one or more dragged files are dropped on the window.
| |