Re: [gtkmm] More on Struggling with signal_key_press_event with code
- From: Murray Cumming <murrayc murrayc com>
- To: Ian Michell <ian michell hanzi co uk>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: [gtkmm] More on Struggling with signal_key_press_event with code
- Date: Sat, 06 Mar 2004 13:52:31 +0100
On Sat, 2004-03-06 at 13:06, Ian Michell wrote:
[snip]
> // Connect Signals
> l_i_username->signal_key_press_event().connect(
> SigC::slot(*this, &LoginForm::login_action));
[snip]
> Please tell me where I am going wrong
You have not told us exactly what is not working, but I guess that your
"login_action" key_press_event signal handler is not being called. If
so, please try using connect(slot, false) instead of connect(slot). Or
try connect_notify() instead of connect().
This might be a general bug:
http://bugzilla.gnome.org/show_bug.cgi?id=126213
--
Murray Cumming
www.murrayc.com
murrayc murrayc com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]