paramSpecEnum

Creates a new #GParamSpecEnum instance specifying a G_TYPE_ENUM property.

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

Parameters

name string

canonical name of the property specified

nick string

nick name for the property specified

blurb string

description of the property specified

enumType gobject.types.GType

a #GType derived from G_TYPE_ENUM

defaultValue int

default value for the property specified

flags gobject.types.ParamFlags

flags for the property specified

Return Value

Type: gobject.param_spec.ParamSpec

a newly created parameter specification