Class ParamSpec.ParamSpecClass

All Implemented Interfaces:
Proxy
Enclosing class:
ParamSpec

public static class ParamSpec.ParamSpecClass extends TypeClass
The class structure for the GParamSpec type. Normally, GParamSpec classes are filled by g_param_type_register_static().
  • Constructor Details

    • ParamSpecClass

      public ParamSpecClass(MemorySegment address)
      Create a ParamSpecClass proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • readValueType

      public Type readValueType()
      Read the value of the field value_type.
      Returns:
      The value of the field value_type
    • writeValueType

      public void writeValueType(Type valueType)
      Write a value in the field value_type.
      Parameters:
      valueType - The new value for the field value_type
    • overrideFinalize

      public void overrideFinalize(Arena arena, @Nullable Method method)
      Override virtual method finalize.
      Parameters:
      method - the method to invoke
    • overrideValueSetDefault

      public void overrideValueSetDefault(Arena arena, @Nullable Method method)
      Override virtual method value_set_default.
      Parameters:
      method - the method to invoke
    • overrideValueValidate

      public void overrideValueValidate(Arena arena, @Nullable Method method)
      Override virtual method value_validate.
      Parameters:
      method - the method to invoke
    • overrideValuesCmp

      public void overrideValuesCmp(Arena arena, @Nullable Method method)
      Override virtual method values_cmp.
      Parameters:
      method - the method to invoke
    • overrideValueIsValid

      public void overrideValueIsValid(Arena arena, @Nullable Method method)
      Override virtual method value_is_valid.
      Parameters:
      method - the method to invoke
    • readDummy

      public @Nullable MemorySegment @Nullable [] readDummy()
      Read the value of the field dummy.
      Returns:
      The value of the field dummy
    • writeDummy

      public void writeDummy(@Nullable MemorySegment @Nullable [] dummy, Arena _arena)
      Write a value in the field dummy.
      Parameters:
      dummy - The new value for the field dummy