InteractionContext

Inheritance diagram of rumba.InteractionContext
class InteractionContext

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

Methods

buttons()

Returns mouse button mask.

depth()

Return the depth of the pixel under the cursor.

frame()

Returns the frame of the highlighted object (under the cursor)

global_pos()

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

modifiers()

Returns keyboard modifiers mask.

pos()

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

tablet()

Returns true if the event has been generated by a tablet.

tool_name()

Returns the current tool name.