Re: Newbey Question
- From: "Jamiil Abdullah-Alkadir" <jamiil_abdullah_alkadir hotmail com>
- To: gtk-app-devel-list gnome org, gtk-list gnome org
- Cc:
- Subject: Re: Newbey Question
- Date: Fri, 08 Apr 2005 08:31:03 -0400
Thanks Tristan for you prompt response.
I did try your suggestion, but to no avail. After making the changes to my
.cpp file, I now get a messages saying: "... error: 'GTK_CALLBACK'
undeclared ..."
Perhaps this macro was not yet included in the 1.2.10 version, but in a
later version, do you know?
I'll keep waiting, hopefully there'll be a GTK+ developer that will read
this message and clear this for me, and the millions of GTK+ programmers who
bought the "Learn GTK+ Programming in 21...." from SAMS.
Again, thank you, Tristan.
From: Tristan Van Berkom <tristan van berkom gmail com>
To: Jamiil Abdullah-Alkadir <jamiil_abdullah_alkadir hotmail com>
CC: gtk-app-devel-list gnome org, gtk-list gnome org
Subject: Re: Newbey Question
Date: Thu, 07 Apr 2005 18:50:53 -0400
Jamiil Abdullah-Alkadir wrote:
[...]
//Register CallBacks <<== **Here is the problem 8)
gtk_signal_connect(GTK_OBJECT(btnExit), "clicked", Quit, NULL);
gtk_signal_connect uses functions with any signatures, they
must all be cast to `void (*) ()' though first.
try:
gtk_signal_connect(GTK_OBJECT(btnExit), "clicked",
GTK_CALLBACK (Quit), NULL);
Cheers,
-Tristan
_________________________________________________________________
Take advantage of powerful junk e-mail filters built on patented Microsoft®
SmartScreen Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Start enjoying all the benefits of MSN® Premium right now and get the
first two months FREE*.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]