Package ch.bailu.gtk.gobject
Klasse TypeValueTable
java.lang.Object
ch.bailu.gtk.type.Type
ch.bailu.gtk.type.Pointer
ch.bailu.gtk.type.Record
ch.bailu.gtk.gobject.TypeValueTable
- Alle implementierten Schnittstellen:
PointerInterface
- `'i'`: Integers, passed as `collect_values[].v_int`
- `'l'`: Longs, passed as `collect_values[].v_long`
- `'d'`: Doubles, passed as `collect_values[].v_double`
- `'p'`: Pointers, passed as `collect_values[].v_pointer`
It should be noted that for variable argument list construction,
ANSI C promotes every type smaller than an integer to an int, and
floats to doubles. So for collection of short int or char, `'i'`
needs to be used, and for collection of floats `'d'`.
The #GTypeValueTable provides the functions required by the #GValue
implementation, to serve as a container for values of a type.
- `'l'`: Longs, passed as `collect_values[].v_long`
- `'d'`: Doubles, passed as `collect_values[].v_double`
- `'p'`: Pointers, passed as `collect_values[].v_pointer`
It should be noted that for variable argument list construction,
ANSI C promotes every type smaller than an integer to an int, and
floats to doubles. So for collection of short int or char, `'i'`
needs to be used, and for collection of floats `'d'`.
The #GTypeValueTable provides the functions required by the #GValue
implementation, to serve as a container for values of a type.
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic interfacestatic interfacestatic interfacestatic interface -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final StringA string format describing how to collect the contents of
this value bit-by-bit.static final Stringstatic final Stringstatic final StringFunction to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)static final StringFunction to peek the contents of a GValue if they fit
into a pointer
SeeTypeValueTable.OnTypeValuePeekPointerFunc.onTypeValuePeekPointerFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value) -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandlerA string format describing how to collect the contents of
this value bit-by-bit.ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueCopyFuncch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueFreeFuncch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueInitFuncFunction to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValuePeekPointerFuncFunction to peek the contents of a GValue if they fit
into a pointer
SeeTypeValueTable.OnTypeValuePeekPointerFunc.onTypeValuePeekPointerFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)static TypeValueTablepeek(long type) Returns the location of the #GTypeValueTable associated with @type.voidsetFieldCollectFormat(Str collect_format) A string format describing how to collect the contents of
this value bit-by-bit.voidsetFieldValueCopy(TypeValueTable.OnTypeValueCopyFunc value_copy) voidsetFieldValueFree(TypeValueTable.OnTypeValueFreeFunc value_free) voidsetFieldValueInit(TypeValueTable.OnTypeValueInitFunc value_init) Function to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)voidsetFieldValuePeekPointer(TypeValueTable.OnTypeValuePeekPointerFunc value_peek_pointer) Function to peek the contents of a GValue if they fit
into a pointer
SeeTypeValueTable.OnTypeValuePeekPointerFunc.onTypeValuePeekPointerFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)Von Klasse geerbte Methoden ch.bailu.gtk.type.Pointer
asCPointer, cast, connectSignal, disconnectSignals, disconnectSignals, equals, hashCode, throwIfNull, throwNullPointerException, toString, unregisterCallbacks, unregisterCallbacksVon Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNullVon Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitVon Schnittstelle geerbte Methoden ch.bailu.gtk.type.PointerInterface
asCPointerNotNull, asJnaPointer, asPointer, isNotNull, isNull
-
Felddetails
-
VALUE_INIT
Function to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)- Siehe auch:
-
VALUE_FREE
Function to free a GValue
SeeTypeValueTable.OnTypeValueFreeFunc.onTypeValueFreeFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)- Siehe auch:
-
VALUE_COPY
Function to copy a GValue
SeeTypeValueTable.OnTypeValueCopyFunc.onTypeValueCopyFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value, ch.bailu.gtk.gobject.Value)- Siehe auch:
-
VALUE_PEEK_POINTER
Function to peek the contents of a GValue if they fit
into a pointer
SeeTypeValueTable.OnTypeValuePeekPointerFunc.onTypeValuePeekPointerFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)- Siehe auch:
-
COLLECT_FORMAT
A string format describing how to collect the contents of
this value bit-by-bit. Each character in the format represents
an argument to be collected, and the characters themselves indicate
the type of the argument. Currently supported arguments are:- Siehe auch:
-
-
Konstruktordetails
-
TypeValueTable
-
-
Methodendetails
-
getClassHandler
-
setFieldValueInit
Function to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value) -
getFieldValueInit
public ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueInitFunc getFieldValueInit()Function to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value) -
setFieldValueFree
-
getFieldValueFree
public ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueFreeFunc getFieldValueFree() -
setFieldValueCopy
-
getFieldValueCopy
public ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueCopyFunc getFieldValueCopy() -
setFieldValuePeekPointer
Function to peek the contents of a GValue if they fit
into a pointer
SeeTypeValueTable.OnTypeValuePeekPointerFunc.onTypeValuePeekPointerFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value) -
getFieldValuePeekPointer
public ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValuePeekPointerFunc getFieldValuePeekPointer()Function to peek the contents of a GValue if they fit
into a pointer
SeeTypeValueTable.OnTypeValuePeekPointerFunc.onTypeValuePeekPointerFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value) -
setFieldCollectFormat
A string format describing how to collect the contents of
this value bit-by-bit. Each character in the format represents
an argument to be collected, and the characters themselves indicate
the type of the argument. Currently supported arguments are: -
getFieldCollectFormat
A string format describing how to collect the contents of
this value bit-by-bit. Each character in the format represents
an argument to be collected, and the characters themselves indicate
the type of the argument. Currently supported arguments are: -
peek
Returns the location of the #GTypeValueTable associated with @type.
Note that this function should only be used from source code
that implements or has internal knowledge of the implementation of
@type.- Parameter:
type- a #GType- Gibt zurück:
- location of the #GTypeValueTable associated with @type or %NULL if there is no #GTypeValueTable associated with @type
-