Re: Question on DnD

On Sat, 2008-08-16 at 18:15 -0400, Havoc Pennington wrote:
> 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
Thanks for your info, I've resent this email to desktop-devel-list.

> Havoc
Hai-Tao Halton Huo <Halton Huo Sun COM>

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