On Tue, 10 Apr 2007, dthusma skatanka.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
PDK listserv.ActiveState.com
To unsubscribe: http:/
/listserv.ActiveState.com/mailman/mysubs
|