Function

GObject-2.0GObjectparam_spec_gtypeSince 2.10

  • Creates a new GObject.ParamSpecGType instance specifying a G_TYPE_GTYPE property.

    See g_param_spec_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

    • is_a_type: GType

      a GObject.GType whose subtypes are allowed as values of the property (use G_TYPE_NONE for any type)

    • flags: ParamFlags

      flags for the property specified

    Returns GObject.ParamSpec

    a newly created parameter specification

    2.10