Enum Class BuilderError

java.lang.Object
java.lang.Enum<BuilderError>
org.gnome.gtk.BuilderError
All Implemented Interfaces:
Serializable, Comparable<BuilderError>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum BuilderError extends Enum<BuilderError> implements Enumeration
Error codes that identify various errors that can occur while using GtkBuilder.
  • Enum Constant Details

    • INVALID_TYPE_FUNCTION

      public static final BuilderError INVALID_TYPE_FUNCTION
      A type-func attribute didn’t name a function that returns a GType.
    • UNHANDLED_TAG

      public static final BuilderError UNHANDLED_TAG
      The input contained a tag that GtkBuilder can’t handle.
    • MISSING_ATTRIBUTE

      public static final BuilderError MISSING_ATTRIBUTE
      An attribute that is required by GtkBuilder was missing.
    • INVALID_ATTRIBUTE

      public static final BuilderError INVALID_ATTRIBUTE
      GtkBuilder found an attribute that it doesn’t understand.
    • INVALID_TAG

      public static final BuilderError INVALID_TAG
      GtkBuilder found a tag that it doesn’t understand.
    • MISSING_PROPERTY_VALUE

      public static final BuilderError MISSING_PROPERTY_VALUE
      A required property value was missing.
    • INVALID_VALUE

      public static final BuilderError INVALID_VALUE
      GtkBuilder couldn’t parse some attribute value.
    • VERSION_MISMATCH

      public static final BuilderError VERSION_MISMATCH
      The input file requires a newer version of GTK.
    • DUPLICATE_ID

      public static final BuilderError DUPLICATE_ID
      An object id occurred twice.
    • OBJECT_TYPE_REFUSED

      public static final BuilderError OBJECT_TYPE_REFUSED
      A specified object type is of the same type or derived from the type of the composite class being extended with builder XML.
    • TEMPLATE_MISMATCH

      public static final BuilderError TEMPLATE_MISMATCH
      The wrong type was specified in a composite class’s template XML
    • INVALID_PROPERTY

      public static final BuilderError INVALID_PROPERTY
      The specified property is unknown for the object class.
    • INVALID_SIGNAL

      public static final BuilderError INVALID_SIGNAL
      The specified signal is unknown for the object class.
    • INVALID_ID

      public static final BuilderError INVALID_ID
      An object id is unknown.
    • INVALID_FUNCTION

      public static final BuilderError INVALID_FUNCTION
      A function could not be found. This often happens when symbols are set to be kept private. Compiling code with -rdynamic or using the gmodule-export-2.0 pkgconfig module can fix this problem.
  • Method Details

    • values

      public static BuilderError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BuilderError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static BuilderError of(int value)
      Create a new BuilderError for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static BuilderError of(MemorySegment address)
      Create a new BuilderError for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the BuilderError class.
      Returns:
      the GType
    • quark

      public static Quark quark()
      Registers an error quark for GtkBuilder errors.
      Returns:
      the error quark