Re: Insert New Icon in Tkined

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Fri, 22 Mar 1996 15:46:07 +0100

Hi!

Wong Kam Lung <wong@tellab2.rndtm.com.my> said:

Wong> Hi,everybody! I have some problem to insert a new icon into
Wong> program tkined, so please help me to solve this problem.

The Tkined FAQ (http://www.cs.tu-bs.de/ibr/projects/nm/tkined/FAQ.html)
contains the following text:

> How do I define new icons for Tkined?
>
> Integration of new icons requires to make them known to tkined. You
> have to edit the /usr/local/lib/tkined/tkined.defaults file. It
> contains lines like:
>
> tkined.node42: HP7550.xbm Peripherals:HP Plotter 7550
>
> This looks much like X11 defaults. The line above defines icon number
> 42 for a NODE object which is stored in the file HP7550.xbm. It will
> appear as `HP Plotter 7550' in the icon submenu named `Peripherals' in
> the icon menu.
>
> You can create your personal setup by doing all this in your ~/.tkined
> directory and leaving the files in /usr/local/lib/tkined unchanged. It
> is also possible to make use of the /usr/local/lib/tkined/site
> directory, which will not be overwritten if you install a new tkined
> version.

Juergen