Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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?
[Lady_Aleena]: Updating things can be fun, if there is a better way to do it.
[Corion]: Lady_Aleena: Mostly, it's just housekeeping, but it inspires me about things I could do with it, so that's good ;)
[Lady_Aleena]: By the way, I stopped by to let someone know I'm still alive, though I haven't found anything to write in perl for a while now.
[Lady_Aleena]: I need inspiration.
[Discipulus]: hello there: Lady_Aleena for inspiration random browse my homenode.. ;=)

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-09-24 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (274 votes). Check out past polls.

    Notices?