How can I connect a signal callback for any kind of change in a GtkEntry's buffer, including character added, deleted, text pasted or cut? I've looked in the docs for GtkWidget, GtkEntry and GtkEntryBuffer without finding this.
Note: if my question was badly worded, think of the HTML DOM's change
event, except that it's fired greedily after every single keypress or event that causes a change, and not only checked on unfocus.
There is the
changed
signal (of theGtkEditable
interface):(I found that by checking the implemented interfaces section.)
This indicates that you can also connect to the
notify
signal of thetext
property (specifically,notify::text
).There is also the
preedit-changed
signal: