Re: Default DND action when multiple actions defined



On Mon, 2007-05-14 at 09:17 +0200, Sergio Villar Senin wrote:
> Bastien Nocera wrote:
> > Heya,
> > 
> > It doesn't seem possible to achieve the following in GTK+:
> > - widget accepts GDK_ACTION_COPY and GDK_ACTION_MOVE, but widget has a
> > *default* action of GDK_ACTION_MOVE (not copy)
> 
> Hi Bastien,
> 
> I wrote some time ago a little tutorial about DnD, with copies or moves
> some rows between treeviews (well it actually does not move nor copy the
> rows but I was able to distinguish between the two actions). You can
> found it in a link of this post: http://blogs.igalia.com/svillar/?p=20
> 
> It was one of my first experiments with DnD code, so I'd appreciate your
> opinions about the code.

That doesn't allow setting the default action though, still...

-- 
Bastien Nocera <hadess hadess net> 




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