Package: gobject

Function gobject:param-spec-enum

Lambda List

gobject:param-spec-enum (name nick blurb gtype default flags)

Arguments

name -- a string for the canonical name
nick -- a string for the nick name
blurb -- a string for the description
gtype -- a g:type-t type ID derived from the "GEnum" type
default -- an integer for the default value
flags -- a g:param-flags value

Return Value

The newly created g:param-spec-enum parameter specification.

Details

Creates a new parameter specification instance specifying a property of "GEnum" type. See the g:param-spec-internal function for details on property names.
 

See also

2025-09-27