[gnome-hispano] g_signal_connect
- From: Domingo Gonzalez <gonav ono com>
- To: gnome-hispano-list gnome org
- Subject: [gnome-hispano] g_signal_connect
- Date: Tue, 19 May 2009 01:43:33 +0200
Hola,
Para conectar seÃales y callbacks, Âusamos las macros G_OBJECT y G_CALLBACK, o mejor GTK_OBJECT y
GTK_SIGNAL_FUNC? Lo he visto de ambas formas y no acabo de ver la diferencia.
g_signal_connect (G_OBJECT (button), "click",
G_CALLBACK (function), NULL);
g_signal_connect (GTK_OBJECT (button), "click",
GTK_SIGNAL_FUNC (function), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]