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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClassHandler
int
the size of the class structureint
the size of the instance structurelong
the #GType value of the typethe name of the typevoid
setFieldClassSize
(int class_size) the size of the class structurevoid
setFieldInstanceSize
(int instance_size) the size of the instance structurevoid
setFieldType
(long type) the #GType value of the typevoid
setFieldTypeName
(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, unregisterCallbacks
Methods inherited from class ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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
-