glib/docs/reference
Philip Withnall 783f1b8640 gtype: Improve documentation for G_TYPE_IS_CLASSED and interfaces
The documentation previously implicitly said in a few places that
interfaces are classed, but reading through the implementation of
`GType`, I don’t think they are. If they were, the registration of the
fundamental `G_TYPE_INTERFACE` in `gobject_init()` would specify
`G_TYPE_FLAG_CLASSED`. It only specifies `G_TYPE_FLAG_DERIVABLE`.

I think this makes sense, because you can’t subclass an interface.
Subclassing is a key property of being classed.

Tweak the `GType` tutorial to remove that implicit statement, and expand
the documentation for `G_TYPE_IS_CLASSED`.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>

Fixes: #252
2023-04-13 15:37:00 +01:00
..
gio gmenumodel: disallow exporting large menus on the bus 2022-12-14 15:42:14 +00:00
glib Link goption documentation to GOptionContext type 2023-03-23 14:01:45 +00:00
gobject gtype: Improve documentation for G_TYPE_IS_CLASSED and interfaces 2023-04-13 15:37:00 +01:00
.gitignore .gitignore manpages (*.1) 2010-05-24 23:21:01 -04:00
AUTHORS Initial revision 1999-08-16 17:58:30 +00:00
COPYING Initial revision 1999-08-16 17:58:30 +00:00
meson.build meson: Expose library build type as global variables 2022-10-31 14:08:31 +01:00
NEWS Initial revision 1999-08-16 17:58:30 +00:00