setAllowDeletion method

void setAllowDeletion(
  1. bool allowDeletion
)

Enable or disable deletion.

Sets the following properties:

Creation, selection and transformation properties are unaltered.

Parameters:

  • allowDeletion — Indicates if deletion is allowed.

Implementation

void setAllowDeletion(
  bool allowDeletion,
) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_InteractionConfiguration_setAllowDeletion(
      _handle,
      allowDeletion,
      errorHandler,
    );
  });
}