org.purejava.appindicator.constants$1958 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libappindicator-gtk3-java-full Show documentation
Show all versions of libappindicator-gtk3-java-full Show documentation
Java bindings for libappindicator-gtk3 in 100% pure Java
// Generated by jextract
package org.purejava.appindicator;
import java.lang.foreign.MemoryLayout;
import java.lang.foreign.StructLayout;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.VarHandle;
import static java.lang.foreign.ValueLayout.JAVA_INT;
import static java.lang.foreign.ValueLayout.JAVA_SHORT;
final class constants$1958 {
// Suppresses default constructor, ensuring non-instantiability.
private constants$1958() {}
static final MethodHandle const$0 = RuntimeHelper.downcallHandle(
"gtk_accel_group_query",
constants$215.const$2
);
static final StructLayout const$1 = MemoryLayout.structLayout(
MemoryLayout.structLayout(
JAVA_INT.withName("accel_key"),
JAVA_INT.withName("accel_mods"),
MemoryLayout.paddingLayout(4)
).withName("key"),
MemoryLayout.paddingLayout(4),
RuntimeHelper.POINTER.withName("closure"),
JAVA_INT.withName("accel_path_quark"),
MemoryLayout.paddingLayout(4)
).withName("_GtkAccelGroupEntry");
static final VarHandle const$2 = constants$1958.const$1.varHandle(MemoryLayout.PathElement.groupElement("closure"));
static final VarHandle const$3 = constants$1958.const$1.varHandle(MemoryLayout.PathElement.groupElement("accel_path_quark"));
static final StructLayout const$4 = MemoryLayout.structLayout(
JAVA_SHORT.withName("left"),
JAVA_SHORT.withName("right"),
JAVA_SHORT.withName("top"),
JAVA_SHORT.withName("bottom")
).withName("_GtkBorder");
static final VarHandle const$5 = constants$1958.const$4.varHandle(MemoryLayout.PathElement.groupElement("left"));
}