Waiting for user input

Hi,

I am currently developing a POS terminal under wxPython.

When the customer gets in, he is asked to insert his card in a device.

I need to poll on that insertion and want to pop-up some dialog box which will
accept a cancel and that I will be able to close when the card is recognized.

What would be the best way to go about this ?

Regards,

Philippe

···

--
_________________________
Philippe C. Martin
www.snakecard.com
_________________________

Philippe C. Martin wrote:

Hi,

I am currently developing a POS terminal under wxPython.

When the customer gets in, he is asked to insert his card in a device.

I need to poll on that insertion and want to pop-up some dialog box which will accept a cancel and that I will be able to close when the card is recognized.

What would be the best way to go about this ?

Perhaps a progress dialog in indeterminant mode (IOW, use Pulse instead of Update) would be what you are looking for.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thanks, will look at that - I got it done using a dialog box and a timer.

Regards,

Philippe

···

On Tuesday 23 January 2007 18:45, Robin Dunn wrote:

Philippe C. Martin wrote:
> Hi,
>
> I am currently developing a POS terminal under wxPython.
>
> When the customer gets in, he is asked to insert his card in a device.
>
> I need to poll on that insertion and want to pop-up some dialog box which
> will accept a cancel and that I will be able to close when the card is
> recognized.
>
> What would be the best way to go about this ?

Perhaps a progress dialog in indeterminant mode (IOW, use Pulse instead
of Update) would be what you are looking for.

--
_________________________
Philippe C. Martin
www.snakecard.com
_________________________