Gio.IOExtensionPoint.implement

function implement(extension_point_name: String, type: GObject.Type, extension_name: String, priority: Number(gint)): Gio.IOExtension {
    // Gjs wrapper for g_io_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.

extension_point_name

the name of the extension point

type

the GLib.Type to register as extension

extension_name

the name for the extension

priority

the priority for the extension

Returns

a Gio.IOExtension object for GLib.Type