Re: How to make tool to appear on pop-up menu of object?

Bustamam Harun (bustamam@toystory.studio.sgi.com)
Mon, 15 Apr 1996 10:38:37 -0700

On Apr 15, 10:36am, Bensen Chiou wrote:
> Subject: Re: How to make tool to appear on pop-up menu of object?
> Hi Bustamam,
>
> Thanks for advice,
>
> But that's not what I'm asking. I'm tying to make my tool apears on
> the pop-up menu of an object. For example, if you start IP-Trouble of the
> Tools command, the IP-Trouble tool appears on the pop-up menu of the
> gateway node if you click the right mouse button.

Sorry Bensen, I misunderstood your question. In order to get the menu entries
for your tools to appear on the pop-up menu of the object you have to define
in your tkined.defaults:

tkined.mytool: entry1 entry2 entry3 ...

make sure that "entry1", "entry2"... is already being defined in your tool
menu,
i.e. in your "ined create MENU" line. It has to be the same spelling.

Hope it helps this time :)

-- 
------------------------------------------------------------------------------
Name       : Bustamam Harun
Email      : bustamam@studio.sgi.com, bharun@netcom.com, bustamam@aol.com
Work Phone : (415)-933-6724, (415)-933-3287 (Fax)
Home Phone : (209)-833-0585, (209)-833-3967 (Home Office/Fax)
Homepage   : http://user.aol.com/bustamam/home.html (Java Enhanced)
------------------------------------------------------------------------------