This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] balloon.tcl


Checked in.

On Thursday 07 March 2002 12:11 pm, Keith Seitz wrote:
> On Thu, 7 Mar 2002, Martin M. Hunt wrote:
> > I want balloon help to work like this:
> >
> >  balloon register $twin ""
> >  balloon variable  $twin [scope help]
> >  balloon notify [code $this foo] $twin
> >
> > Then in your private method "foo", you just set $help to whatever you
> > want and it appears in the balloon window.  Sounds OK?
>
> Approved. Upvar makes me nervous, though. I wish there was a way we could
> just to a function callback, but that would be a much larger change. For
> now, let's see how this works.
>
> Thanks, Martin.
> Keith
>
> > 2002-03-07  Martin M. Hunt  <hunt@redhat.com>
> >
> > 	* library/balloon.tcl (_set_variable): Set the public
> > 	variable before calling notifiers.  Set the help text
> > 	from the public variable afterwards.
> > 	(BALLOON_command_variable): Fix call with no args to
> > 	return variable name.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]