Package org.gnome.gobject
Class ParamSpec.ParamSpecClass
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.ParamSpec.ParamSpecClass
-
Constructor Summary
ConstructorDescriptionAllocate a new ParamSpecClass.ParamSpecClass
(Arena arena) Allocate a new ParamSpecClass.ParamSpecClass
(MemorySegment address) Create a ParamSpecClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideFinalize
(Arena arena, Method method) Override virtual methodfinalize
.void
overrideValueIsValid
(Arena arena, Method method) Override virtual methodvalue_is_valid
.void
overrideValuesCmp
(Arena arena, Method method) Override virtual methodvalues_cmp
.void
overrideValueSetDefault
(Arena arena, Method method) Override virtual methodvalue_set_default
.void
overrideValueValidate
(Arena arena, Method method) Override virtual methodvalue_validate
.Read the value of the fielddummy
.Read the value of the fieldvalue_type
.void
writeDummy
(MemorySegment[] dummy, Arena _arena) Write a value in the fielddummy
.void
writeValueType
(Type valueType) Write a value in the fieldvalue_type
.Methods inherited from class org.gnome.gobject.TypeClass
addPrivate, adjustPrivateOffset, getInstancePrivateOffset, getPrivate, peek, peekParent, peekStatic, readGType, ref, unref, unrefUncached, writeGType
Methods inherited from class io.github.jwharm.javagi.base.ProxyInstance
equals, handle, hashCode
-
Constructor Details
-
ParamSpecClass
Create a ParamSpecClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
ParamSpecClass
Allocate a new ParamSpecClass.- Parameters:
arena
- to control the memory allocation scope
-
ParamSpecClass
public ParamSpecClass()Allocate a new ParamSpecClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
readValueType
Read the value of the fieldvalue_type
.- Returns:
- The value of the field
value_type
-
writeValueType
Write a value in the fieldvalue_type
.- Parameters:
valueType
- The new value for the fieldvalue_type
-
overrideFinalize
-
overrideValueSetDefault
-
overrideValueValidate
-
overrideValuesCmp
-
overrideValueIsValid
-
readDummy
Read the value of the fielddummy
.- Returns:
- The value of the field
dummy
-
writeDummy
Write a value in the fielddummy
.- Parameters:
dummy
- The new value for the fielddummy
_arena
- to control the memory allocation scope
-