ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pdk
pdk
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved