Class (GI Struct)

GObject-2.0GObjectTypeValueTable

  • '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 GObject.TypeValueTable provides the functions required by the GObject.Value implementation, to serve as a container for values of a type.

Index

Constructors

Properties

collect_format: string
collect_value: TypeValueCollectFunc
lcopy_format: string
lcopy_value: TypeValueLCopyFunc
value_copy: TypeValueCopyFunc
value_free: TypeValueFreeFunc
value_init: TypeValueInitFunc
value_peek_pointer: TypeValuePeekPointerFunc