Function
GObjectparam_spec_uchar
Declaration
GParamSpec*
g_param_spec_uchar (
const gchar* name,
const gchar* nick,
const gchar* blurb,
guint8 minimum,
guint8 maximum,
guint8 default_value,
GParamFlags flags
)
Parameters
name |
const gchar* |
Canonical name of the property specified. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
nick |
const gchar* |
Nick name for the property specified. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
blurb |
const gchar* |
Description of the property specified. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
minimum |
guint8 |
Minimum value for the property specified. |
|
maximum |
guint8 |
Maximum value for the property specified. |
|
default_value |
guint8 |
Default value for the property specified. |
|
flags |
GParamFlags |
Flags for the property specified. |
Return value
Returns: | GParamSpec |
A newly created parameter specification. |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |