Function
Gimpparam_spec_memsize
Declaration [src]
GParamSpec*
gimp_param_spec_memsize (
const gchar* name,
const gchar* nick,
const gchar* blurb,
guint64 minimum,
guint64 maximum,
guint64 default_value,
GParamFlags flags
)
Description [src]
Creates a param spec to hold a memory size value.
See g_param_spec_internal()
for more information.
Available since: | 2.4 |
Parameters
name |
const gchar* |
Canonical name of the param. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
nick |
const gchar* |
Nickname of the param. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
blurb |
const gchar* |
Brief description of param. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
minimum |
guint64 |
Smallest allowed value of the parameter. |
|
maximum |
guint64 |
Largest allowed value of the parameter. |
|
default_value |
guint64 |
Value to use if none is assigned. |
|
flags |
GParamFlags |
A combination of |
Return value
Returns: | GParamSpec |
A newly allocated |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |