button_release_event



Hi,

I am having a problem with the "button_release_event". I connect the signals used in my program in the folowing way, but the button_release_event callback function is never called. Any ideas why this is the case? The 3 other events are working OK.

Best regards,

Chris

PS. The code snippet:

gtk_signal_connect(GTK_OBJECT(darea), "expose-event",
   GTK_SIGNAL_FUNC(on_darea_expose), NULL);

gtk_signal_connect(GTK_OBJECT(darea), "motion_notify_event",
   GTK_SIGNAL_FUNC(motion_notify_event), NULL);

gtk_signal_connect(GTK_OBJECT(darea), "button_press_event",
   GTK_SIGNAL_FUNC(button_press_event), NULL);

gtk_signal_connect(GTK_OBJECT(darea), "button_release_event",
   GTK_SIGNAL_FUNC(button_release_event), NULL);

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail




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