From: Nitro <ni...@dr...> - 2005-09-22 21:28:56
|
Hello, I am new to PyDispatcher and thus read through simple_sample.py. There's a line like DO_SOMETHING = ('THIS','IS','A','MORE','COMPLEX','SIGNAL') in it. Are there any places where such a "strange" signal is actually useful? Till now I've used just integers to designate each event, now I switched over to sth like this def new_event(name): setattr(__module__, name, name) new_event('TestEvt') ... What's your way to deal with defining signals? I am not sure if this is the right place to discuss PyDispatcher, however, the sourceforge forums were empty, so I asked here. Thanks for your help! -Matthias |