Re: how to prevent Gtk::Entry to "Pass on" key event?
- From: Robert Pearce <rob bdt-home demon co uk>
- To: gtkmm-list gnome org
- Subject: Re: how to prevent Gtk::Entry to "Pass on" key event?
- Date: Wed, 20 Jun 2012 18:31:03 +0100
Hi jody,
On Wed, 20 Jun 2012 15:33:10 +0200 you wrote:
>
> So if there is no way to get a Gdk_Return from a Entry,
> i guess i'll have to to do some ugliness (catch all key events first,
> and if my entry has the focus, ill call the appropriate function;
> otherwise (no focus) i check for 'f' etc.etc)
Could you perhaps avoid needing to get the GDK_Return? The Gtk::Entry
presumably handles the return key in a way that causes it to emit a
signal (signal_activate?). Could you not look for that instead?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]