public class WindowHandle
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static WindowHandle |
fromWayland(long display,
long surface)
Create
WindowHandle from a Wayland surface |
static WindowHandle |
fromWin32(long hWnd)
The native HWND instance in Windows environment.
|
static WindowHandle |
fromXlib(long display,
long window)
Create
WindowHandle from an Xlib window |
public static WindowHandle fromWayland(long display, long surface)
WindowHandle from a Wayland surfacedisplay - The display instance of Wayland serversurface - The handle of the surfacepublic static WindowHandle fromXlib(long display, long window)
WindowHandle from an Xlib windowdisplay - The display instance of the X serverwindow - The handle of the windowpublic static WindowHandle fromWin32(long hWnd)
hWnd - The handle of the native Win32 window