How data is passed



I'm looking around in gedit source code...

I have find that they do this signal connection...

        gtk_signal_connect (GTK_OBJECT (app), "drag_data_received",
                            GTK_SIGNAL_FUNC (filenames_dropped), NULL);

But the prototype of the function is...

filenames_dropped (GtkWidget        *widget, GdkDragContext   *context,
gint x, gint y,
                   GtkSelectionData *selection_data, guint info, guint
time)

And there is no other reference in the code to that function, and I
don't undestand where the
other arguments are taken from...

How can the pass all the arguments with the NULL pointer in the
gtk_signal_connect function...?

Can anyone help me please?

Thanks in advance
Please answer to my e-mail too...

-- 
Gonzalo Aguilar. Madrid, España (Spain) |
Reymad Studios | gad reymad com         |
Privado        | eshero airtel net      |
----------------------------------------+




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