Newbie question about signal handler args

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

 



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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux