Hi,

> I'm new to the pygtk bindings and somewhat new to gtk in general, and
> I've got a question that I haven't been able to work out yet.
> 
> I'm trying to figure out how to drag elements into a TreeView and know
> where in the model the drop occurred.  I'm using a TreeStore model if
> that matters.
> 
> I think the method that I want is GtkTreeView.enable_model_drag_dest,
> but that doesn't appear to be implemented yet-- trying to generate the
> method in a build results in:
>       (No ArgType for const-GtkTargetEntry*)
> 
> Is there any other mechanism I can use to determine where in the model
> the drop occurred?  If not, then how difficult would it be to implement
> the method I need?  I'm willing to get my elbows dirty and implement the
> method if I need to, but I'd need some guidance if I'm going to go that
> route.

As far as I know, there isn't any other method. Those special model drag source/dest 
interfaces should be implemented so way IMHO. I think your solution is quite suitable.

Regards,

Arjan



--------------------------------------------------------------------------------
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to