Setting the application icon

Richard Moore rich at ipso-facto.freeserve.co.uk
Tue Apr 24 17:45:29 UTC 2001


Phil wrote:
> 
> Hello all,
> 
> Kdevelop generates two icon files, lo16-app-appname.png and
> lo32-app-appname.png. The question is, how do I make my application use
> these files instead of the default "K". I know that a similar question has
> been asked before however the response left me no wiser.

You specify them in the .desktop file for your app.

In addition, ff you want to set the icon for a window at run time
use setIcon() for your toplevel widget. If you want to specify a
full range of sizes at run time (using the NET WM spec) you can
use the static methods in the KWin class.

Rich.


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list