mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 19:22:11 +01:00
Apply patches by Stefan Kost to document naming restrictions. (#167614)
2005-03-07 Matthias Clasen <mclasen@redhat.com> * gobject/tmpl/gtype.sgml: * gobject/tmpl/param_value_types.sgml: * gobject/tmpl/gparamspec.sgml: Apply patches by Stefan Kost to document naming restrictions. (#167614)
This commit is contained in:
parent
d1fceb3123
commit
ccdc2bdd3d
@ -1,3 +1,10 @@
|
|||||||
|
2005-03-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* gobject/tmpl/gtype.sgml:
|
||||||
|
* gobject/tmpl/param_value_types.sgml:
|
||||||
|
* gobject/tmpl/gparamspec.sgml: Apply patches by
|
||||||
|
Stefan Kost to document naming restrictions. (#167614)
|
||||||
|
|
||||||
2005-02-28 Matthias Clasen <mclasen@redhat.com>
|
2005-02-28 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.6.3 ===
|
* === Released 2.6.3 ===
|
||||||
|
@ -9,6 +9,11 @@ Metadata for parameter specifications
|
|||||||
#GParamSpec is an object structure that encapsulates the metadata
|
#GParamSpec is an object structure that encapsulates the metadata
|
||||||
required to specify parameters, such as e.g. #GObject properties.
|
required to specify parameters, such as e.g. #GObject properties.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
Parameter names need to start with a letter (a-z or A-Z). Subsequent
|
||||||
|
characters can be letters, numbers or a '-'.
|
||||||
|
All other characters are replaced by a '-' during construction.
|
||||||
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
@ -32,7 +32,13 @@ types called g_type_register_fundamental() which requires both a #GTypeInfo
|
|||||||
structure and a #GTypeFundamentalInfo structure but it is seldom used
|
structure and a #GTypeFundamentalInfo structure but it is seldom used
|
||||||
since most fundamental types are predefined rather than user-defined.
|
since most fundamental types are predefined rather than user-defined.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
A final word about type names.
|
||||||
|
Such an identifier needs to be at least three characters long. There is no
|
||||||
|
upper length limit. The first character needs to be a letter (a-z or A-Z)
|
||||||
|
or an underscore '_'. Subsequent characters can be letters, numbers or
|
||||||
|
any of '-_+'.
|
||||||
|
</para>
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
|
||||||
|
@ -13,6 +13,11 @@ Parameter specifications for most value types can be created as
|
|||||||
#GParamSpec derived instances, to implement e.g. #GObject properties which
|
#GParamSpec derived instances, to implement e.g. #GObject properties which
|
||||||
operate on #GValue containers.
|
operate on #GValue containers.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
Parameter names need to start with a letter (a-z or A-Z). Subsequent
|
||||||
|
characters can be letters, numbers or a '-'.
|
||||||
|
All other characters are replaced by a '-' during construction.
|
||||||
|
</para>
|
||||||
|
|
||||||
<!-- ##### SECTION See_Also ##### -->
|
<!-- ##### SECTION See_Also ##### -->
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user