Package io.github.jwharm.javagi.gobject.annotations
package io.github.jwharm.javagi.gobject.annotations
Java-GI annotations that are useful when registering Java objects as new
GTypes in the GObject type system.
-
ClassDescriptionThe
@Flags
annotation is used byTypes.register(java.lang.Class<?>)
to register a Java enum as a GObject Flags type.The@Property
annotation is used to indicate that a method (or pair of methods) is a property, to set a property name and flags, or to specify that a pair of get- and set-methods are not properties (usingskip=false
).Register the annotated type as a GObject signal on the enclosing class.