Re: Doubt about button_press_event and drag and drop



Hi.

First, signal handler for GtkWidget::button-press-event should return
gboolean value, not void. This return value is then used to determine
if the event should be propagated further or not.

If you return FALSE from your signal handler, you indicate that you
haven't handled the event and event is propagated further. If you
return TRUE, event is considered handled and "chain" stops here.

As for your problem, try returning FALSE from your signal handler and
see what happens.

Tadej

--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro gmail com
tadej borovsak gmail com


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