Thanks for that suggestion, and sorry I took so
long to get back to you. That worked.
Because I don't want the splash screen, just
self.Update
regards,
[david]
Heikki Toivonen wrote:
> [david] wrote:
>> I'd like to refresh the display before I start the main loop.
>
> We have this kind
> Looking at the Chandler code suggests a solution
> ... he may need to call Update to finish painting
> the display.
Yes, and thank you to Chandler for pointing that out.
Without the splash screen there was no need to call
Yield or use a generator.
(david)
samwyse wrote:
> Chris Mellon wro
On 2007-08-14, [david] <[EMAIL PROTECTED]> wrote:
> Steve, it wasn't me that raised the comparison
> with MFC. If you don't think that's a helpful
> comparison, why not reply to that post instead?
>
> I don't mind Björn's suggestion that I don't
> know what I'm talking about, because I started
> i
On 8/15/07, samwyse <[EMAIL PROTECTED]> wrote:
> Chris Mellon wrote:
> > On 8/9/07, Heikki Toivonen <[EMAIL PROTECTED]> wrote:
> >
> >>[david] wrote:
> >>
> >>>I'd like to refresh the display before I start the main loop.
>
> If your window isn't able to interact with the user, then I'd consider
>
Chris Mellon wrote:
> On 8/9/07, Heikki Toivonen <[EMAIL PROTECTED]> wrote:
>
>>[david] wrote:
>>
>>>I'd like to refresh the display before I start the main loop.
If your window isn't able to interact with the user, then I'd consider
it a splash screen, no matter if it does look exactly like you
[david] wrote:
> Steve, it wasn't me that raised the comparison
> with MFC. If you don't think that's a helpful
> comparison, why not reply to that post instead?
It _was_ a comparison, saying that they follow similar principles.
You twisted this comparison by saying wxPython was an imitation of
MF
[david] wrote:
> Well yes, I have tried this app with native windows,
> and I know how to do it.
Then I wonder why you complained about concurrency problems (solved
by using a worker thread, or using wx.Yield) in the first place.
Windows has the same solutions, just as about every GUI framework.
On 8/13/07, [david] <[EMAIL PROTECTED]> wrote:
> Well yes, I have tried this app with native windows,
> and I know how to do it.
>
I don't believe you. If you meant "I copied something that does this
off of code project", that I'll believe.
> But if all wxPython can offer is a poor imitation
> of
Steve, it wasn't me that raised the comparison
with MFC. If you don't think that's a helpful
comparison, why not reply to that post instead?
I don't mind Björn's suggestion that I don't
know what I'm talking about, because I started
it by telling him he was wrong.
But you don't have that excuse.
[david] wrote:
> Well yes, I have tried this app with native windows,
> and I know how to do it.
>
> But if all wxPython can offer is a poor imitation
> of MFC, I'm better off using MFC aren't I?
>
> And too all those people who wrote back to insist
> that users MUST explicitly build a multi-thre
Well yes, I have tried this app with native windows,
and I know how to do it.
But if all wxPython can offer is a poor imitation
of MFC, I'm better off using MFC aren't I?
And too all those people who wrote back to insist
that users MUST explicitly build a multi-threaded
framework for wxPython:
I
On 8/9/07, Heikki Toivonen <[EMAIL PROTECTED]> wrote:
> [david] wrote:
> > I'd like to refresh the display before I start the main loop.
>
> We have this kind of situation in Chandler, where we display and update
> the splash screen before we enter MainLoop.
>
> 1. Create app object
>http://lxr
[david] wrote:
> [...] I don't think wxPython is really ready for Windows.
>
I don't think you are really ready to for GUIs ;-)
Fortunately, it doesn't matter what *I* think.
regards
Steve
--
Steve Holden+1 571 484 6266 +1 800 494 3119
Holden Web LLC/Ltd http://www.holden
[david] wrote:
> I'm disappointed that I didn't get a wxPython solution.
>
> If the only way to get wxPython to correctly handle
> this simple task is to code around it,
LOL -- did you try coding this app with native windows means, like
MFC? You will have *exactly* the same problem, and *exactl
On Aug 9, 8:51 pm, "[david]" <[EMAIL PROTECTED]> wrote:
> I'm disappointed that I didn't get a wxPython solution.
>
> If the only way to get wxPython to correctly handle
> this simple task is to code around it, I don't think
> wxPython is really ready for Windows.
>
> Is there a better place to ask
On 8/9/07, [david] <[EMAIL PROTECTED]> wrote:
> I'm disappointed that I didn't get a wxPython solution.
>
> If the only way to get wxPython to correctly handle
> this simple task is to code around it, I don't think
> wxPython is really ready for Windows.
>
This sort of blathering is really just in
[david] wrote:
> I'd like to refresh the display before I start the main loop.
We have this kind of situation in Chandler, where we display and update
the splash screen before we enter MainLoop.
1. Create app object
http://lxr.osafoundation.org/source/chandler/Chandler.py#080
2. During app ob
On 8/9/07, [david] <[EMAIL PROTECTED]> wrote:
>
> I'm disappointed that I didn't get a wxPython solution.
>
> If the only way to get wxPython to correctly handle
> this simple task is to code around it, I don't think
> wxPython is really ready for Windows.
A thread *is* basically the right answer
I'm disappointed that I didn't get a wxPython solution.
If the only way to get wxPython to correctly handle
this simple task is to code around it, I don't think
wxPython is really ready for Windows.
Is there a better place to ask?
Regarding the suggestions:
Bjoern, you're wrong. The GUI needs t
On Aug 8, 11:25 pm, "[david]" <[EMAIL PROTECTED]> wrote:
> I'd like to refresh the display before I start the main loop.
>
> I have code like this:
>
> app = App()
> app.Show()
> app.long_slow_init()
> app.MainLoop()
>
> The main frame partly loads at Show, but because the mainloop has not
> starte
On Aug 9, 12:25 am, "[david]" <[EMAIL PROTECTED]> wrote:
> I'd like to refresh the display before I start the main loop.
>
> I have code like this:
>
> app = App()
> app.Show()
> app.long_slow_init()
> app.MainLoop()
>
> The main frame partly loads at Show, but because the mainloop has not
> starte
[david] wrote:
> I'd like to refresh the display before I start the main loop.
> [...]
> I'd like to just make app.Show() finish correctly before running
> long_slow_init.
IMHO, this will bring no gain. If you see an inresponsive user
interface or not is quite meaningless.
> Or is there a better
I reorganized my Thread class a little bit:
class MyThread(threading.Thread):
def __init__(self, a_frame):
threading.Thread.__init__(self)
self.frame_obj = a_frame
def run(self):
result = self.long_slow_init()
wx.CallAfter(self.frame_obj.recei
On Aug 8, 11:25 pm, "[david]" <[EMAIL PROTECTED]> wrote:
> I'd like to refresh the display before I start the main loop.
>
> I have code like this:
>
> app = App()
> app.Show()
> app.long_slow_init()
> app.MainLoop()
>
> The main frame partly loads at Show, but because the mainloop has not
> starte
I'd like to refresh the display before I start the main loop.
I have code like this:
app = App()
app.Show()
app.long_slow_init()
app.MainLoop()
The main frame partly loads at Show, but because the mainloop has not
started yet, the display does not update until long_slow_init() finishes.
Alter
25 matches
Mail list logo