EditableSignalName
public enum EditableSignalName : String, SignalNameProtocol
Undocumented
-
The
changed
signal is emitted at the end of a single user-visible operation on the contents of theGtkEditable
.E.g., a paste operation that replaces the contents of the selection will cause only one signal emission (even though it is implemented by first deleting the selection, then inserting the new content, and may cause multiple
notify::text
signals to be emitted).Declaration
Swift
case changed = "changed"
-
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
g_signal_stop_emission()
, it is possible to modify the range of deleted text, or prevent it from being deleted entirely. Thestart_pos
andend_pos
parameters are interpreted as forgtk_editable_delete_text()
.Declaration
Swift
case deleteText = "delete-text"
-
This signal is emitted when text is inserted into the widget by the user. The default handler for this signal will normally be responsible for inserting the text, so by connecting to this signal and then stopping the signal with
g_signal_stop_emission()
, it is possible to modify the inserted text, or prevent it from being inserted entirely.Declaration
Swift
case insertText = "insert-text"