org.purejava.appindicator.constants$3333 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_LONG;
final class constants$3333 {
// Suppresses default constructor, ensuring non-instantiability.
private constants$3333() {}
static final MethodHandle const$0 = RuntimeHelper.downcallHandle(
"gtk_recent_action_new_for_manager",
constants$330.const$5
);
static final MethodHandle const$1 = RuntimeHelper.downcallHandle(
"gtk_recent_action_get_show_numbers",
constants$10.const$5
);
static final MethodHandle const$2 = RuntimeHelper.downcallHandle(
"gtk_recent_action_set_show_numbers",
constants$40.const$2
);
static final StructLayout const$3 = MemoryLayout.structLayout(
MemoryLayout.structLayout(
MemoryLayout.structLayout(
RuntimeHelper.POINTER.withName("g_class")
).withName("g_type_instance"),
JAVA_INT.withName("ref_count"),
MemoryLayout.paddingLayout(4),
RuntimeHelper.POINTER.withName("qdata")
).withName("parent_instance"),
RuntimeHelper.POINTER.withName("priv")
).withName("_GtkStatusIcon");
static final VarHandle const$4 = constants$3333.const$3.varHandle(MemoryLayout.PathElement.groupElement("priv"));
static final StructLayout const$5 = MemoryLayout.structLayout(
MemoryLayout.structLayout(
MemoryLayout.structLayout(
JAVA_LONG.withName("g_type")
).withName("g_type_class"),
RuntimeHelper.POINTER.withName("construct_properties"),
RuntimeHelper.POINTER.withName("constructor"),
RuntimeHelper.POINTER.withName("set_property"),
RuntimeHelper.POINTER.withName("get_property"),
RuntimeHelper.POINTER.withName("dispose"),
RuntimeHelper.POINTER.withName("finalize"),
RuntimeHelper.POINTER.withName("dispatch_properties_changed"),
RuntimeHelper.POINTER.withName("notify"),
RuntimeHelper.POINTER.withName("constructed"),
JAVA_LONG.withName("flags"),
JAVA_LONG.withName("n_construct_properties"),
RuntimeHelper.POINTER.withName("pspecs"),
JAVA_LONG.withName("n_pspecs"),
MemoryLayout.sequenceLayout(3, RuntimeHelper.POINTER).withName("pdummy")
).withName("parent_class"),
RuntimeHelper.POINTER.withName("activate"),
RuntimeHelper.POINTER.withName("popup_menu"),
RuntimeHelper.POINTER.withName("size_changed"),
RuntimeHelper.POINTER.withName("button_press_event"),
RuntimeHelper.POINTER.withName("button_release_event"),
RuntimeHelper.POINTER.withName("scroll_event"),
RuntimeHelper.POINTER.withName("query_tooltip"),
RuntimeHelper.POINTER.withName("__gtk_reserved1"),
RuntimeHelper.POINTER.withName("__gtk_reserved2"),
RuntimeHelper.POINTER.withName("__gtk_reserved3"),
RuntimeHelper.POINTER.withName("__gtk_reserved4")
).withName("_GtkStatusIconClass");
}