Package org.freedesktop.wayland.client
Class WlShellProxy
- All Implemented Interfaces:
WaylandObject
create desktop-style surfaces
This interface is implemented by servers that provide desktop-style user interfaces.
It allows clients to associate a wl_shell_surface with a basic surface.
Note! This protocol is deprecated and not intended for production use. For desktop-style user interfaces, use xdg_shell. Compositors and clients should not implement this interface.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWlShellProxy
(MemorySegment pointer) WlShellProxy
(MemorySegment pointer, WlShellEvents implementation, int version) -
Method Summary
Modifier and TypeMethodDescriptiongetShellSurface
(WlShellSurfaceEvents implementation, WlSurfaceProxy surface) create a shell surface from a surfaceMethods inherited from class org.freedesktop.wayland.client.Proxy
destroy, equals, getId, getImplementation, getPointer, getVersion, hashCode, marshal, marshal, marshalConstructor, setQueue
-
Field Details
-
INTERFACE_NAME
- See Also:
-
-
Constructor Details
-
WlShellProxy
-
WlShellProxy
-
-
Method Details
-
getShellSurface
public WlShellSurfaceProxy getShellSurface(WlShellSurfaceEvents implementation, @Nonnull WlSurfaceProxy surface) create a shell surface from a surfaceCreate a shell surface for an existing surface. This gives the wl_surface the role of a shell surface. If the wl_surface already has another role, it raises a protocol error.
Only one shell surface can be associated with a given surface.
- Parameters:
implementation
- A protocol event listener for the newly created proxy.surface
- surface to be given the shell surface role
-