DoubleClickGesture

class omni.ui.scene.DoubleClickGesture

Bases: ClickGesture

The gesture that provides a way to capture double clicks.

Methods

__init__(self, _on_ended, None] = None, **kwargs)

Construct the gesture to track double clicks.

call_on_ended_fn(self, arg0)

Called when the user releases the button.

has_on_ended_fn(self)

Called when the user releases the button.

set_on_ended_fn(self, fn, None])

Called when the user releases the button.

Attributes

__init__(self: omni.ui_scene._scene.DoubleClickGesture, _on_ended: Callable[[omni::ui::scene::AbstractShape], None] = None, **kwargs) None

Construct the gesture to track double clicks.

### Arguments:

`onEnded :`

Called when the user double clicked

`kwargsdict`

See below

### Keyword Arguments:

`mouse_button`

The mouse button this gesture is watching.

`modifiers`

The modifier that should be pressed to trigger this gesture.

`on_ended_fn`

Called when the user releases the button.

`name`

The name of the object. It’s used for debugging.

`manager`

The Manager that controld this gesture.

call_on_ended_fn(self: omni.ui_scene._scene.DoubleClickGesture, arg0: omni::ui::scene::AbstractShape) None

Called when the user releases the button.

has_on_ended_fn(self: omni.ui_scene._scene.DoubleClickGesture) bool

Called when the user releases the button.

set_on_ended_fn(self: omni.ui_scene._scene.ClickGesture, fn: Callable[[omni::ui::scene::AbstractShape], None]) None

Called when the user releases the button.