Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Doing what a menu command would do with out selecting it

by benn (Priest)
on Aug 13, 2003 at 19:56 UTC ( #283673=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Doing what a menu command would do with out selecting it
in thread Doing what a menu command would do with out selecting it

Well, presumably somewhere you're calling "select_all". Try calling select_all($canvas), where $canvas is whatever variable is used to store/create your canvas.

One way to find out what is being passed is to add some debugging - try printing out the value of $c at the top of the "select_all" routine, running the program and using your menu command to 'Select All'. Hopefully you should be able to see what's being passed in, and emulate it in your own "select_all" call.

Hope this helps,
Ben.


Comment on Re: Re: Re: Doing what a menu command would do with out selecting it

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-07-23 11:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (140 votes), past polls