Package ch.bailu.gtk.type.gobject
Class TypeSystem
java.lang.Object
ch.bailu.gtk.type.gobject.TypeSystem
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
ensure
(long typeID) static TypeSystem.TypeSize
getTypeSize
(long type) static PointerContainer
newInstance
(long type, TypeSystem.Property... properties) static long
registerClass
(long parentType, Str typeName, int instanceSize, Gobject.OnClassInitFunc classInit, Gobject.OnInstanceInitFunc instanceInit) static long
registerClass
(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
-