paramSpecEnum

fngobject.param_spec.ParamSpec paramSpecEnum(string name, string nick, string blurb, gobject.types.GType enumType, int defaultValue, gobject.types.ParamFlags flags)

Creates a new #GParamSpecEnum instance specifying a G_TYPE_ENUM property.

See [gobject.param_spec.ParamSpec.internal] for details on property names.

Parameters

namecanonical name of the property specified
nicknick name for the property specified
blurbdescription of the property specified
enumTypea #GType derived from G_TYPE_ENUM
defaultValuedefault value for the property specified
flagsflags for the property specified

Returns

a newly created parameter specification