Re: EntryCompletion



On 23.01.2017 21:15, Jeffrey Ratcliffe wrote:
I would like to be able to trap somebody pressing del whilst a
suggestion is highlighted to remove that suggestion from the model.

From the source at
<https://git.gnome.org//browse/gtk+/tree/gtk/gtkentrycompletion.c#n912>,
it looks like all key press events on the popup are forwarded to the
entry.  So, how about catching Gtk3::Gdk::KEY_Delete there?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]