[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: drag-data-received signal not being emitted
- From: Chris Morrison <chris-morrison linuxmail org>
- To: gtk-app-devel-list gnome org
- Subject: Re: drag-data-received signal not being emitted
- Date: Wed, 27 Jun 2007 20:19:47 +0100
On Wed, 2007-06-27 at 10:43 +0100, Dave Howorth wrote:
> I wrote:
> > In particular, I believe you will also need to call
> > gtk_tree_view_enable_model_drag_dest and/or
> > gtk_tree_view_enable_model_drag_dest on the tree_view.
>
> Oops. Second one should be gtk_tree_view_enable_model_drag_source of course.
>
I tried using gtk_tree_view_enable_model_drag_dest() on my tree view and
it caused some really strange stuff to happen:
I got a segmentation fault when ever I tried to access the GList of
targets in drag_context->targets in my drag_drop handler.
If I returned FALSE from my drag_drop handler (i.e. to indicate the drop
was not over a valid area of the widget) the drag-data-received signal
was emitted but then I got a GTK critical assertion failed error.
I think I might give up on the GtkTreeView and use a GtkIconView widget
instead.
Regards,
Chris
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]