Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Tk BrowseEntry -listcmd problem

by fletcher_the_dog (Friar)
on Aug 27, 2003 at 17:06 UTC ( [id://287091]=note: print w/replies, xml ) Need Help??


in reply to Tk BrowseEntry -listcmd problem

If I understand what you are trying to do, You could probably just hold off on setting your commands and use 'configure', like this:
$pgl->Label( -text => 'Project', -justify => 'right', -width => '20') ->grid( $pr_list = $pgl->BrowseEntry( -variable => \$state->{prSrcName}, -width => '20'), -sticky => 'w', -pady => '20'); $pr_list->configure( -browsecmd => \&doGetProject, -listcmd => [ \&doLoadPr, $dbh, $pr_list ] );

Replies are listed 'Best First'.
Re: Re: Tk BrowseEntry -listcmd problem
by jdtoronto (Prior) on Aug 27, 2003 at 17:23 UTC
    Thanks fletcher_the_dog - thats the way to solve it.

    I find the Perl/Tk documentation and "Mastering Perl/Tk" both ponderous when it comes to these sorts of questions.

    jdtoronto

      I've added a few links to Perl/Tk resources on my home node, you may find some of them useful when the docs and MPTK aren't clear enough.

      converter

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 04:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found