Re: [gtk-list] Drag and Drop and my patch
- From: Kenneth Albanowski <kjahds kjahds com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Drag and Drop and my patch
- Date: Mon, 27 Oct 1997 16:45:52 -0500 (EST)
On Mon, 27 Oct 1997 Stefan_Wille@public.uni-hamburg.de wrote:
> Hello again,
>
> I've seen that the drag and drop test in testgtk
> uses cursor bitmaps to indicate a drag action.
>
> I would like to suggest to use shaped (transparent) pixmaps
> instead. You can try this out with 'shapes' in testgtk from
> the patch I just posted.
>
> I would suggest to build a GtkDragIcon widget that is more
> fine tuned than the code in my testgtk-patch. I could take
> part on such a widget.
Dragging probably could use several variants, especially since the Shape
Extension is optional, and some (admittedly unsual) X server might not
include it. In some cases, an X server might not be able to drag a window
fast enough to be usable, while a cursor would be OK.
There are even more advanced techniques (transparent drag) that would need
custom window drawing (at the X level), or a new variant of the Shape
Extension that can deal in alpha levels.
I'd definitely suggest encapsulating the "drag icon" into a new widget
type that can be tought to deal with the needed variants and facilities.
--
Kenneth Albanowski (kjahds@kjahds.com, CIS: 70705,126)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]