List Info

Thread: RE: perlpdk->perltray->variables->perltray::TOOL




RE: perlpdk->perltray->variables->p erltray::TOOL
country flaguser name
United States
2007-04-10 12:07:33
Excellent.  That was my problem and solution.

now I suddenly want to listen to my TOOL 10,000 days CD.




> -------- Original Message --------
> Subject: RE:
perlpdk->perltray->variables->perltray::TOOL
> From: "Jan Dubois" <jandactivestate.com>
> Date: Tue, April 10, 2007 11:15 am
> To: <dthusmaskatanka.com>, <pdklistserv.ActiveState.com>
> 
> On Tue, 10 Apr 2007, dthusmaskatanka.com wrote:
> > How can this variable be changed? I would like
users to see my
> > application name during mouseover, rather than
PerlTray, to avoid
> > confusion.
> >
> > The documentation shows this can also be accessed
via the PerlApp::
> > namespace, but, so far, I have had no luck
changing it.
> 
> The $PerlApp::TOOL variable is only used to indicate
the current
> execution environment.  This can be useful if you have
a library
> that is used both in a PerlApp and a PerlTray
application, and
> you want to write to STDERR when called in your PerlApp
app,
> but display a messagebox when called in the PerlTray
one.
> 
> You can change the text of the tooltip by providing a
ToolTip
> callback that returns the string to be displayed.  The
> included sample app uses:
> 
>     sub ToolTip 
> 
> This will display the current date and time in your
tooltip.
> 
> Due to a bug this is not working in PerlTray 6.0.2. 
You can add
> the following line to work around this bug:
> 
>     *PerlTray::ToolTip = &ToolTip;
> 
> This workaround is not necessary for any other version
of PerlTray,
> including PerlTray 7.0.
> 
> Cheers,
> -Jan

_______________________________________________
PDK mailing list
PDKlistserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )