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 interface
static interface
static interface
static interface
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final String
A string format describing how to collect the contents of
this value bit-by-bit.static final String
static final String
static final String
Function to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)
static final String
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)
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic ClassHandler
A string format describing how to collect the contents of
this value bit-by-bit.ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueCopyFunc
ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueFreeFunc
ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValueInitFunc
Function to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)
ch.bailu.gtk.gobject.JnaTypeValueTable.OnTypeValuePeekPointerFunc
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)
static TypeValueTable
peek
(long type) Returns the location of the #GTypeValueTable associated with @type.void
setFieldCollectFormat
(Str collect_format) A string format describing how to collect the contents of
this value bit-by-bit.void
setFieldValueCopy
(TypeValueTable.OnTypeValueCopyFunc value_copy) void
setFieldValueFree
(TypeValueTable.OnTypeValueFreeFunc value_free) void
setFieldValueInit
(TypeValueTable.OnTypeValueInitFunc value_init) Function to initialize a GValue
SeeTypeValueTable.OnTypeValueInitFunc.onTypeValueInitFunc(ch.bailu.gtk.lib.handler.CallbackHandler, ch.bailu.gtk.gobject.Value)
void
setFieldValuePeekPointer
(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, unregisterCallbacks
Von Klasse geerbte Methoden ch.bailu.gtk.type.Type
asCPointer, asCPointer, asCPointerNotNull, asJnaPointer, asJnaPointer, asPointer, asPointer, cast, cast, throwIfNull
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von 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
-