On Tue, Apr 17, 2012 at 4:09 PM, alhad <alhaddeshpa...@gmail.com> wrote:
> but, i am getting AttributeError for "paintRequested"

Before executing that line, find out what 'preview' contains. My guess
is that you have an error return such as None, which will of course
not have a paintRequested attribute. If it's not obvious to you as
soon as you see what preview is, follow Vincent's advice and post a
full error traceback.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to