I hadn’t come across those before but sounds like the type of thing I’m looking for, so will go have a play with them.
Many thanks for that.
···
On Friday, 15 June 2012 10:12:49 UTC+1, Gadget Steve wrote:
Sounds like you need to invoke your calculation using wxCallAfter or wxCallLater.
-----Original Message-----
From: tsenate
Sent: 15 Jun 2012 09:05:38 GMT
To: wxpython-users@googlegroups.com
Subject: [wxPython-users] SetSizer() not implemented before large calculation
Hi All,
I have a program that uses several different layouts, which all seems to work fine apart from in one situation. I am using SetSizer() to change the layout when buttons are pressed, which is working fine apart from when I want to set a ‘Please Wait’ layout
whilst a calculation is taking place. At this point, the current layout is shown whilst the calculation takes place (calc can be anywhere between few secs and couple of mins.), and then the ‘Finished’ layout is shown missing out the ‘Please Wait’ layout.
I’ve attached some example code to show roughly what I’m trying to do. Am I implementing this in the wrong way?
Thanks for any help in advance.
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
On Friday, 15 June 2012 10:12:49 UTC+1, Gadget Steve wrote:
Sounds like you need to invoke your calculation using wxCallAfter or wxCallLater.
-----Original Message-----
From: tsenate
Sent: 15 Jun 2012 09:05:38 GMT
To: wxpython-users@googlegroups.com
Subject: [wxPython-users] SetSizer() not implemented before large calculation
Hi All,
I have a program that uses several different layouts, which all seems to work fine apart from in one situation. I am using SetSizer() to change the layout when buttons are pressed, which is working fine apart from when I want to set a ‘Please Wait’ layout
whilst a calculation is taking place. At this point, the current layout is shown whilst the calculation takes place (calc can be anywhere between few secs and couple of mins.), and then the ‘Finished’ layout is shown missing out the ‘Please Wait’ layout.
I’ve attached some example code to show roughly what I’m trying to do. Am I implementing this in the wrong way?
Thanks for any help in advance.
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
On Friday, 15 June 2012 10:12:49 UTC+1, Gadget Steve wrote:
Sounds like you need to invoke your calculation using wxCallAfter or wxCallLater.
-----Original Message-----
From: tsenate
Sent: 15 Jun 2012 09:05:38 GMT
To: wxpython-users@googlegroups.com
Subject: [wxPython-users] SetSizer() not implemented before large calculation
Hi All,
I have a program that uses several different layouts, which all seems to work fine apart from in one situation. I am using SetSizer() to change the layout when buttons are pressed, which is working fine apart from when I want to set a ‘Please Wait’ layout
whilst a calculation is taking place. At this point, the current layout is shown whilst the calculation takes place (calc can be anywhere between few secs and couple of mins.), and then the ‘Finished’ layout is shown missing out the ‘Please Wait’ layout.
I’ve attached some example code to show roughly what I’m trying to do. Am I implementing this in the wrong way?
Thanks for any help in advance.
–
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en