Editable.connectDeleteText
gulong connectDeleteText(T)(T callback, Flag!"After" after = No.After)Connect to DeleteText signal.
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 [gobject.global.signalStopEmission], 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 [gtk.editable.Editable.deleteText].
Parameters
callback | signal callback delegate or function to connect void callback(int startPos, int endPos, gtk.editable.Editable editable) startPos the starting position (optional) endPos the end position (optional) editable the instance the signal is connected to (optional) |
after | Yes.After to execute callback after default handler, No.After to execute before (default) |
Returns
Signal ID