Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Timeout using tkinter?

101 views
Skip to first unread message

Tim Rowe

unread,
May 27, 2000, 3:00:00 AM5/27/00
to
Using Python & tkinter, is it possible to build a (platform
independent) time-out on a user response?

Tim Rowe

unread,
May 31, 2000, 3:00:00 AM5/31/00
to
In article <memo.20000527...@digitig.compulink.co.uk>,
dig...@cix.co.uk (Tim Rowe) wrote:

> Using Python & tkinter, is it possible to build a (platform
> independent) time-out on a user response?
>

Does the silence mean "No"?

Fredrik Lundh

unread,
May 31, 2000, 3:00:00 AM5/31/00
to
Tim Rowe wrote:
> > Using Python & tkinter, is it possible to build a (platform
> > independent) time-out on a user response?
>
> Does the silence mean "No"?

not necessarily -- it might be that case sensitivity and join
operator discussions have slightly higher priority ;-)

On the other hand, I'm not really sure what you're asking for.
What's a "user response" in this case? A mouse click? Data
entry in a dialogue box?

In either case, the "after" method is probably what you're
looking for. More info here:

http://www.pythonware.com/library/tkinter/introduction/basic-widget-methods.htm
=> Alarm handlers and other non-event callbacks => after

</F>

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->


Tim Rowe

unread,
Jun 2, 2000, 3:00:00 AM6/2/00
to
In article <qReZ4.6366$wYl.23...@newsb.telia.net>, eff...@telia.com
(Fredrik Lundh) wrote:

> On the other hand, I'm not really sure what you're asking for.
> What's a "user response" in this case? A mouse click? Data
> entry in a dialogue box?

In this particular case, keystroke, but yes, the "after" method looks just
right -- and a pointer to some real documentation on tkinter, too, so I'll
go to sleep happy tonight! Thanks.

0 new messages