Re: [gtk-list] Passing a Structure to a Function
- From: Elliot Lee <sopwith redhat com>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: Re: [gtk-list] Passing a Structure to a Function
- Date: Thu, 11 Jun 1998 11:05:48 -0400 (EDT)
In gtkwidget.h:
gint (* focus_in_event) (GtkWidget *widget,
GdkEventFocus *event);
The focus_in_event signal handler has two arguments before data, the
widget which the event happened to, and the event itself. You need to
change one line to
void my_function (GtkWidget *widget, GdkEventFocus *event, gpointer data)
-- Elliot
When I die, I want to die peacefully in my sleep like my grandfather...
...not yelling and screaming like the people in the back of the
plane he was flying.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]