GObject.param_spec_gtype
function param_spec_gtype(name: String, nick: String, blurb: String, is_a_type: GObject.Type, flags: GObject.ParamFlags): GObject.ParamSpec { // Gjs wrapper for g_param_spec_gtype() }
Creates a new GObject.ParamSpecGType instance specifying a %G_TYPE_GTYPE property.
See GObject.ParamSpec.internal for details on property names.
Since 2.10
- name
canonical name of the property specified
- nick
nick name for the property specified
- blurb
description of the property specified
- is_a_type
a GLib.Type whose subtypes are allowed as values of the property (use %G_TYPE_NONE for any type)
- flags
flags for the property specified
- Returns
a newly created parameter specification