GObject.Object
GObject.TypeModule
Peas.ObjectModule
Import line: | Peas = imports.gi.Peas; |
GIR File: | Peas-1.0.gir |
C documentation: | PeasObjectModule |
Class : | ObjectModule |
Implements: | GObject.TypePlugin |
Extends: | GObject.TypeModule |
Properties | Defined By | |
---|---|---|
interface_infos : Array
read only
|
GObject.TypeModule | |
module_name : String
|
Peas.ObjectModule | |
name : String
read only
|
GObject.TypeModule | |
parent : GObject.TypeModule
read only
|
Peas.ObjectModule | |
parent_instance : GObject.Object
read only
|
GObject.TypeModule | |
path : String
|
Peas.ObjectModule | |
priv : Peas.ObjectModulePrivate
read only
|
Peas.ObjectModule | |
resident : gboolean
|
Peas.ObjectModule | |
type_infos : Array
read only
|
GObject.TypeModule | |
use_count : guint32
read only
|
GObject.TypeModule |
Method / Constructor | Defined By | |
---|---|---|
new Peas.ObjectModule
(Object properties)
Create a new Peas.ObjectModule
Create a new Peas.ObjectModule
|
||
new Peas.ObjectModule.c_new
(String module_name, String path, gboolean resident)
:
Peas.ObjectModule
Create a new Peas.ObjectModule
Create a new Peas.ObjectModule
|
||
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 | |
|
Peas.ObjectModule | |
get_module_name
()
:
String
|
Peas.ObjectModule | |
get_path
()
:
String
|
Peas.ObjectModule | |
Peas.ObjectModule | ||
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 | |
register_extension_factory
(Number iface_type, Function factory_func, void* user_data, Function destroy_func)
:
none
Register an implementation for an extension type through a factory
function factory_func which will instantiate the extension when requested.
Register an implementation for an extension type through a factory
function factory_func which will instantiate the extension when requested. This method is primarily meant to be used by native bindings (like gtkmm), creatint native types which cannot be instantiated correctly using g_object_new(). For other uses, you will usually prefer relying on peas_object_module_register_extension_type().
|
Peas.ObjectModule | |
Register an extension type which implements the extension interface
|
Peas.ObjectModule | |
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 | |
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 |