Class WindowHandle


  • public class WindowHandle
    extends java.lang.Object
    Encapsulated window handle for different platforms.
    • Method Detail

      • fromWayland

        public static WindowHandle fromWayland​(long display,
                                               long surface)
        Create WindowHandle from a Wayland surface
        Parameters:
        display - The display instance of Wayland server
        surface - The handle of the surface
      • fromXlib

        public static WindowHandle fromXlib​(long display,
                                            long window)
        Create WindowHandle from an Xlib window
        Parameters:
        display - The display instance of the X server
        window - The handle of the window
      • fromWin32

        public static WindowHandle fromWin32​(long hWnd)
        The native HWND instance in Windows environment.
        Parameters:
        hWnd - The handle of the native Win32 window