Re: Doubt about button_press_event and drag and drop

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

 



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@xxxxxxxxx
tadej.borovsak@xxxxxxxxx
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux