Newbie question about signal handler args
- From: "Ansell, Larry" <Larry_Ansell maxtor com>
- To: <gtk-list gnome org>
- Subject: Newbie question about signal handler args
- Date: Thu, 21 Apr 2005 10:52:26 -0600
Hi all,
When I connect to a signal
gtk_signal_connect( GTK_OBJECT( button ), "focus-in-event",
GTK_SIGNAL_FUNC( buttonHandler ), argToPass );
In my handler,
void buttonHandler( GtkWidget *widget, gpointer *data )
{
}
I think that (*data) should be my "argToPass", but is "widget" a pointer to the button that got the focus change event?
Thanks,
Larry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]