On Mon, Jan 19, 2009 at 5:49 PM, Steven Woody <narkewo...@gmail.com> wrote: > I am reading mark summerfield's book Rapid GUI Programming with Python > and Qt, chapter 6. In the example code, it inserted customized > behavior when user selects file->exit by overriding closeEvent() event > handler, but in other context, when a behavior is needed to handle > user interaction, the single-slot mechanism is always used.
Not having read the book myself I can't really comment, except that I -am- sure that this is specific to PyQt (at least the slots). Most GUI frameworks I know of employ a common architecture - one of an event-driven nature. cheers James -- http://mail.python.org/mailman/listinfo/python-list