Actor pattern in GUI

M Ali ali.jan at gmail.com
Thu Mar 31 02:26:38 EST 2005


Hmm... no takers? Too bad, the pattern and it's implementation in
python is pretty interesting...

ali.jan at gmail.com (M Ali) wrote in message news:<8acb5ef8.0503290407.76392bd at posting.google.com>...
> Hi,
> 
> I am trying to grok using actor patterns in a gui as explained here by
> Andrew Eland:
> http://www.andreweland.org/code/gui-actor.html 
> 
> The short article explains it using java with which i am not used to
> at all. But he does provide a python example using pygtk:
> http://www.andreweland.org/code/gui-actor.py
> 
> Could anyone look into it and maybe explain it a bit as i don't really
> get at all what's happening?
> 
> In addition I am getting these error when I try to run it:
> 
> GLib-WARNING **: giowin32.c:1654: 3 is neither a file descriptor or a
> socket
> GLib-CRITICAL **: g_io_add_watch_full: assertion `channel != NULL'
> failed
> GLib-CRITICAL **: g_io_channel_unref: assertion `channel != NULL'
> failed
> 
> Any ideas?
> 
> Thanks...



More information about the Python-list mailing list