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?
I saw you are using a
Jamiil Abdullah-Alkadir writes:
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?
I can't understand why you
Abdullah-Alkadir [EMAIL PROTECTED]
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
@gnome.org
Subject: Newbey Question
Date: Fri, 8 Apr 2005 02:18:42 +0300
Jamiil Abdullah-Alkadir writes:
main.cpp:41: error: invalid conversion from 'void (*)(GtkButton*,
void*)' to
The name of the library is GTK+, not GTK++. The + in the name has
nothing to do with C++. (There are C++ wrappers
, Tristan.
From: Tristan Van Berkom [EMAIL PROTECTED]
To: Jamiil Abdullah-Alkadir [EMAIL PROTECTED]
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
[EMAIL PROTECTED]
To: Jamiil Abdullah-Alkadir [EMAIL PROTECTED],
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
it is in:
linux:~ # rpm -q --whatprovides libXext.so.6
xorg-x11-libs-6.8.1-15.4
regards,
Marcel
TIA
From: Marcel Ruff [EMAIL PROTECTED]
To: Jamiil Abdullah-Alkadir [EMAIL PROTECTED],
gtk-app-devel-list@gnome.org
Subject: Re: Newbey Question
Date: Fri, 08 Apr 2005 15:16:52 +0200
Jamiil Abdullah-Alkadir
Hello GTK++ users!!
With the aid of Teach yourself GTK++ Programming in 21 Days from SAMS I
have been able to write my first GTK++ program, as well as a small
'Makefile' to do the compilation. My question is not about the 'Makefile',
but about the GTK++ program itself. Nevertheless, I have
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: