delete_text


Description:

public virtual signal void delete_text (int start_pos, int end_pos)

This signal is emitted when text is deleted from the widget by the user.

The default handler for this signal will normally be responsible for deleting the text, so by connecting to this signal and then stopping the signal with stop_emission, it is possible to modify the range of deleted text, or prevent it from being deleted entirely. The start_pos and end_pos parameters are interpreted as for delete_text.

Parameters:

start_pos

the starting position

end_pos

the end position