Re: Trigger action when clicking a PerlTray Balloon?
by Michael Herger other posts by this author
Apr 20 2009 12:22AM messages near this date
Re: Trigger action when clicking a PerlTray Balloon?
|
Re: Trigger action when clicking a PerlTray Balloon?
Bill,
thanks for the feedback. But I'm looking for an action on clicking the
Balloon(), not the ToolTip().
Michael
Am 20.04.2009, 00:12 Uhr, schrieb Bill Luebkert <dbecoll@[...].com> :
> Michael Herger wrote:
> > Hi!
> > Is there a way to trigger some action when a balloon as shown by
> > PerlTray is clicked? Eg. the balloon says "Click here to update your
> > software", click it, and the installer is launched?
>
> *PerlTray::ToolTip = \&ToolTip;
> # you may need to do above twice if you get an error on early
> # versions (like the 6.0 I have)
>
> sub ToolTip {
> return 'My tray program'; # or whatever
> }
>
> Use sub popupmenu for lots of options on the right click.
--
Michael
_______________________________________________
PDK mailing list
PDK@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Michael Herger
Jan Dubois
Bill Luebkert
ljen1969
ljen1969
Michael Herger
Bill Luebkert
Michael Herger
Bill Luebkert
Michael Herger
Bill Luebkert
Michael Herger
|