Le 11/09/2012 01:55, Willy Raets a écrit :
> On di, 2012-09-11 at 01:49 +0200, Benoît Minisini wrote:
>> Le 11/09/2012 01:38, Willy Raets a écrit :
>>
>> The Show event is officially raised after the window is visible, but
>> apparently you cannot be sure with Qt.
>>
>> Try to do your animation the first time the Activate event is raised
>> instead.
>
> That worked for me :)
>
> Thanks,
>
> Willy
>
>

After having read the Qt source code, I can confirm that the Show event 
is raised *before* the window is shown, whereas with GTK+ the event is 
raised after X11 has notified that the window *has been* mapped.

Weird...

-- 
Benoît Minisini

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to