Question about signals and functions parameters
- From: Teste123 Teste123 <asb1231 gmail com>
- To: gtk-list gnome org
- Subject: Question about signals and functions parameters
- Date: Fri, 29 Jan 2010 23:40:08 -0200
Hi all,
When use a g_signal_connect to connect some signal to some function, the 'default' parameters of these functions are configured by the signal?
example:
g_signal_connect(G_OBJECT(window), "delete_event", G_CALLBACK(end),NULL);
the 'default' parameters of function "end" receives are a GtkWidget * and a gpointer. But where it's defined?
If using the key_press_event the default parameters that the function will receive are a GtkWidget * and a GdkEventKey *
The 'default' parameters have changed when the signal change.
How this works? Is it how I'm thinking?
Thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]