Re: [gtkmm] Keystroke interception
- From: Paul Davis <paul linuxaudiosystems com>
- To: "McGuinness, Brian B" <brian b mcguinness lmco com>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Keystroke interception
- Date: Fri, 09 Jul 2004 05:18:16 -0400
> //******************** this doesn't work ********************
> MainWindowEntry = manage (new Gtk::Entry);
> MainWindowEntry->signal_key_press_event().connect (SigC::slot (&APLInterpret
>er::OnKeystroke), false);
&APLInterpreter::OnKeystroke is a ptr-to-member-function, and
therefore the correct way to create a slot is:
slot (*this, &APLInterpreter::OnKeystroke)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]