Lwjgl3ApplicationConfiguration and Lwjgl3WindowConfiguration. Close events can be canceled
by returning false.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: whether the window should actually closeCalled when the user requested to close the window, e.g. clicking the close button or pressing the window closing keyboard shortcut. |
| public void | |
| public void | filesDropped(String[]
array with absolute paths to the files files)Called when external files are dropped into the window, e.g from the Desktop. |
| public void | |
| public void | |
| public void | iconified(boolean
True if window is iconified, false if it leaves the iconified state isIconified)Called when the window is iconified (i.e. its minimize button was clicked), or when restored from the iconified state. |
| public void | maximized(boolean
true if window is maximized, false if it leaves the maximized state isMaximized)Called when the window is maximized, or restored from the maximized state. |
| public void |
| closeRequested | back to summary |
|---|---|
| public boolean closeRequested() Called when the user requested to close the window, e.g. clicking the close button or pressing the window closing keyboard shortcut.
| |
| created | back to summary |
|---|---|
| public void created(Lwjgl3Window window) Called after the GLFW window is created. Before this callback is received, it's unsafe to use any
| |
| filesDropped | back to summary |
|---|---|
| public void filesDropped(String[] files) Called when external files are dropped into the window, e.g from the Desktop.
| |
| focusGained | back to summary |
|---|---|
| public void focusGained() Called when the window gained focus. | |
| focusLost | back to summary |
|---|---|
| public void focusLost() Called when the window lost focus to another window. The window's | |
| iconified | back to summary |
|---|---|
| public void iconified(boolean isIconified) Called when the window is iconified (i.e. its minimize button was clicked), or when restored from the iconified state. When
a window becomes iconified, its
| |
| maximized | back to summary |
|---|---|
| public void maximized(boolean isMaximized) Called when the window is maximized, or restored from the maximized state.
| |
| refreshRequested | back to summary |
|---|---|
| public void refreshRequested() Called when the window content is damaged and needs to be refreshed. When this occurs,
| |