mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +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
44c788a9d0
commit
e42c2fc58f
@ -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-10 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/tmpl/option.sgml: Fix a typo. (#166985)
|
||||
|
@ -9,6 +9,11 @@ Metadata for parameter specifications
|
||||
#GParamSpec is an object structure that encapsulates the metadata
|
||||
required to specify parameters, such as e.g. #GObject properties.
|
||||
</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 ##### -->
|
||||
<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
|
||||
since most fundamental types are predefined rather than user-defined.
|
||||
</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 ##### -->
|
||||
<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
|
||||
operate on #GValue containers.
|
||||
</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 ##### -->
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user