c - GtkEntry text change signal -
how can connect signal callback kind of change in gtkentry's buffer, including character added, deleted, text pasted or cut? i've looked in docs gtkwidget, gtkentry , gtkentrybuffer without finding this.
note: if question badly worded, think of html dom's change
event, except it's fired greedily after every single keypress or event causes change, , not checked on unfocus.
there changed
signal (of gtkeditable
interface):
the ::changed signal emitted @ end of single user-visible operation on contents of gtkeditable.
e.g., paste operation replaces contents of selection cause 1 signal emission (even though implemented first deleting selection, inserting new content, , may cause multiple ::notify::text signals emitted).
(i found checking implemented interfaces section.)
this indicates can connect notify
signal of text
property (specifically, notify::text
).
there preedit-changed
signal:
if input method used, typed text not committed buffer. if interested in text, connect signal.
Comments
Post a Comment