[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: trouble with gtk--
- From: Dan Rosen <dr cs brown edu>
- To: gtk-app-devel-list redhat com
- Subject: Re: trouble with gtk--
- Date: Wed, 23 Jun 1999 12:51:01 -0400 (EDT)
> On Tue, 22 Jun 1999, Dan Rosen wrote:
> >
> > gint EccoGUI::mwDeleteEvent(GdkEventAny* event) {
> >
>
> > eccomainwindow.C:14: no matching function for call to
> > `connect_to_method (Signal_proxy1_r<int,_GtkWidget,_GdkEventAny *> &,
> > EccoGUI *&, gint (EccoGUI::*)(GdkEvent *))'
> >
>
> Your error message doesn't match the callback - the error says your
> callback takes a GdkEvent*. No?
Boy, you don't miss a thing, Havoc. The error was from one of many
compilation attempts (I did at one point swap GdkEvent* for GdkEventAny*).
But if you close your eyes and pretend the GdkEvent* is a GdkEventAny*,
it's the same exact error.
I guess I'm just looking for a little more tutelage in the zen of
connecting signals (which are already provided by an ancestor in the
inheritance structure) to member functions.
Thanks,
Dan
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]