Package org.gnome.gobject
Class TypeModule.TypeModuleClass
java.lang.Object
io.github.jwharm.javagi.base.ProxyInstance
org.gnome.gobject.TypeClass
org.gnome.gobject.GObject.ObjectClass
org.gnome.gobject.TypeModule.TypeModuleClass
- All Implemented Interfaces:
Proxy
- Enclosing class:
TypeModule
In order to implement dynamic loading of types based on
GTypeModule
,
the load
and unload
functions in GTypeModuleClass
must be implemented.-
Constructor Summary
ConstructorDescriptionAllocate a new TypeModuleClass.TypeModuleClass
(Arena arena) Allocate a new TypeModuleClass.TypeModuleClass
(MemorySegment address) Create a TypeModuleClass proxy instance for the provided memory address. -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
The memory layout of the native struct.void
overrideLoad
(Arena arena, Method method) Override virtual methodload
.void
overrideUnload
(Arena arena, Method method) Override virtual methodunload
.Methods inherited from class org.gnome.gobject.GObject.ObjectClass
findProperty, installProperties, installProperty, listProperties, overrideConstructed, overrideConstructor, overrideDispatchPropertiesChanged, overrideDispose, overrideFinalize, overrideGetProperty, overrideNotify, overrideProperty, overrideSetProperty, readFlags, readNConstructProperties, readNPspecs, readPdummy, readPspecs, writeFlags, writeNConstructProperties, writeNPspecs, writePdummy, writePspecs
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
-
TypeModuleClass
Create a TypeModuleClass proxy instance for the provided memory address.- Parameters:
address
- the memory address of the native object
-
TypeModuleClass
Allocate a new TypeModuleClass.- Parameters:
arena
- to control the memory allocation scope
-
TypeModuleClass
public TypeModuleClass()Allocate a new TypeModuleClass. The memory is allocated withArena.ofAuto()
.
-
-
Method Details
-
getMemoryLayout
The memory layout of the native struct.- Returns:
- the memory layout
-
overrideLoad
-
overrideUnload
-