Re: Drag from treeview to eventbox

On Fri, Jan 14, 2011 at 4:29 PM, Jeffrey Barish
<jeff_barish earthlink net> wrote:
> Is it possible to drag from a treeview to an eventbox?  I'm using
> enable_model_drag_source for the treeview and drag_dest_set for the
> eventbox.  Is that mixing permitted?  The drag is not recognizing the
> eventbox as a target.

the treeview in gtk 2.* doesn't support DnD to other widgets, let
alone other windows. it only does intra-treeview DnD. there are ways
to hack around this, but they are moderately complex and i've only
done it in C++ (gtkmm) which removes quite a bit of the pain.

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