mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Additions.
Tue Oct 21 23:29:54 2003 Matthias Clasen <maclas@gmx.de> * gobject/tmpl/gtypemodule.sgml: * gobject/tmpl/enumerations_flags.sgml: * gobject/tmpl/gtype.sgml: Additions.
This commit is contained in:
parent
28f255d1d0
commit
d619ee159b
@ -1,3 +1,9 @@
|
|||||||
|
Tue Oct 21 23:29:54 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gobject/tmpl/gtypemodule.sgml:
|
||||||
|
* gobject/tmpl/enumerations_flags.sgml:
|
||||||
|
* gobject/tmpl/gtype.sgml: Additions.
|
||||||
|
|
||||||
Tue Oct 21 23:09:15 2003 Matthias Clasen <maclas@gmx.de>
|
Tue Oct 21 23:09:15 2003 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* gobject/tmpl/gparamspec.sgml:
|
* gobject/tmpl/gparamspec.sgml:
|
||||||
|
@ -15,24 +15,28 @@ Enumeration and flags types
|
|||||||
|
|
||||||
<!-- ##### STRUCT GEnumClass ##### -->
|
<!-- ##### STRUCT GEnumClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The class of an enumeration type holds information about its
|
||||||
|
possible values.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@g_type_class:
|
@g_type_class:
|
||||||
@minimum:
|
@minimum: the smallest possible value.
|
||||||
@maximum:
|
@maximum: the largest possible value.
|
||||||
@n_values:
|
@n_values: the number of possible values.
|
||||||
@values:
|
@values: an array of #GEnumValue structs describing the
|
||||||
|
individual values.
|
||||||
|
|
||||||
<!-- ##### STRUCT GFlagsClass ##### -->
|
<!-- ##### STRUCT GFlagsClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The class of a flags type holds information about its
|
||||||
|
possible values.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@g_type_class:
|
@g_type_class:
|
||||||
@mask:
|
@mask: a mask covering all possible values.
|
||||||
@n_values:
|
@n_values: the number of possible values.
|
||||||
@values:
|
@values: an array of #GFlagsValue structs describing the
|
||||||
|
individual values.
|
||||||
|
|
||||||
<!-- ##### MACRO G_ENUM_CLASS_TYPE ##### -->
|
<!-- ##### MACRO G_ENUM_CLASS_TYPE ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@ -181,7 +181,7 @@ An opaque structure used as the base of all type instances.
|
|||||||
|
|
||||||
<!-- ##### STRUCT GTypeClass ##### -->
|
<!-- ##### STRUCT GTypeClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
An opaque structure used as the base of all classes.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
||||||
@ -851,6 +851,7 @@ have been installed.
|
|||||||
the interface.
|
the interface.
|
||||||
@Since: 2.4
|
@Since: 2.4
|
||||||
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_default_interface_peek ##### -->
|
<!-- ##### FUNCTION g_type_default_interface_peek ##### -->
|
||||||
<para>
|
<para>
|
||||||
If the interface type @g_type is currently in use, returns
|
If the interface type @g_type is currently in use, returns
|
||||||
|
@ -54,27 +54,22 @@ in #GTypeModuleClass.
|
|||||||
|
|
||||||
<!-- ##### STRUCT GTypeModule ##### -->
|
<!-- ##### STRUCT GTypeModule ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
The members of the <structname>GTypeModule</structname> structure should not
|
||||||
|
be accessed directly, except for the @name field.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@parent_instance:
|
@name: the name of the #GTypeModule.
|
||||||
@use_count:
|
|
||||||
@type_infos:
|
|
||||||
@interface_infos:
|
|
||||||
@name:
|
|
||||||
|
|
||||||
<!-- ##### STRUCT GTypeModuleClass ##### -->
|
<!-- ##### STRUCT GTypeModuleClass ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
In order to implement dynamic loading of types based on #GTypeModule,
|
||||||
|
the @load and @unload functions in #GTypeModuleClass must be implemented.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
@parent_class:
|
@parent_class:
|
||||||
@load:
|
@load: loads the module and registers one or more types using
|
||||||
@unload:
|
g_type_module_register_type().
|
||||||
@reserved1:
|
@unload: unloads the module
|
||||||
@reserved2:
|
|
||||||
@reserved3:
|
|
||||||
@reserved4:
|
|
||||||
|
|
||||||
<!-- ##### FUNCTION g_type_module_use ##### -->
|
<!-- ##### FUNCTION g_type_module_use ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user