Package ch.bailu.gtk.gobject
Class TypeQuery
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.TypeQuery
- All Implemented Interfaces:
PointerInterface
A structure holding information for a specific type.
See also: g_type_query()
See also: g_type_query()
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandlerintthe size of the class structureintthe size of the instance structurelongthe #GType value of the typethe name of the typevoidsetFieldClassSize(int class_size) the size of the class structurevoidsetFieldInstanceSize(int instance_size) the size of the instance structurevoidsetFieldType(long type) the #GType value of the typevoidsetFieldTypeName(Str type_name) the name of the typeMethods inherited from class ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksMethods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Field Details
-
TYPE
the #GType value of the type- See Also:
-
TYPE_NAME
the name of the type- See Also:
-
CLASS_SIZE
the size of the class structure- See Also:
-
INSTANCE_SIZE
the size of the instance structure- See Also:
-
-
Constructor Details
-
TypeQuery
-
TypeQuery
public TypeQuery()
-
-
Method Details
-
getClassHandler
-
setFieldType
public void setFieldType(long type) the #GType value of the type -
getFieldType
public long getFieldType()the #GType value of the type -
setFieldTypeName
the name of the type -
getFieldTypeName
the name of the type -
setFieldClassSize
public void setFieldClassSize(int class_size) the size of the class structure -
getFieldClassSize
public int getFieldClassSize()the size of the class structure -
setFieldInstanceSize
public void setFieldInstanceSize(int instance_size) the size of the instance structure -
getFieldInstanceSize
public int getFieldInstanceSize()the size of the instance structure
-