passing parameters
- From: "samuel.berthelot" <samuel berthelot voila fr>
- To: gtk-app-devel-list gnome org
- Subject: passing parameters
- Date: Mon,  1 Dec 2003 19:32:50 +0100 (CET)
Hi,
Is it right to do something like this ?
int = 0;
gtk_signal_connect (GTK_OBJECT(glarea), "motion_notify_event",
                        GTK_SIGNAL_FUNC(glarea_motion_notify), gpointer(id);
int glarea_motion_notify (GtkWidget* widget, GdkEventMotion* event, gpointer 
id)
{
    //whatever
}
Actually my code doesn't work. But I need to pass the id variable as a 
parameter.
Any idea ?
Cheers,
Sam
------------------------------------------
Faites un voeu et puis Voila ! www.voila.fr 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]