Gck.Slot.prototype.enumerate_objects

function enumerate_objects(match: Gck.Attributes, options: Gck.SessionOptions): Gck.Enumerator {
    // Gjs wrapper for gck_slot_enumerate_objects()
}
  

Setup an enumerator for listing matching objects on the slot.

If the match Gck.Attributes is floating, it is consumed.

This call will not block but will return an enumerator immediately.

match

attributes that the objects must match, or empty for all objects

options

options for opening a session

Returns

a new enumerator