ParamFlags

class ParamFlags

Through the ParamFlags flag values, certain aspects of parameters can be configured.

See also: PARAM_STATIC_STRINGS

Fields

class ParamFlags
CONSTRUCT

The parameter will be set upon object construction

CONSTRUCT_ONLY

The parameter can only be set upon object construction

DEPRECATED

The parameter is deprecated and will be removed in a future version. A warning will be generated if it is used while running with G_ENABLE_DIAGNOSTIC=1. Since 2.26

EXPLICIT_NOTIFY

Calls to set_property() for this property will not automatically result in a “notify” signal being emitted: the implementation must call notify() themselves in case the property actually changes. Since: 2.42.

LAX_VALIDATION

Upon parameter conversion (see param_value_convert()) strict validation is not required

PRIVATE

Internal

READABLE

The parameter is readable

READWRITE

Alias for READABLE | WRITABLE

STATIC_BLURB

The string used as blurb when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8

STATIC_NAME

The string used as name when constructing the parameter is guaranteed to remain valid and unmodified for the lifetime of the parameter. Since 2.8

STATIC_NICK

The string used as nick when constructing the parameter is guaranteed to remain valid and unmmodified for the lifetime of the parameter. Since 2.8

WRITABLE

The parameter is writable