Gjsify LogoGjsify Logo

#GIOExtensionPoint is an opaque data structure and can only be accessed using the following functions.

record

Hierarchy

  • IOExtensionPoint

Index

Constructors

Properties

name: string

Methods

  • Finds a #GIOExtension for an extension point by name.

    Parameters

    • name: string

      the name of the extension to get

    Returns IOExtension

  • Gets a list of all extensions that implement this extension point. The list is sorted by priority, beginning with the highest priority.

    Returns IOExtension[]

  • getRequiredType(): GType<unknown>
  • setRequiredType(type: GType<unknown>): void
  • Sets the required type for extension_point to type. All implementations must henceforth have this type.

    Parameters

    • type: GType<unknown>

      the #GType to require

    Returns void

  • implement(extensionPointName: string, type: GType<unknown>, extensionName: string, priority: number): IOExtension
  • 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 #GIOExtension object is returned.

    Parameters

    • extensionPointName: string

      the name of the extension point

    • type: GType<unknown>

      the #GType to register as extension

    • extensionName: string

      the name for the extension

    • priority: number

      the priority for the extension

    Returns IOExtension

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method