GParamFlags

Through the GParamFlags flag values, certain aspects of parameters can be configured. G_PARAM_READABLE the parameter is readable G_PARAM_WRITABLE the parameter is writable G_PARAM_CONSTRUCT the parameter will be set upon object construction G_PARAM_CONSTRUCT_ONLY the parameter will only be set upon object construction G_PARAM_LAX_VALIDATION upon parameter conversion (see g_param_value_convert()) strict validation is not required G_PARAM_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 G_PARAM_PRIVATE internal G_PARAM_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 G_PARAM_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 G_PARAM_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.

Values

ValueMeaning
READABLE1 << 0
WRITABLE1 << 1
CONSTRUCT1 << 2
CONSTRUCT_ONLY1 << 3
LAX_VALIDATION1 << 4
STATIC_NAME1 << 5
PRIVATESTATIC_NAME
STATIC_NICK1 << 6
STATIC_BLURB1 << 7
DEPRECATED1 << 31

Meta

Since

2.26