Re: g_signal_connect question
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: deepspace <dsp edu physics uoc gr>
- Cc: gtk-list gnome org
- Subject: Re: g_signal_connect question
- Date: Wed, 04 Aug 2004 12:04:14 +0300
deepspace wrote:
g_signal_connect(GTK_OBJECT(button1),"clicked",GTK_SIGNAL_FUNC(roll),p);
Hello, you should use g_signal_connect_swapped() instead of
g_signal_connect() for your
void roll(struct args * p);
Also consider to use *G_OBJECT* and *G_CALLBACK* macroces instead of
*GTK_OBJECT* and *GTK_SIGNAL_FUNC* ;)
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]