Re: Question on DnD



Hi,

On Fri, Aug 15, 2008 at 7:32 AM, Halton Huo <Halton Huo sun com> wrote:
> I want to check whether action is GDK_ACTION_MOVE during "drag-begin"
> phase, if yes, end this DnD. Unfortunately, I found that context->action
> is always 0 during "drag-begin" even SHIFT is hold. While it will be 4
> (GDK_ACTION_MOVE) during "drag-data-get" phase.
>

I think you might want to just disable MOVE when you
gtk_drag_source_set or gtk_drag_begin

This is the wrong list to ask though; this list is for working on gtk
itself, not for questions about using gtk. See gtk-list or
gtk-app-devel-list

Havoc


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