Stanislav Ievlev schrieb:
Greetings!
Why qooxdoo updates browser window content only on mouse moving?
Because qooxdoo is great ;)
qooxdoo flushes the queue on any user event: mouse, keyboard, focus, ...
If you want to flush the queue also when another event like an AJAX
transport or a timer based occurs, please call:
QxWidget.flushGlobalQueues();
But keep in mind to do it not so often, because the layout process is
complex sometimes and qooxdoo with it's queues tries to optimize it. If
it will be broken into too many times it looses most of its efficiency.
Sebastian
In example below:
--
var timer;
var lbl;
var num = 0;
function zzz()
{
num += 1;
lbl.setLabel("a"+num);
}
window.application.main = function()
{
try
{
QxImageManager.setPath("public/images/");
var d = this.getClientWindow().getClientDocument();
lbl = new QxAtom();
lbl.setWidth("100%");
lbl.setHeight("100%");
lbl.setLabel("a"+num);
d.add(lbl);
setInterval("zzz();",1000);
}
catch(e) {alert(e); }
};
--
label content will not change until I move a mouse.
So we cannot made even simple clock using qooxdoo.
--
With best regards
Stanislav Ievlev.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel