ScreenList¶
The Screen API is not currently supported. Do not use.
- class Leap.ScreenList¶
The ScreenList class extends the Python array to represent a list of Screen objects.
The list always contains at least one entry representing the default screen. If the user has not registered the location of this default screen, then the coordinates, directions, and other values reported by the functions in its Screen object will not be accurate. Other monitor screens only appear in the list if their positions have been registered using the Leap Motion Screen Locator.
Get a ScreenList object from Controller.located_screens.
New in version 0.
- classmethod ScreenList()¶
Constructs an empty list.
New in version 0.
- is_empty -> bool
Reports whether the list is empty.
New in version 0.
- getitem(object, index) → Leap.Device¶
Access a list member by its position in the list.
New in version 0.
- append(other)¶
Appends the members of the specifed ScreenList to this ScreenList.
Arguments
- other (Leap.ScreenList) – A ScreenList object containing Screen objects
- to append to the end of this ScreenList.
New in version 0.
- closest_screen(position) → Leap.Screen¶
- closest_screen_hit(position, direction) → Leap.Screen¶
- closest_screen_hit(pointable) → Leap.Screen