This is the mail archive of the
sourcenav@sources.redhat.com
mailing list for the Source Navigator.
Re: can I add two or more buttons in the toolbar
- To: Aurelian Melinte <amelinte at ALIS dot COM>
- Subject: Re: can I add two or more buttons in the toolbar
- From: <irox at hell dot com>
- Date: Mon, 18 Jun 2001 12:01:18 -0700 (PDT)
- cc: sourcenav at sources dot redhat dot com
On Mon, 18 Jun 2001, Aurelian Melinte wrote:
> hello,
>
> I just tried to add two buttons in the sourcenav's toolbar, by declaring
> two sn_rc_symbolbrowser procedures in rc.tcl (obviously wrong :)) hoping to
> end up with two buttons. Only the last one shows.
declaring two procs with the same name deletes the first one.
You need to put the code to add both buttons in the same
sn_rc_symbolbrowser (or put them in seperate procs if you like
and call them from sn_rc_symbolbrowser).
Ian