class GObject::ValueArray
- GObject::ValueArray
- Reference
- Object
Overview
A #GValueArray contains an array of #GValue elements.
Defined in:
lib/gi-crystal/src/auto/g_object-2.0/value_array.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGObject::ValueArray, transfer : GICrystal::Transfer)
- .new(n_prealloced : UInt32) : self
- .new(n_values : UInt32? = nil, n_prealloced : UInt32? = nil)
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #append(value : _?) : GObject::ValueArray
- #copy : GObject::ValueArray
- #insert(index_ : UInt32, value : _?) : GObject::ValueArray
- #n_prealloced : UInt32
- #n_prealloced=(value : UInt32)
- #n_values : UInt32
- #n_values=(value : UInt32)
- #nth(index_ : UInt32) : GObject::Value
- #prepend(value : _?) : GObject::ValueArray
- #remove(index_ : UInt32) : GObject::ValueArray
- #sort(compare_func : GLib::CompareDataFunc, user_data : Pointer(Void)?) : GObject::ValueArray
- #to_unsafe
- #values : GObject::Value?
- #values!
Constructor Detail
Class Method Detail
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.