RAGS - v1.10.0
    Preparing search index...

    Variable pspec

    pspec: (
        name: string,
        type?: PspecType,
        handle?: PspecFlag,
    ) => ParamSpec<unknown>

    Type Declaration

      • (name: string, type?: PspecType, handle?: PspecFlag): ParamSpec<unknown>
      • Creates a GObject.ParamSpec for a property.

        Parameters

        • name: string

          The property name in kebab-case

        • type: PspecType = 'jsobject'

          The property type (defaults to 'jsobject')

        • handle: PspecFlag = 'r'

          Access flag: 'r', 'w', or 'rw' (defaults to 'r')

        Returns ParamSpec<unknown>

        A GObject.ParamSpec instance