Function

Gio-2.0Gioio_extension_point_implement

  • Registers type as extension for the extension point with name extension_point_name.

    If type has already been registered as an extension for this extension point, the existing Gio.IOExtension object is returned.

    Parameters

    • extension_point_name: string

      the name of the extension point

    • type: GType

      the GObject.GType to register as extension

    • extension_name: string

      the name for the extension

    • priority: number

      the priority for the extension

    Returns IOExtension

    a Gio.IOExtension object for GObject.GType