InteractionContext

Inheritance diagram of rumba.InteractionContext
class InteractionContext

Bases: pybind11_builtins.pybind11_object

This interface is passed to the events and is implemented by the application. */.

Methods

modifiers() Returns keyboard modifiers mask.
pos() Returns the pixel coordinate of the event in the widget space.
tool_name() Returns the current tool name.
class ModifierMask

Bases: pybind11_builtins.pybind11_object

The keyboard modifiers masks.

Members:

shift : The shift key mask.

alt : The alt key mask.

ctrl : The control key mask.

__init__

x.__init__(…) initializes x; see help(type(x)) for signature

modifiers() → int

Returns keyboard modifiers mask.

Return type:int
pos() → Imath.V2i

Returns the pixel coordinate of the event in the widget space.

Return type:Imath.V2i
tool_name() → unicode

Returns the current tool name.

Return type:unicode