Package org.freedesktop.wayland.raw
Class wl_shell_surface_interface
java.lang.Object
org.freedesktop.wayland.raw.wl_shell_surface_interface
struct wl_shell_surface_interface {
void (*pong)(struct wl_client *, struct wl_resource *, uint32_t);
void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t);
void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t);
void (*set_toplevel)(struct wl_client *, struct wl_resource *);
void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t);
void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *);
void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t);
void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *);
void (*set_title)(struct wl_client *, struct wl_resource *, const char *);
void (*set_class)(struct wl_client *, struct wl_resource *, const char *);
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
static class
void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
static class
void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
static class
void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
static class
void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
static class
void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static class
void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
static class
void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
static class
void (*set_toplevel)(struct wl_client *, struct wl_resource *)
static class
void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
-
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static final GroupLayout
layout()
The layout of this structstatic MemorySegment
move
(MemorySegment struct) Getter for field:void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
static void
move
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
static final AddressLayout
Layout for field:void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
static final long
Offset for field:void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
static MemorySegment
pong
(MemorySegment struct) Getter for field:void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
static void
pong
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
static final AddressLayout
Layout for field:void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
static final long
Offset for field:void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
static MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
resize
(MemorySegment struct) Getter for field:void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
static void
resize
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
static final AddressLayout
Layout for field:void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
static final long
Offset for field:void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
static MemorySegment
set_class
(MemorySegment struct) Getter for field:void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
static void
set_class
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
static final AddressLayout
Layout for field:void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
static final long
Offset for field:void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
static MemorySegment
set_fullscreen
(MemorySegment struct) Getter for field:void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
static void
set_fullscreen
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
static final AddressLayout
Layout for field:void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
static final long
Offset for field:void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
static MemorySegment
set_maximized
(MemorySegment struct) Getter for field:void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static void
set_maximized
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static final long
Offset for field:void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
static MemorySegment
set_popup
(MemorySegment struct) Getter for field:void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
static void
set_popup
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
static final AddressLayout
Layout for field:void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
static final long
Offset for field:void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
static MemorySegment
set_title
(MemorySegment struct) Getter for field:void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
static void
set_title
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
static final AddressLayout
Layout for field:void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
static final long
Offset for field:void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
static MemorySegment
set_toplevel
(MemorySegment struct) Getter for field:void (*set_toplevel)(struct wl_client *, struct wl_resource *)
static void
set_toplevel
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_toplevel)(struct wl_client *, struct wl_resource *)
static final AddressLayout
Layout for field:void (*set_toplevel)(struct wl_client *, struct wl_resource *)
static final long
Offset for field:void (*set_toplevel)(struct wl_client *, struct wl_resource *)
static MemorySegment
set_transient
(MemorySegment struct) Getter for field:void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
static void
set_transient
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
static final AddressLayout
Layout for field:void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
static final long
Offset for field:void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
static long
sizeof()
The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
pong$layout
Layout for field:void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
-
pong$offset
public static final long pong$offset()Offset for field:void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
-
pong
Getter for field:void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
-
pong
Setter for field:void (*pong)(struct wl_client *, struct wl_resource *, uint32_t)
-
move$layout
Layout for field:void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
-
move$offset
public static final long move$offset()Offset for field:void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
-
move
Getter for field:void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
-
move
Setter for field:void (*move)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t)
-
resize$layout
Layout for field:void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
-
resize$offset
public static final long resize$offset()Offset for field:void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
-
resize
Getter for field:void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
-
resize
Setter for field:void (*resize)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, uint32_t)
-
set_toplevel$layout
Layout for field:void (*set_toplevel)(struct wl_client *, struct wl_resource *)
-
set_toplevel$offset
public static final long set_toplevel$offset()Offset for field:void (*set_toplevel)(struct wl_client *, struct wl_resource *)
-
set_toplevel
Getter for field:void (*set_toplevel)(struct wl_client *, struct wl_resource *)
-
set_toplevel
Setter for field:void (*set_toplevel)(struct wl_client *, struct wl_resource *)
-
set_transient$layout
Layout for field:void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
-
set_transient$offset
public static final long set_transient$offset()Offset for field:void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
-
set_transient
Getter for field:void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
-
set_transient
Setter for field:void (*set_transient)(struct wl_client *, struct wl_resource *, struct wl_resource *, int32_t, int32_t, uint32_t)
-
set_fullscreen$layout
Layout for field:void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
-
set_fullscreen$offset
public static final long set_fullscreen$offset()Offset for field:void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
-
set_fullscreen
Getter for field:void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
-
set_fullscreen
Setter for field:void (*set_fullscreen)(struct wl_client *, struct wl_resource *, uint32_t, uint32_t, struct wl_resource *)
-
set_popup$layout
Layout for field:void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
-
set_popup$offset
public static final long set_popup$offset()Offset for field:void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
-
set_popup
Getter for field:void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
-
set_popup
Setter for field:void (*set_popup)(struct wl_client *, struct wl_resource *, struct wl_resource *, uint32_t, struct wl_resource *, int32_t, int32_t, uint32_t)
-
set_maximized$layout
Layout for field:void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_maximized$offset
public static final long set_maximized$offset()Offset for field:void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_maximized
Getter for field:void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_maximized
Setter for field:void (*set_maximized)(struct wl_client *, struct wl_resource *, struct wl_resource *)
-
set_title$layout
Layout for field:void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
-
set_title$offset
public static final long set_title$offset()Offset for field:void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
-
set_title
Getter for field:void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
-
set_title
Setter for field:void (*set_title)(struct wl_client *, struct wl_resource *, const char *)
-
set_class$layout
Layout for field:void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
-
set_class$offset
public static final long set_class$offset()Offset for field:void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
-
set_class
Getter for field:void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
-
set_class
Setter for field:void (*set_class)(struct wl_client *, struct wl_resource *, const char *)
-
asSlice
Obtains a slice ofarrayParam
which selects the array element atindex
. The returned segment has addressarrayParam.address() + index * layout().byteSize()
-
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()
usingallocator
-
allocateArray
Allocate an array of sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-