GTK4 Listing icons based on context


I’m using GTK4 and I need to list icons that are in the “Applications” context (from the Icon Naming Specification).
I can get the IconTheme, however apart from listing all icons, I can’t really find a function that does what I want. I saw that in GTK3 there is the list_icons() method that takes as argument a context, however that function no longer exists in GTK4. Is there a GTK4 equivalent?