I am looking for a way of using the behaviour linked to gtk_editable_insert_text in GtkEntry. The latter does not have a signal emitting this sort of behaviour, and the closest I can get is using gtk_entry_activate, however this requires Enter to be pressed once the text has been input. I've been running in circles with this particular signal, and for the sake of usability I would like to have the insert-text behaviour instead the one of activate.
Link a GtkEditable signal to GtkEntry
102 Views Asked by boywithaxe At
1
I've asked a similar question on AskUbuntu and I got an answer from @Timo. Turns out the problem I was having was caused by a misunderstanding what
gtk_editable_instert_textactually did. In the end, Timo suggested I usegtk_focus_out_eventwhich worked like a charm.