Vips::GValue
Class to wrap LibVips::GValue in a Crystal class.
This class wraps LibVips::GValue in a convenient interface. You can use
instances of this class to get and set GObject properties.
On construction, LibVips::GValue is all zero (empty). You can pass it to
a get function to have it filled by GObject, or use initialize(gvalue) to
set a type, set to set a value, then use it to set an object property.
Constants
The fundamental type corresponding to gboolean
The fundamental type corresponding to gdouble
The fundamental type from which all enumeration types are derived
The fundamental type from which all flags types are derived
The fundamental type corresponding to gint
The fundamental type for GObject
The fundamental type corresponding to null-terminated C strings.
The fundamental type corresponding to guint64
The fundamental type for VipsArrayDouble
The fundamental type for VipsArrayImage
The fundamental type for VipsArrayInt
The fundamental type for VipsBandFormat
The fundamental type for VipsBlendMode
The fundamental type for VipsBlob
The fundamental type for VipsImage
The fundamental type for VipsRefString
The fundamental type for VipsSource
Constructors
Instance methods
Set a GValue The value is converted to the type of the GValue, if possible, and assigned
Set the type of a GValue GValues have a set type, fixed at creation time. Use this method to set the type of GValue before assiging to it.
GTypes are 32 or 64-bit integers (depending on platform).