Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Tk::JBrowseEntry gives me this error I dont understand

by converter (Priest)
on Sep 26, 2003 at 23:30 UTC ( #294567=note: print w/replies, xml ) Need Help??

in reply to Tk::JBrowseEntry gives me this error I dont understand

The problem appears to be that the only assignment to $w->{-borderwidth} is the return value of delete $args->{-borderwidth} at line 255, and then only if $args->{-borderwidth} is defined. This leaves $w->{-borderwidth} with the undefined value. I can't get to a machine with Windows to test this, so I could be missing something.

If I'm right, the quickest solution would probably be to specify a value for the -borderwidth attribute in your constructor. A -borderwidth value of 0 (zero) might be a good starting point (this is effectively what you're using now). If -borderwidth => 0 doesn't look right, experiment a bit.


Replies are listed 'Best First'.
Re: Re: Tk::JBrowseEntry gives me this error I dont understand
by jdtoronto (Prior) on Sep 27, 2003 at 02:10 UTC
    Well, indeed that was the problem! If I set -borderwidth => 2 Then it all works as expected. The message only occured for me when the button was clicked to make a selection (the down arrow button). I haven't had a chance to install the module on any of my *nix boxes yet, but I will do so and file a bug report with the author after some more testing.

    Thank you for taking the time to look at the code!


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://294567]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2016-10-25 10:07 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (315 votes). Check out past polls.