Hi!

Is it possible in qx 0.8 Appearance definition to get the states of the 
partent widget
inside the appearance definition of a sub widget?

E.g.
I want to change the background color or the icon in a checkbox widget 
depending on the states of the checkbox.
Something like this:

appearances :
...
  "checkbox/icon" : {
      style : function(states)
      {
        return {
          backgroundcolor : STATES_OF_CHECKBOX.disabled ? "disabled" : 
undefined;
        };
      }
    },
...

What's the way to do this?

Thanks,
Erich

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to