Re: processing window within program
- From: Matthias Mann <matman matman24 org>
- To: gtk-app-devel-list gnome org
- Subject: Re: processing window within program
- Date: Sun, 17 Aug 2003 10:40:28 +0200
On Tuesday August 12 2003 12:12 CEST, ance18 ati tn wrote:
What I made doesn't meet the wanted function :
gtk_signal_connect (GTK_OBJECT(togglebutton3),"clicked",
(GtkSignalFunc)Fonction,(gpointer)"Ok");
Hi!
Have not really understand what you want to do. But i have
some suggestions:
The macro GTK_OBJECT is deprecated and you should use G_OBJECT
instead:
g_signal_connect (G_OBJECT(togglebutton3), "clicked",
(G_CALLBACK(Fonction), "Ok");
void Fonction(GtkButton *button, char *data) {
if(strcmp(data, "Ok")==0)
printf("data = Ok!");
}
Does this help you?
mathew
--
______________________________________________
get free software: www.matman24.org
______________________________________________
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]