Hi devs,

 

as I could see, nether Desktop nor Manager has any event to check wich
window is active at the moment. I mean every window has this event for its
own, but it would be more consequent to use a Desktop for MDI like apps if
you could check if active window changes. It would be comfortable if any
state change of active window would fire an event at manager. 

 

Or am I thinking wrong, is their any more elegant way?

 

I will help me out with an subclass of qx.ui.window.Manager and just enhance
changeActiveWindow like this:

 

changeActiveWindow : function(active, oldActive) {

      if (active) {

        this.bringToFront(active);

        active.setActive(true);

            this.fireDataEvent('changeActive', active, oldActive)

      }

      if (oldActive) {

        oldActive.resetActive();

      }

    },

 

And than I should subclass Window to fire an event like 'changeActiveState'
at restored, maximize and minimize.

 

Or am I off the track?

 

Regards Sak

 

 


 


SAKsystems

Inh. Mustafa Sak

Varrelmannstr. 16

30453 Hannover

Tel.   +49 511 / 165 969 40

Fax   +49 511 / 165 969 49

Mobil +49 163 / 312 6144

http://www.saksys.de

 <mailto:[email protected]> [email protected]

STEUER-Nr. 2613817458

 

<<attachment: Mustafa Sak ([email protected]).vcf>>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to