[PyKDE] Window refresh from another process

Albert Cervera Areny informatic at sedifa.com
Wed Jul 2 12:09:00 BST 2003


> On Wednesday 02 July 2003 9:22 am, Albert Cervera Areny wrote:
>>   Hi, I'm developing a small frontend which runs a XML-RPC server and
>> each
>> time it receives an event it adds an item to a QListView and
>> prints something in a QLabel.
>>
>>   The problem is that when the event occurs the window isn't refreshed
>> until I move the mouse cursor. The XML-RPC process calls the window
>> addEvent function (I've written) and the last thing it does is calling
>> self.repaint(0) but it doesn't work.
>>
>>   Does somebody have a clue of how I could solve this?
>
> Is self.update() any better?

No. It's exactly the same

>
> Phil
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>
>


Albert Cervera Areny




More information about the PyQt mailing list