Re: Doubt about button_press_event and drag and drop
- From: Tadej Borovšak <tadeboro gmail com>
- To: Ubirajara Marques da Cruz <biracruz cemig com br>
- Cc: gtk-list gnome org
- Subject: Re: Doubt about button_press_event and drag and drop
- Date: Thu, 26 Aug 2010 23:13:44 +0200
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.
tadeboro gmail com
tadej borovsak gmail com
] [Thread Prev