Gegl.ParamSpec – gegl-0.3 Reference Manual
ParamSpec
Object Hierarchy:
Gegl.ParamSpec
Gegl.ParamSpec
Gegl.ParamSpec
Description:
[
CCode
( cname =
"GeglParamSpecEnum"
, has_type_id =
false
) ]
[
GIR
( name =
"ParamSpecEnum"
) ]
public
struct
ParamSpec
Namespace:
Gegl
Package:
gegl-0.3
Content:
Static methods:
public
static
ParamSpec
@enum
(
string
name,
string
nick,
string
blurb,
Type
enum_type,
int
default_value,
ParamFlags
flags)
Creates a new
ParamSpec
instance.
public
static
ParamSpec
audio_fragment
(
string
name,
string
nick,
string
blurb,
ParamFlags
flags)
Creates a new
ParamSpec
instance specifying a
AudioFragment
property.
public
static
ParamSpec
color
(
string
name,
string
nick,
string
blurb,
Color
default_color,
ParamFlags
flags)
Creates a new
ParamSpec
instance specifying a
Color
property.
public
static
ParamSpec
color_from_string
(
string
name,
string
nick,
string
blurb,
string
default_color_string,
ParamFlags
flags)
Creates a new
ParamSpec
instance specifying a
Color
property.
public
static
unowned
Color
color_get_default
(
ParamSpec
self)
Get the default color value of the param spec
public
static
ParamSpec
curve
(
string
name,
string
nick,
string
blurb,
Curve
default_curve,
ParamFlags
flags)
Creates a new
ParamSpec
instance specifying a
Curve
property.
public
static
ParamSpec
double
(
string
name,
string
nick,
string
blurb,
double
minimum,
double
maximum,
double
default_value,
double
ui_minimum,
double
ui_maximum,
double
ui_gamma,
ParamFlags
flags)
Creates a new
ParamSpecDouble
instance.
public
static
ParamSpec
file_path
(
string
name,
string
nick,
string
blurb,
bool
no_validate,
bool
null_ok,
string
default_value,
ParamFlags
flags)
Creates a new
ParamSpecFilePath
instance.
public
static
unowned
string
get_property_key
(
ParamSpec
pspec,
string
key_name)
public
static
ParamSpec
int
(
string
name,
string
nick,
string
blurb,
int
minimum,
int
maximum,
int
default_value,
int
ui_minimum,
int
ui_maximum,
double
ui_gamma,
ParamFlags
flags)
Creates a new
ParamSpecInt
instance.
public
static
ParamSpec
path
(
string
name,
string
nick,
string
blurb,
Path
default_path,
ParamFlags
flags)
Creates a new
ParamSpec
instance specifying a
Path
property.
public
static
ParamSpec
seed
(
string
name,
string
nick,
string
blurb,
ParamFlags
flags)
Creates a new
ParamSpecSeed
instance specifying an integer random seed.
public
static
void
set_property_key
(
ParamSpec
pspec,
string
key_name,
string
value)
public
static
ParamSpec
string
(
string
name,
string
nick,
string
blurb,
bool
no_validate,
bool
null_ok,
string
default_value,
ParamFlags
flags)
Creates a new
ParamSpecString
instance.
public
static
ParamSpec
uri
(
string
name,
string
nick,
string
blurb,
bool
no_validate,
bool
null_ok,
string
default_value,
ParamFlags
flags)
Creates a new
ParamSpecUri
instance.
Methods:
public
void
exclude_value
(
int
value)
Fields:
public
unowned
ParamSpecEnum
parent_instance
public
unowned
SList
<
void
*>
excluded_values
2022 vala-language.org