Gck.Module.prototype.get_slots

function get_slots(token_present: Boolean): Array(Gck.Slot) {
    // Gjs wrapper for gck_module_get_slots()
}
  

Get the GckSlot objects for a given module.

token_present

Whether to limit only to slots with a token present.

Returns

The possibly empty list of slots. Release this with Gck.list_unref_free.