great - thanks ;)
Tonino
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 25 Jan 2005 13:44:32 +
Martin Franklin [EMAIL PROTECTED] wrote:
thanks for this info - I had to abandon the createfilehandler() method
as it is not supported in windows and the GUI might be used there at
some time ...
Take a look here:
Hi,
thanks for this info - I had to abandon the createfilehandler() method
as it is not supported in windows and the GUI might be used there at
some time ...
So - I went the threading route - works well - for now - so I will
stick to it ...
BUT - the next question:
In the Text() widget - why -
Tonino wrote:
Hi,
thanks for this info - I had to abandon the createfilehandler() method
as it is not supported in windows and the GUI might be used there at
some time ...
So - I went the threading route - works well - for now - so I will
stick to it ...
BUT - the next question:
In the Text()
In article [EMAIL PROTECTED],
Tonino [EMAIL PROTECTED] wrote:
thanks for this info - I had to abandon the createfilehandler() method
as it is not supported in windows and the GUI might be used there at
some time ...
So - I went the threading route - works well - for now - so I will
stick to it
In article [EMAIL PROTECTED],
Tonino [EMAIL PROTECTED] wrote:
yeah - had a look at createfilehandler() - was a bit confusing - but
your example helps ;)
Be warned that createfilehandler does not work on Windows, though it
works well on unix and MacOS X.
So my suggestion is one to try any of
On 20 Jan 2005 22:25:52 -0800, rumours say that Tonino
[EMAIL PROTECTED] might have written:
[tkinter gui for a socket client, lots of data from the socket]
NOW - HOW do I get the server's sent data to continuiosly print in the
Text() widget ?
You need to use:
just one problem - I do not know how to sit in a loop accepting
messages on the socket connection - writting them to the Text() widget
- refreshing the the GUI - and then starting all over
where do I put the loop for the socket ?
Another thread? Or use twisted, it comes with a
thanks for the info - but I really do not want to learn twisted before
I can understand Tkinter ;)
another thread seems the way - will try that ...
Thanks
Tonino
--
http://mail.python.org/mailman/listinfo/python-list
You are probably looking for Tkinter.createfilehandler(). Here are
some snippets to get you started:
tk_reactor = Tkinter._tkinter
self.sd = socket(AF_INET, SOCK_STREAM)
self.sd.connect((HOST, PORT))
tk_reactor.createfilehandler(self.sd, Tkinter.READABLE,
self.handle_input)
def
hi there ,
yeah - had a look at createfilehandler() - was a bit confusing - but
your example helps ;)
Thanks
Tonino
--
http://mail.python.org/mailman/listinfo/python-list
I have been looking through the previous posts - but with my lack of
knowledge on the whole tkinter subject - I have no clue what to look
for ...
SO - can anyone please help with this ...?
I have a python server that when it gets a connection from a client -
it sends data back - quite a bit of
12 matches
Mail list logo