Hi Matthew, I like this enhancement. It's very similar to the QAction class in Qt <http://doc.trolltech.com/4.5/qaction.html>. Please open an enhancement bug for this. Since it requires some changes to our widget I don't know in which time frame we can address this issue.
Best Fabian > Hi All, > I have created a custom class that extends from qx.event.Command. It > works in exactly the same way but as well as the "enabled" property it > also has properties for "label", "icon", "autoCheck", "checked" and > "menu". The advantage of this is you can create the command once with > the correct icon and label and then assign it to multiple widgets of > different types, for example you could have a menu item and a button > with the same command. > > Would any body be interested in this? If so I'll convert it to a patch > for the original and open an enhancement bug > -- Fabian Jakobs JavaScript Framework Developer 1&1 Internet AG - Web Technologies Ernst-Frey-Straße 9 · DE-76135 Karlsruhe Telefon: +49 721 91374-6784 [email protected] Amtsgericht Montabaur / HRB 6484 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
