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

Re: date DND



Am Mon, 2003-07-21 um 23.58 schrieb John Meacham:
> I would very much like to see this on freedesktop.org. DND can be used
> for a lot of interesting things besides files, and can simplify UIs
> considerably. for example, I would really like to see a standard DND
> type for dragging and dropping colors and all color selection widgets
> should be able to recieve and provide such dnd items. an app which acted
> like a palette to drag colors off of to customize other apps with a
> consistant color scheme would be very cool. 
>         John

There is already a de-facto-standard for color DND, which is used by 
GTK+ and KDE:

type: application/x-color
format: 16
data[0]: red
data[1]: green
data[2]: blue
data[3]: opacity

This just needs to be written down in the "list of well-known DND
types".

Matthias



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