InputDeviceSet

class InputDeviceSet

Manages a list of InputDevice objects, as returned by various InputDeviceManager methods. This is implemented like a set, meaning the same device cannot occur more than once.

Inheritance diagram

digraph inheritance452476b25e { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "InputDeviceSet" [URL="acron.core.InputDeviceSet.html#acron.core.InputDeviceSet",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "InputDeviceSet" [arrowsize=0.75,style=""]; }
InputDeviceSet.__getitem__()

Returns the nth InputDevice in the collection.

InputDeviceSet.__init__()
InputDeviceSet.assign()
InputDeviceSet.clear()

Removes all InputDevices from the collection.

InputDeviceSet.output()

Writes a brief one-line description of the InputDeviceSet to the indicated output stream.

InputDeviceSet.reserve()

This is a hint to Acron to allocate enough memory to hold the given number of InputDevices, if you know ahead of time how many you will be adding.

InputDeviceSet.size()

Returns the number of devices in the collection.

InputDeviceSet.write()

Writes a complete multi-line description of the InputDeviceSet to the indicated output stream.