[GRASS-dev] Announcing Signal class for wxGUI

Martin Landa landa.martin at gmail.com
Fri Mar 15 12:53:19 PDT 2013


Hi,

2013/3/15 Vaclav Petras <wenzeslaus at gmail.com>:

> In short, simple function calls are not sufficient in the GUI, event
> driven and large environment with many persistent objects because
> using simple function calls would lead to tightly coupled code. Thus,
> some better mechanism is needed such as Observer design pattern. Anna
> and I decided to use Signal system which is similar to Signals used in
> PyQt and other frameworks. As the underlying library, we have chosen
> PyDispatcher because it provides very general API which enables to
> implement Signal API, wide and robust functionality which makes
> implementation and use of Signals easier.

it's reasonable approach, thanks for hard work!

Martin

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa


More information about the grass-dev mailing list