Re: Applets

Albert Dorofeev (albert@tigr.net)
Mon, 12 Apr 1999 20:29:18 +0200


On Mon, Apr 12, 1999 at 12:01:09AM +0100, James wrote:
> How do i write dockable wharf applets?
> 

Euh... Let's see... You need vi to type in the code...
then get a good C compiler, I prefer gcc ... and write
the man page, README and INSTALL for it. You are done :)

Now, seriously, it is just like writing any other application
only the size of the window is limited. If you wrote an
application for X before it is the same but otherwise you
just have to learn to progrm with Xlib. Have a look at 
other applets that were written - most of the time it
is not too difficult to see how they operate, especially
the smaller ones.

There are no tricks involved in making an application
wharfable (dockable to Wharf) except setting a couple
of X hints in the initialization part. You would have
to set some other hints for Window Maker but basically
it is all the same for every applet - you can just copy
this part from other ppl source code.

HTH
Tigr

-- 
Albert Dorofeev http://www.tigr.net/ http://bewoner.dma.be/Albert/
fingerprint = C9 49 D0 F3 41 FA 8C D8  E9 5C 6A D4 F1 6D 65 15
Anything good in life is either illegal, immoral or fattening.

--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html