top of page

Sample implementation

 

If you are interested in supporting this protocol, but daunted by having to start from scratch, you can start with our sample C++ code.  This code may be used under any license.

 

If you use a different language, please consider donating your code for others to look at.

 

If you build the test application, you can use it to test interoperability with your implementation.

 

While implementing this protocol, you may find it very useful to use the programs xlsatoms to list all the atoms that the server knows about, xprop to list all the properties on a particular window, and xscope to study the timing of events.

 

Even if you implement XDND from scratch, we would appreciate it if your distribution included some sort of documentation that states clearly that you are supporting this protocol and provides a reference to this web page.  The more programs that support the same protocol, the more useful Drag-and-Drop will be for the users.  If you tell us that you support the protocol, we will also add you to the list of supporters.

 

<< Previous | Next >>

bottom of page