Re: Newbey Question



Jamiil Abdullah-Alkadir wrote:
Thanks Marcel for your prompt response.
I did as you suggested, however, I now get an error saying that the '-lXext' library was not found. I ran 'find /usr -name *Xext*' and I did find '/usr/X11R6/bin/cygXext-6.dll'. Is there anything I can do to solve this problem?

linux:/etc # locate Xext

/usr/X11R6/include/X11/extensions/panoramiXext.h
/usr/X11R6/include/X11/extensions/Xext.h
/usr/X11R6/lib/libXext.a
/usr/X11R6/lib/libXext.so
/usr/X11R6/lib/libXext.so.6
/usr/X11R6/lib/libXext.so.6.4


i think it is delivered with your Linux distribution,
on my Linux it is in:

linux:~ # rpm -q --whatprovides libXext.so.6
xorg-x11-libs-6.8.1-15.4

regards,

Marcel


TIA

From: Marcel Ruff <mr marcelruff info>
To: Jamiil Abdullah-Alkadir <jamiil_abdullah_alkadir hotmail com>, gtk-app-devel-list gnome org
Subject: Re: Newbey Question
Date: Fri, 08 Apr 2005 15:16:52 +0200

Jamiil Abdullah-Alkadir wrote:

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 ..."


Try GTK_SIGNAL_FUNC(Quit)

regards
Marcel


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*.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




--
http://www.xmlBlaster.org


_________________________________________________________________
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*.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




--
http://www.xmlBlaster.org



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