Hello! I have the following function: GdkEvent *gtk_get_current_event () The problem is that the Event can be one of many of the various events, how can I construct the right event depending on the type field of the event? Miguel