GUI and logic
Brecht Machiels
brecht at mos6581.org
Wed Apr 2 11:20:48 PDT 2008
Hello,
On Wed, 2008-03-26 at 00:48 +0100, Vadim Zeitlin wrote:
> BM> I'm programming a little card game with the help of wxPython. This is my
> BM> first serious GUI application. It seems I'm having a bit of a problem
> BM> with the concept of event-based programming.
>
> Have you read about the classic MVC (model-view-controller) pattern? It
> applies very well to event-driven programs and while it's not directly
> encouraged by wxWidgets (which is a pity), it certainly works very well
> with it.
Thanks, this seems like a good reference. It seems to support the idea
that flow control should be done from the GUI (by the user actually).
My card game can be compared to a wizard. The user has to go through a
series of steps. I assume flow control in wizards is also managed from
within the GUI code?
On Tue, 2008-03-25 at 17:13 -0400, Igor Korot wrote:
> Did you go all the way to the end of the thread you
> referenced? It has some good points in regards to
> the initial question.
Yes I did. I'm not sure to what you are referring when you say 'initial
question' tough :)
Kind regards,
Brecht
More information about the wx-users
mailing list