GObject.param_spec_enum
function param_spec_enum(name: String, nick: String, blurb: String, enum_type: GObject.Type, default_value: Number(gint), flags: GObject.ParamFlags): GObject.ParamSpec { // Gjs wrapper for g_param_spec_enum() }
Creates a new GObject.ParamSpecEnum instance specifying a %G_TYPE_ENUM property.
See GObject.ParamSpec.internal for details on property names.
- name
canonical name of the property specified
- nick
nick name for the property specified
- blurb
description of the property specified
- enum_type
a GLib.Type derived from %G_TYPE_ENUM
- default_value
default value for the property specified
- flags
flags for the property specified
- Returns
a newly created parameter specification