GJS API document for Gdk shipped with GTK4 is currently missing reference for Gdk.ModifierType.
I understand its C-level definition has moved from /usr/include/gtk-3.0/gdk/gdktypes.h
to /usr/include/gtk-4.0/gdk/gdkenums.h
. Maybe this caused problem for API document generation.
- DevDocs β Gdk 3.0 documentation (ModiferType found)
- DevDocs β Gdk 4.0 documentation (No ModifierType found)
As I use Gdk/GTK4 with gjs, I can access things such as Gdk.ModifierType.SHIFT_MASK
, GObject introspection can find moved content OK. So this is only a API document generation issue. Where should I report this or which code repo should I read to find out how API docs are generated.
FYI: I came across this while creating GNOME shell extension: