[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk
Subject:    Re: Doubt about button_press_event and drag and drop
From:       Tadej_Borovšak <tadeboro () gmail ! com>
Date:       2010-08-26 21:13:44
Message-ID: AANLkTikeJDWis7On4gs=kXBbJ2x1+HUjkQjaTr-vYT4d () mail ! gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic