[9597] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: GTK eval: internationalization and drag/drop
daemon@ATHENA.MIT.EDU (Owen Taylor)
Tue Oct 27 15:46:22 1998
To: gtk-list@redhat.com
From: Owen Taylor <otaylor@redhat.com>
Date: 27 Oct 1998 15:45:51 -0500
In-Reply-To: Kenneth Albanowski's message of "Tue, 27 Oct 1998 14:45:41 -0500 (EST)"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Kenneth Albanowski <kjahds@kjahds.com> writes:
> On 27 Oct 1998, Owen Taylor wrote:
>
> > s/1.x.x/1.0.x/. The DND API has been completely replaced in the 1.1.x
> > development branch.
> >
> > For the 1.1.x DND API, see gtk/testdnd.c and:
> >
> > http://www.labs.redhat.com/~otaylor/dnd-api.txt
> >
> > The new API is much nicer and more powerful to use (IMHO), and the new
> > code supports the Xdnd and Motif protocols. Converting from one to
> > the other isn't all that difficult in general.
>
> I'm only able to take a brief look at this... is there support for
> "drag_enter" and "drag_leave" signals? It's fairly important (IMO) to make
> the usual widgets support visual indication of being drop-receptive.
There is a "drag_leave" signal. The "drag_motion" signal doubles
as a "drag_enter" - the first time you get it, it is an
enter.
> (If you've not seen the Mac, it works like this: when you drag something
> that can receive it, an aqua ring shows up inside the border of the
> target, instead of the cursor changing to an "X", or somesuch.)
That's the default behavior for the new GTK+ DND - drop targets
are highlighted with a frame as the mouse moves over them - not
aqua, currently, though...
Regards,
Owen
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null