| Top |
| #define | GIMP_PARAM_NO_VALIDATE |
| #define | GIMP_PARAM_STATIC_STRINGS |
| #define | GIMP_PARAM_READABLE |
| #define | GIMP_PARAM_WRITABLE |
| #define | GIMP_PARAM_READWRITE |
| struct | GimpArray |
| struct | GimpStringArray |
| struct | GimpObjectArray |
GimpArray * gimp_array_new (const guint8 *data,gsize length,gboolean static_data);
GParamSpec * gimp_param_spec_array (const gchar *name,const gchar *nick,const gchar *blurb,GParamFlags flags);
Creates a new GimpParamSpecArray specifying a GIMP_TYPE_ARRAY property.
See g_param_spec_internal() for details on property names.
name |
Canonical name of the property specified. |
|
nick |
Nick name of the property specified. |
|
blurb |
Description of the property specified. |
|
flags |
Flags for the property specified. |
Since: 3.0
GParamSpec * gimp_param_spec_uint8_array (const gchar *name,const gchar *nick,const gchar *blurb,GParamFlags flags);
Creates a new GimpParamSpecUInt8Array specifying a GIMP_TYPE_UINT8_ARRAY property.
See g_param_spec_internal() for details on property names.
name |
Canonical name of the property specified. |
|
nick |
Nick name of the property specified. |
|
blurb |
Description of the property specified. |
|
flags |
Flags for the property specified. |
Since: 3.0
const guint8 *
gimp_value_get_uint8_array (const GValue *value);
Gets the contents of a GIMP_TYPE_UINT8_ARRAY GValue
guint8 *
gimp_value_dup_uint8_array (const GValue *value);
Gets the contents of a GIMP_TYPE_UINT8_ARRAY GValue
void gimp_value_set_uint8_array (GValue *value,const guint8 *data,gsize length);
Sets the contents of value
to data
.
void gimp_value_set_static_uint8_array (GValue *value,const guint8 *data,gsize length);
Sets the contents of value
to data
, without copying the data.
void gimp_value_take_uint8_array (GValue *value,guint8 *data,gsize length);
Sets the contents of value
to data
, and takes ownership of data
.
GParamSpec * gimp_param_spec_int16_array (const gchar *name,const gchar *nick,const gchar *blurb,GParamFlags flags);
Creates a new GimpParamSpecInt16Array specifying a GIMP_TYPE_INT16_ARRAY property.
See g_param_spec_internal() for details on property names.
name |
Canonical name of the property specified. |
|
nick |
Nick name of the property specified. |
|
blurb |
Description of the property specified. |
|
flags |
Flags for the property specified. |
Since: 3.0
const gint16 *
gimp_value_get_int16_array (const GValue *value);
Gets the contents of a GIMP_TYPE_INT16_ARRAY GValue
gint16 *
gimp_value_dup_int16_array (const GValue *value);
Gets the contents of a GIMP_TYPE_INT16_ARRAY GValue
void gimp_value_set_int16_array (GValue *value,const gint16 *data,gsize length);
Sets the contents of value
to data
.
void gimp_value_set_static_int16_array (GValue *value,const gint16 *data,gsize length);
Sets the contents of value
to data
, without copying the data.
void gimp_value_take_int16_array (GValue *value,gint16 *data,gsize length);
Sets the contents of value
to data
, and takes ownership of data
.
GParamSpec * gimp_param_spec_int32_array (const gchar *name,const gchar *nick,const gchar *blurb,GParamFlags flags);
Creates a new GimpParamSpecInt32Array specifying a GIMP_TYPE_INT32_ARRAY property.
See g_param_spec_internal() for details on property names.
name |
Canonical name of the property specified. |
|
nick |
Nick name of the property specified. |
|
blurb |
Description of the property specified. |
|
flags |
Flags for the property specified. |
Since: 3.0
const gint32 *
gimp_value_get_int32_array (const GValue *value);
Gets the contents of a GIMP_TYPE_INT32_ARRAY GValue
gint32 *
gimp_value_dup_int32_array (const GValue *value);
Gets the contents of a GIMP_TYPE_INT32_ARRAY GValue
void gimp_value_set_int32_array (GValue *value,const gint32 *data,gsize length);
Sets the contents of value
to data
.
void gimp_value_set_static_int32_array (GValue *value,const gint32 *data,gsize length);
Sets the contents of value
to data
, without copying the data.
void gimp_value_take_int32_array (GValue *value,gint32 *data,gsize length);
Sets the contents of value
to data
, and takes ownership of data
.
GParamSpec * gimp_param_spec_float_array (const gchar *name,const gchar *nick,const gchar *blurb,GParamFlags flags);
Creates a new GimpParamSpecFloatArray specifying a GIMP_TYPE_FLOAT_ARRAY property.
See g_param_spec_internal() for details on property names.
name |
Canonical name of the property specified. |
|
nick |
Nick name of the property specified. |
|
blurb |
Description of the property specified. |
|
flags |
Flags for the property specified. |
Since: 3.0
const gdouble *
gimp_value_get_float_array (const GValue *value);
Gets the contents of a GIMP_TYPE_FLOAT_ARRAY GValue
gdouble *
gimp_value_dup_float_array (const GValue *value);
Gets the contents of a GIMP_TYPE_FLOAT_ARRAY GValue
void gimp_value_set_float_array (GValue *value,const gdouble *data,gsize length);
Sets the contents of value
to data
.
void gimp_value_set_static_float_array (GValue *value,const gdouble *data,gsize length);
Sets the contents of value
to data
, without copying the data.
void gimp_value_take_float_array (GValue *value,gdouble *data,gsize length);
Sets the contents of value
to data
, and takes ownership of data
.
GimpStringArray * gimp_string_array_new (const gchar **data,gsize length,gboolean static_data);
Creates a new GimpStringArray containing string data, of size length
.
If static_data
is TRUE, data
is used as-is.
If static_data
is FALSE, the string and array will be re-allocated,
hence you are expected to free your input data after.
GimpStringArray *
gimp_string_array_copy (const GimpStringArray *array);
Creates a new GimpStringArray containing a deep copy of array
.
GParamSpec * gimp_param_spec_string_array (const gchar *name,const gchar *nick,const gchar *blurb,GParamFlags flags);
Creates a new GimpParamSpecStringArray specifying a GIMP_TYPE_STRING_ARRAY property.
See g_param_spec_internal() for details on property names.
name |
Canonical name of the property specified. |
|
nick |
Nick name of the property specified. |
|
blurb |
Description of the property specified. |
|
flags |
Flags for the property specified. |
Since: 3.0
void gimp_value_set_string_array (GValue *value,const gchar **data,gsize length);
Sets the contents of value
to data
.
void gimp_value_set_static_string_array (GValue *value,const gchar **data,gsize length);
Sets the contents of value
to data
, without copying the data.
void gimp_value_take_string_array (GValue *value,gchar **data,gsize length);
Sets the contents of value
to data
, and takes ownership of data
.
GParamSpec * gimp_param_spec_rgb_array (const gchar *name,const gchar *nick,const gchar *blurb,GParamFlags flags);
Creates a new GimpParamSpecRGBArray specifying a GIMP_TYPE_RGB_ARRAY property.
See g_param_spec_internal() for details on property names.
name |
Canonical name of the property specified. |
|
nick |
Nick name of the property specified. |
|
blurb |
Description of the property specified. |
|
flags |
Flags for the property specified. |
Since: 3.0
const GimpRGB *
gimp_value_get_rgb_array (const GValue *value);
Gets the contents of a GIMP_TYPE_RGB_ARRAY GValue
GimpRGB *
gimp_value_dup_rgb_array (const GValue *value);
Gets the contents of a GIMP_TYPE_RGB_ARRAY GValue
void gimp_value_set_rgb_array (GValue *value,const GimpRGB *data,gsize length);
Sets the contents of value
to data
.
void gimp_value_set_static_rgb_array (GValue *value,const GimpRGB *data,gsize length);
Sets the contents of value
to data
, without copying the data.
void gimp_value_take_rgb_array (GValue *value,GimpRGB *data,gsize length);
Sets the contents of value
to data
, and takes ownership of data
.
GimpObjectArray * gimp_object_array_new (GType object_type,GObject **data,gsize length,gboolean static_data);
Creates a new GimpObjectArray containing object pointers, of size length
.
If static_data
is TRUE, data
is used as-is.
If static_data
is FALSE, the object and array will be re-allocated,
hence you are expected to free your input data after.
GimpObjectArray *
gimp_object_array_copy (const GimpObjectArray *array);
Creates a new GimpObjectArray containing a deep copy of array
.
GParamSpec * gimp_param_spec_object_array (const gchar *name,const gchar *nick,const gchar *blurb,GType object_type,GParamFlags flags);
Creates a new GimpParamSpecObjectArray specifying a GIMP_TYPE_OBJECT_ARRAY property.
See g_param_spec_internal() for details on property names.
name |
Canonical name of the property specified. |
|
nick |
Nick name of the property specified. |
|
blurb |
Description of the property specified. |
|
object_type |
GType of the array's elements. |
|
flags |
Flags for the property specified. |
Since: 3.0
void gimp_value_set_object_array (GValue *value,GType object_type,GObject **data,gsize length);
Sets the contents of value
to data
.
void gimp_value_set_static_object_array (GValue *value,GType object_type,GObject **data,gsize length);
Sets the contents of value
to data
, without copying the data.
struct GimpStringArray {
gchar **data;
gsize length;
gboolean static_data;
};