Calling hou.UIEvent.reason returns one of the following values.
Values ¶
hou.uiEventReason.Picked
Quick mouse click without dragging.
hou.uiEventReason.Start
Left mouse button pressed (mouse down)
hou.uiEventReason.Active
Mouse dragged with the left mouse button down.
hou.uiEventReason.Changed
Left mouse button released (mouse up).
hou.uiEventReason.Located
Mouse pointer hovered over something in the interface. In a viewer state, this is the reason associated with mouse moves.
hou.uiEventReason.ItemsChanged
Event generated as a change of values in hou.UIEvent
hou.uiEventReason.New
Event generated when a UI element was assigned a different value.
hou.uiEventReason.RangeChanged
Event generated when a slider or scrollbar has changed.
hou.uiEventReason.NoReason
Event was likely explicitly generated.
See also |