Hello, I've found a way and my problem is solved.
In the file galde were deleted the events (which makes sense for this?).
In the source code, I have added these lines:
area = glade_xml_get_widget (xml, "drawingarea");
parray g_ptr_array_sized_new = (5000);
gtk_widget_add_events (area, GDK_BUTTON_PRESS_MASK);
g_signal_connect (G_OBJECT (area), "button_press_event"
G_CALLBACK (button_pressed), parray);
And this feature:
static gboolean button_pressed (GtkWidget * area,
GdkEventButton * event,
Parray GPtrArray *)
int x, y;
x = event-> x;
y = event-> y;
g_print ( "Der Button wurde bei %i %i ausgeloest\ n", x, y);