if you need a immediate visibility of your "action", just use:

QxWidget.flushGlobalQueues()

and you will see, what you're done ;-)

Olli

Stanislav Ievlev schrieb:

Greetings!

Why qooxdoo updates browser window content only on mouse moving?

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

Reply via email to