| gpolo | someone can help me with this wxpython problem ? http://thread.gmane.org/gmane.comp.python.wxpython/45503/focus=45505 |
| Glenn_NZ | hmm |
| byteater | nites |
| Glenn_NZ | where' s the label? |
| gpolo | I create it in the worker thread |
| Glenn_NZ | oh label_1 ?\ |
| gpolo | self.pages.append(wx.StaticText(self, -1, "something")) |
| Glenn_NZ | OK, I;ve got the window up. What is it supposed to do? Display a label ??? It appears as a tabbed control |
| SunDragon | http://pastebin.ca/391408 Do you know why the labels are centered in this example? I thought anchoring them Tkinter.W would left-justify them |
| Hatty | I cant get python to bind to a socket. im binding to (socket.gethostname(), 9999) but it returns None.. why? |
| Glenn_NZ | gpolo: I am wondering about whether this works as static, not dynamic?? |
| Hatty | if it helps im calling it from a thread |
| SunDragon | regarding bind, Note: This method has historically accepted a pair of parameters for AF_INET addresses instead of only a tuple. This was never intentional and is no longer available in Python 2.0 and later. |
| gpolo | it works glenn_nz |
| ironfroggy | Hatty: so you are doing `s = socket.socket(); s.bind(...)` and dont know why the call to bind returns None? |
| Hatty | ironfroggy: yeah |
| ironfroggy | Hatty: why do you expect anything else? |
| gpolo | it works dinamically without using delayedresult too |
| ironfroggy | Hatty: it is not intended to return anything. |
| Hatty | =/ |
| gpolo | It is what Im doing here, since this is not working now |
| Glenn_NZ | gpolo: It seems as though Inside loop is executing before the controls exist |
| gpolo | what inside loop ? |
| ironfroggy | Hatty: you call it on the socket object, 's' in the example i showed, and then 's' is your open socket. |
| SunDragon | if i pack two tkinter labels in a vertical frame, how to i left justify them within that frame? |
| ironfroggy | Hatty: why did you expect anything to be returned? what would you expect the result to be? |
| Glenn_NZ | Hmm, my mistake. gpolo: You are adding the wxStaticText to a Pages list |
| Hatty | ironfroggy: one sec |
| SunDragon | ironfroggy: an exception because the address doesn't exist on the system? |
| Hatty | ironfroggy: ah k i totally screwed up |
| gpolo | Glenn_NZ and ? |
| Hatty | ironfroggy: thanks |
| ironfroggy | its my birthday in 40 minutes. |
| SunDragon | happy birthday ironfroggy i heard hundreds of frogs in unison on my walk tonight, they think it is spring |
| Hatty | ironfroggy: Happy birthday |
| ironfroggy | i assume you'll all be donating to my paypal account or sending me amazon.com credits |