Re: Trigger action when clicking a PerlTray Balloon?
by Bill Luebkert other posts by this author
Apr 19 2009 3:12PM messages near this date
RE: Trigger action when clicking a PerlTray Balloon?
|
Re: Trigger action when clicking a PerlTray Balloon?
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.
_______________________________________________
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
|