Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Tk Dialog From Multiple POE Processes?

by rcaputo (Chaplain)
on Dec 17, 2009 at 22:00 UTC ( [id://813273]=note: print w/replies, xml ) Need Help??


in reply to Tk Dialog From Multiple POE Processes?

POE is a red herring.

A child process cannot safely manipulate a GUI copied from the parent process. As both copies diverge, they will increasingly fight with each other over what the GUI should look like. As you've seen, eventually X will give up trying to make sense of multiple conflicting requests, and the program will fail.

The parent process should do all GUI work. If child processes require GUI interaction, they should request the parent to do that for them. The parent process can then inform children of the user's input.

  • Comment on Re: Tk Dialog From Multiple POE Processes?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found