Package ch.bailu.gtk.type.gobject
Class TypeSystem
java.lang.Object
ch.bailu.gtk.type.gobject.TypeSystem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidensure(long typeID) static TypeSystem.TypeSizegetTypeSize(long type) static PointerContainernewInstance(long type, TypeSystem.Property... properties) static longregisterClass(long parentType, Str typeName, int instanceSize, Gobject.OnClassInitFunc classInit, Gobject.OnInstanceInitFunc instanceInit) static longregisterClass(long parentType, Class<? extends Object> _class, int instanceSize, Gobject.OnClassInitFunc classInit, Gobject.OnInstanceInitFunc instanceInit)
-
Field Details
-
GTYPE_NONE
public static final long GTYPE_NONE- See Also:
-
-
Constructor Details
-
TypeSystem
public TypeSystem()
-
-
Method Details
-
registerClass
public static long registerClass(long parentType, Class<? extends Object> _class, int instanceSize, Gobject.OnClassInitFunc classInit, Gobject.OnInstanceInitFunc instanceInit) -
registerClass
public static long registerClass(long parentType, Str typeName, int instanceSize, Gobject.OnClassInitFunc classInit, Gobject.OnInstanceInitFunc instanceInit) -
ensure
public static void ensure(long typeID) -
newInstance
-
getTypeSize
-