You could adapt code from the muzip-roxapp for your needs.I'm having second thoughts about a drag-and-drop desktop icon for PupZip, considering how easy it is to just click on a file in Rox. It is kind of nice, though, to drag a directory to the "pupzip" icon, and a archive is created. Note, it can also be done by right-click and "Open With...".
It decides from the suffix, what to do (extract a .tgz or create an archive from a folder).
But it just seems to work with rox1.
http://www.murga.org/%7Epuppy/viewtopic ... ight=muzip
I took parts of the code of rarsas background-setter, that seems to support rox2 ,too:
http://www.murga.org/%7Epuppy/viewtopic ... 6883#16883
------------------
This is how I position the drag'n'drop-icons, too.The desktop now has two drag-and-drop icons, "pupzip" and "trash", and I'm thinking that these should be separated from the others. I suggest that the bottom-right of the screen be for drag-and-drop icons. Top-right for system operations, like "lock" (which runs xlock) and "save" (multisession DVD save). The other side of the screen for normal desktop applications.
screenshot: http://noforum.de/pics/fbpanel.jpg
But there is a problem:
different screen-resolution.
If you set them up for 800x600, someone with 640x480 might not see them.
For higher resolutions, it would not matter, as you can drag them manually to the right place.
Here is another nice one (I prefer GuestToos version, just mention my thread for better understanding):
http://www.murga.org/%7Epuppy/viewtopic ... =diskusage
Mark