Gck.modules_get_slots
function modules_get_slots(modules: Array(Gck.Module), token_present: Boolean): Array(Gck.Slot) { // Gjs wrapper for gck_modules_get_slots() }
Get a list of slots for across all of the modules.
- modules
The modules
- token_present
Whether to only list slots with token present
- Returns
A list of Gck.Slot objects, which should be freed with Gck.list_unref_free.