| Top |
| void | ipatch_param_install_property () |
| GParamSpec * | ipatch_param_find_property () |
| GParamSpec ** | ipatch_param_list_properties () |
| GParamSpec * | ipatch_param_set () |
| void | ipatch_param_set_valist () |
| void | ipatch_param_set_property () |
| void | ipatch_param_get () |
| void | ipatch_param_get_valist () |
| gboolean | ipatch_param_get_property () |
Extensions to standard GParamSpec include flags (for compact single bit data extensions) and GValue based extensions. An example of usage is the IPATCH_PARAM_UNIQUE flag which indicates a parameter that should be unique amongst sibling items and the "string-max-length" integer GValue which specifies a max length of a GParamSpecString parameter.
void
ipatch_param_install_property (GParamSpec *prop_spec);
Install a new GParamSpec property which can be used to extend existing GParamSpec types or define common parameters shared by all types. An example property is the "string-max-length" property which defines a max length for use with GParamSpecString properties.
GParamSpec *
ipatch_param_find_property (const char *name);
Lookup a GParamSpec property by name.
GParamSpec **
ipatch_param_list_properties (guint *n_properties);
Get a list of all registered GParamSpec properties.
GParamSpec * ipatch_param_set (GParamSpec *spec,const char *first_property_name,...);
Set extended parameter properties. Parameter properties are used to extend existing GParamSpec types. "string-max-length" is an example of an extended property, which is used for GParamSpecString parameters to define the max allowed length.
void ipatch_param_set_valist (GParamSpec *spec,const char *first_property_name,va_list args);
Like ipatch_param_set() but uses a va_list.
void ipatch_param_set_property (GParamSpec *spec,const char *property_name,const GValue *value);
Set a single extended parameter property of a GParamSpec.
void ipatch_param_get (GParamSpec *spec,const char *first_property_name,...);
Get extended parameter properties. Parameter properties are used to extend existing GParamSpec types. "string-max-length" is an example of an extended property, which is used for GParamSpecString parameters to define the max allowed length.
void ipatch_param_get_valist (GParamSpec *spec,const char *first_property_name,va_list args);
Like ipatch_param_get() but uses a va_list.
gboolean ipatch_param_get_property (GParamSpec *spec,const char *property_name,GValue *value);
Get a single extended parameter property from a GParamSpec.