Re: gtk_signal_connect
- From: Sven Neumann <sven gimp org>
- To: "AndrXs" Giraldo <andres_giraldo yahoo com>
- Cc: Gtk List <gtk-list gnome org>
- Subject: Re: gtk_signal_connect
- Date: 30 Jun 2001 18:08:28 +0200
Hi,
"AndrXs" Giraldo <andres_giraldo yahoo com> writes:
> static void on_button_clicked (GtkButton *button,
> gpointer arg)
>
> static void on_drawing_area_expose_event
> (GtkDrawingArea *drawing_area, gpointer arg)
>
> So... why it works with the "clicked" button's signal,
> but it doesn't work with the "expose_event"
> drawing_area's signal?
because the "expose_event" signal has a different signature.
Your signal handler should look like:
static gint
on_drawing_area_expose_event (GtkDrawingArea *drawing_area,
GdkEventExpose *event,
gpointer arg)
Salut, Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]