getting button_press event for gtk_drawing_area (was: calling gdk_x11_drawable_get_xid() causes corruption...)

2009-12-13 Thread Eigo Mori
Hi, In short what I want is packing multiple gtk_drawing_area in a window and getting button press event from each drawing area. The drawing areas are meant for animated video thumbnail(shortened and downscaled). When you clicking on a thumbnail, it starts the actual playback on a different

Re: getting button_press event for gtk_drawing_area

2009-12-13 Thread Eigo Mori
Hi Carlos, This has been working fine until being compiled with gtk+-2.18.0 but does not work after that. Now I found that it worked with the later gtk if I add GDK_BUTTON_RELEASE_MASK when calling gtk_widget_set_events(). I don't know why... I even don't have the callback for the