ButtonEventList¶
-
class ButtonEventList¶
Bases:
ParamValueBaseRecords a set of button events that happened recently. This class is usually used only in the data graph, to transmit the recent button presses, but it may be used anywhere a list of
ButtonEventsis desired.Inheritance diagram
digraph inheritance8e422a7655 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "ButtonEventList" [URL="acron.core.ButtonEventList.html#acron.core.ButtonEventList",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ParamValueBase" -> "ButtonEventList" [arrowsize=0.75,style=""]; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "ParamValueBase" [URL="acron.core.ParamValueBase.html#acron.core.ParamValueBase",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritableReferenceCount" -> "ParamValueBase" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",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" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",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" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedWritable" [URL="acron.core.TypedWritable.html#acron.core.TypedWritable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedWritable" [arrowsize=0.75,style=""]; "TypedWritableReferenceCount" [URL="acron.core.TypedWritableReferenceCount.html#acron.core.TypedWritableReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedWritable" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedWritableReferenceCount" [arrowsize=0.75,style=""]; }- ButtonEventList.__init__()¶
- ButtonEventList.add_event()¶
Adds a new event to the end of the list.
- ButtonEventList.add_events()¶
Appends the events from the other list onto the end of this one.
- ButtonEventList.assign()¶
- ButtonEventList.clear()¶
Empties all the events from the list.
- static ButtonEventList.get_class_type()¶
- ButtonEventList.get_event()¶
Returns the nth event in the list. This does not remove the event from the list; the only way to remove events is to empty the whole list with
clear().
- ButtonEventList.get_num_events()¶
Returns the number of events in the list.
- ButtonEventList.update_mods()¶
Updates the indicated
ModifierButtonsobject with all of the button up/down transitions indicated in the list.
- ButtonEventList.write()¶