GObject.Object
GObject.TypeModule
Gio.IOModule
Import line: | Gio = imports.gi.Gio; |
GIR File: | Gio-2.0.gir |
C documentation: | GIOModule |
Class : | IOModule |
Implements: | GObject.TypePlugin |
Extends: | GObject.TypeModule |
Properties | Defined By | |
---|---|---|
interface_infos : Array
read only
|
GObject.TypeModule | |
name : String
read only
|
GObject.TypeModule | |
parent_instance : GObject.Object
read only
|
GObject.TypeModule | |
type_infos : Array
read only
|
GObject.TypeModule | |
use_count : guint32
read only
|
GObject.TypeModule |
Method / Constructor | Defined By | |
---|---|---|
new Gio.IOModule
(Object properties)
Create a new Gio.IOModule
Create a new Gio.IOModule
|
||
Create a new Gio.IOModule
Create a new Gio.IOModule
|
||
Gio.IOModule.query
()
:
Array
Optional API for GIO modules to implement.
Optional API for GIO modules to implement.
Should return a list of all the extension points that may be implemented in this module. This method will not be called in normal use, however it may be called when probing existing modules and recording which extension points that this modle is used for. This means we won't have to load and initialze this module unless its needed. If this function is not implemented by the module the module will always be loaded, initialized and then unloaded on application startup so that it can register its extension points during init. Note that a module need not actually implement all the extension points that g_io_module_query returns, since the exact list of extension may depend on runtime issues. However all extension points actually implemented must be returned by g_io_module_query() (if defined). When installing a module that implements g_io_module_query you must run gio-querymodules in order to build the cache files required for lazy loading. extension points of the module. The array must be suitable for freeing with g_strfreev().
|
Gio.IOModule | |
Registers an additional interface for a type, whose interface lives
in the given type plugin.
Registers an additional interface for a type, whose interface lives
in the given type plugin. If the interface was already registered for the type in this plugin, nothing will be done. As long as any instances of the type exist, the type plugin will not be unloaded.
|
GObject.TypeModule | |
Calls the complete_interface_info function from the
GTypePluginClass of plugin.
Calls the complete_interface_info function from the
GTypePluginClass of plugin. There should be no need to use this function outside of the GObject type system itself.
|
GObject.TypePlugin | |
Calls the complete_type_info function from the GTypePluginClass of plugin.
Calls the complete_type_info function from the GTypePluginClass of plugin.
There should be no need to use this function outside of the GObject type system itself.
|
GObject.TypePlugin | |
load
()
:
none
Required API for GIO modules to implement.
Required API for GIO modules to implement.
This function is ran after the module has been loaded into GIO, to initialize the module.
|
Gio.IOModule | |
Looks up or registers an enumeration that is implemented with a particular
type plugin.
Looks up or registers an enumeration that is implemented with a particular
type plugin. If a type with name type_name was previously registered, the GType identifier for the type is returned, otherwise the type is newly registered, and the resulting GType identifier returned. As long as any instances of the type exist, the type plugin will not be unloaded.
|
GObject.TypeModule | |
Looks up or registers a flags type that is implemented with a particular
type plugin.
Looks up or registers a flags type that is implemented with a particular
type plugin. If a type with name type_name was previously registered, the GType identifier for the type is returned, otherwise the type is newly registered, and the resulting GType identifier returned. As long as any instances of the type exist, the type plugin will not be unloaded.
|
GObject.TypeModule | |
Looks up or registers a type that is implemented with a particular
type plugin.
Looks up or registers a type that is implemented with a particular
type plugin. If a type with name type_name was previously registered, the GType identifier for the type is returned, otherwise the type is newly registered, and the resulting GType identifier returned. When reregistering a type (typically because a module is unloaded then reloaded, and reinitialized), module and parent_type must be the same as they were previously. As long as any instances of the type exist, the type plugin will not be unloaded.
|
GObject.TypeModule | |
set_name
(String name)
:
none
Sets the name for a GTypeModule
Sets the name for a GTypeModule
|
GObject.TypeModule | |
unload
()
:
none
Required API for GIO modules to implement.
Required API for GIO modules to implement.
This function is ran when the module is being unloaded from GIO, to finalize the module.
|
Gio.IOModule | |
unuse
()
:
none
Decreases the use count of a GTypeModule by one.
Decreases the use count of a GTypeModule by one. If the
result is zero, the module will be unloaded. (However, the GTypeModule will not be freed, and types associated with the GTypeModule are not unregistered. Once a GTypeModule is initialized, it must exist forever.)
|
GObject.TypeModule | |
use
()
:
gboolean
Increases the use count of a GTypeModule by one.
Increases the use count of a GTypeModule by one. If the
use count was zero before, the plugin will be loaded. If loading the plugin fails, the use count is reset to its prior value. loading the plugin failed.
|
GObject.TypeModule |
None |