Re: keyboard events



On Fri, 2011-08-26 at 15:46 +0100, lecas malecas wrote:

> /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h|1850|note:   no
> known conversion for argument 1 from ‘_GdkEventKey* const’ to
> ‘_GdkEventButton* const&’|

This seems to tell you exactly what is wrong ^^^
You apparently need a GdkEventKey* argument, not a GdkEventbutton*.

> >
> > on_key_rlease_event() must return bool instead of void:
> >
> > bool AnimeWindow::onKeyRelease(GdkEventButton *event)
> > {
> > cout << "key" << endl;
> > return true;
> > }
> >
> >
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
> >
> >
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list




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