gobject.TypeModule

Undocumented in source.

Public Imports

gobject.c.types
public import gobject.c.types;
gtkc.gobjecttypes
public import gtkc.gobjecttypes;

Members

Classes

TypeModule
class TypeModule

gobject.TypeModule provides a simple implementation of the GTypePlugin interface. The model of gobject.TypeModule is a dynamically loaded module which implements some number of types and interface implementations. When the module is loaded, it registers its types and interfaces using TypeModule.registerType and TypeModule.addInterface. As long as any instances of these types and interface implementations are in use, the module is kept loaded. When the types and interfaces are gone, the module may be unloaded. If the types and interfaces become used again, the module will be reloaded. Note that the last unref cannot happen in module code, since that would lead to the caller's code being unloaded before g_object_unref() returns to it.