RedlineTextOperator

class Operators.Redline.RedlineTextOperator()

Methods

addMapping

RedlineTextOperator.addMapping(button, modifier)
Arguments
  • button (Button()) – None

  • modifier (KeyModifiers()) – None

Adds a button and key modifier mapping for the operator. If no mapping is provided, all combinations are considered valid. All mappings require a mouse button, but a key modifier is optional.

Return type

void

clearMapping

RedlineTextOperator.clearMapping()

Clears any button and key modifier mappings for the operator.

Return type

void

setMapping

RedlineTextOperator.setMapping(button, modifier)
Arguments
  • button (Button()) – None

  • modifier (KeyModifiers()) – None

Sets the button and key modifier mapping for the operator.

Return type

void