IOExtensionPoint

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

Constructors

this
this(GIOExtensionPoint* gIOExtensionPoint, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getExtensionByName
IOExtension getExtensionByName(string name)

Finds a #GIOExtension for an extension point by name.

getExtensions
ListG getExtensions()

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

getIOExtensionPointStruct
GIOExtensionPoint* getIOExtensionPointStruct()

Get the main Gtk struct

getRequiredType
GType getRequiredType()

Gets the required type for @extension_point.

getStruct
void* getStruct()

the main Gtk struct as a void*

setRequiredType
void setRequiredType(GType type)

Sets the required type for @extension_point to @type. All implementations must henceforth have this type.

Static functions

implement
IOExtension implement(string extensionPointName, GType type, string extensionName, int priority)

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

lookup
IOExtensionPoint lookup(string name)

Looks up an existing extension point.

register
IOExtensionPoint register(string name)

Registers an extension point.

Variables

gIOExtensionPoint
GIOExtensionPoint* gIOExtensionPoint;

the main Gtk struct

ownedRef
bool ownedRef;
Undocumented in source.

Meta