Re: Clipboard and Drag and Drop.
- From: Svanberg Liss <lisss ydab se>
- To: Ivan Andres Hernandez Puga <iahp usa net>, gnome-devel-list gnome org
- Subject: Re: Clipboard and Drag and Drop.
- Date: Tue, 2 Nov 1999 20:14:41 +0100
> Dear Gnome group:
>
> If Linux needs something to achieve a user friendly enviroment status is
> unified clipboard + Drag & Drop capabilities between different programs.
It has.
> There can be a chance to make KDE and Gnome Clipboard unified, so KDE
programs
> and gnome programs can run in a unified applicational enviroment?
They are.
They does just not know it yet. ;)
> At least Gnome-aware apps must have some kind of clipboard where they can
put
> data and that data can be aviable for other programs.
>
> Is there some work around this point? If there is, how can an old DOS
Pascal/C
> with little experience in GTK+ programmer help?
Ok. I was writing a clipboard for gnome with a lot of enchantments, but has
now abrandoned the project because I have found out that X itself allready
has got a clipboard that is powerful enough.
The X-clipboard works basically the same way as X-DnD. You declare what you
want to put in the clipboard ( you may declare more than one type of data ).
Whenever another application want's to paste, your app will be notifyed
about this. From what I remember, you allso have the possibility to store
data drectly in the clipboard ( that will remain if your app shuts down ).
The main problem with the X-clipboard is that it is called "selection", so
nobody appears to understand what it is.
Oh, and, the second problem is that there is allmost none documentation
about this...
Gtk+ has got a wrapper around this (GtkSelection) , as it allso have for the
DnD.
gtkDnD is compatible with older applications, and I believe that
gtkselection is compatible as well, allthough I have not tested this ( I
became a bit "tired" when I realized that I had worked for over half a year
with something completely needless :(
So I guess that the only help needed is DOCUMENTATION, where you clearly can
read about the selection mechanism togeather with drag-and-drop, and where
it's absolutely clear that selcetion is the X'equiallence of M$ clipboard...
// Liss
( Did I sound irritated? Not your fault... :)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]