setAllowSelection method

void setAllowSelection(
  1. bool allowSelection
)

Enable or disable selection.

Sets the following properties:

Creation, deletion and transformation properties are unaltered.

Parameters:

  • allowSelection — Indicates if selection is allowed.

Implementation

void setAllowSelection(
  bool allowSelection,
) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_InteractionConfiguration_setAllowSelection(
      _handle,
      allowSelection,
      errorHandler,
    );
  });
}