Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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.

converter

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!

    jdtoronto

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-06-30 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (403 votes). Check out past polls.