Import line: | GObject = imports.gi.GObject; |
GIR File: | GObject-2.0.gir |
C documentation: | GTypeInfo |
Struct : | TypeInfo |
Properties | Defined By | |
---|---|---|
base_finalize : [object Object]
|
GObject.TypeInfo | |
base_init : [object Object]
|
GObject.TypeInfo | |
class_data : void*
|
GObject.TypeInfo | |
class_finalize : [object Object]
|
GObject.TypeInfo | |
class_init : [object Object]
|
GObject.TypeInfo | |
class_size : guint16
|
GObject.TypeInfo | |
instance_init : [object Object]
|
GObject.TypeInfo | |
instance_size : guint16
|
GObject.TypeInfo | |
n_preallocs : guint16
|
GObject.TypeInfo | |
value_table : GObject.TypeValueTable
|
GObject.TypeInfo |
Method / Constructor | Defined By | |
---|---|---|
new GObject.TypeInfo
()
Create a new GObject.TypeInfo
Create a new GObject.TypeInfo
|
None |
Class / Namespace | Method / Signal / Properties |
---|---|
GObject
Method |
This function is meant to be called from the complete_type_info()
function of a GTypePlugin implementation, as in the following example: |[ static void my_enum_complete_type_info (GTypePlugin *plugin, GType g_type, GTypeInfo *info, GTypeValueTable *value_table) { static const GEnumValue values[] = { { MY_ENUM_FOO, "MY_ENUM_FOO", "foo" }, { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" }, { 0, NULL, NULL } }; g_enum_complete_type_info (type, info, values); } ]| |
GObject
Method |
GObject.flags_complete_type_info
(Number g_flags_type, TypeInfo info, FlagsValue const_values)
:
none
This function is meant to be called from the complete_type_info()
function of a GTypePlugin implementation, see the example for g_enum_complete_type_info() above. |
GObject
Method |
GObject.type_register_fundamental
(Number type_id, String type_name, TypeInfo info, TypeFundamentalInfo finfo, TypeFlags flags)
:
Number
Registers type_id as the predefined identifier and type_name as the
name of a fundamental type. |
GObject
Method |
GObject.type_register_static
(Number parent_type, String type_name, TypeInfo info, TypeFlags flags)
:
Number
Registers type_name as the name of a new static type derived from
GTypeInfo structure pointed to by info to manage the type and its instances (if not abstract). |
GObject.TypeModule
Method |
Looks up or registers a type that is implemented with a particular
type plugin. |
GObject.TypePlugin
Method |
Calls the complete_type_info function from the GTypePluginClass of plugin.
|