Function

GObject-2.0GObjectparam_spec_long

  • Creates a new GObject.ParamSpecLong instance specifying a G_TYPE_LONG 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

    • minimum: number

      minimum value for the property specified

    • maximum: number

      maximum value for the property specified

    • default_value: number

      default value for the property specified

    • flags: ParamFlags

      flags for the property specified

    Returns GObject.ParamSpec

    a newly created parameter specification