Hi Franček, the most amazing thing of qooxdoo is to enchance any widget in an easy way. I guess you should just subclass SplittButton and should include the same methods and mixins like in ToggleButton, with little changes ;).
If you want to include a checkbox to a SplittButton, just take a look at child control architekture of qooxdoo, I never saw an more elegant way to handle child elements. So I would just subclass SplittButton and would add a new child control (checkbox) in it. Some Event handling to mix everything together and your own widget is ready to use. And the most important thing of all is, that you dont need to be a JS expert, just take a look to the code of e.g. qx.ui.form.Textfield, it will open your eyes! regards Sak > Hi > > Sometimes I need a button that has both properties of SplitButton and > ToggleButon. > ( SplitToggleButon ??). > Some widget toolkits have this combination. > The same is true for combination of qx.ui.toolbar.CheckBox with > qx.ui.toolbar. SplitButton > (qx.ui.toolbar.SplitToggleButon ??) > I propose such enhancement . > > Chears, > FranÄek > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/Combination-of-SplitButton-with-ToggleButon-tp6602038p6602038.html > Sent from the qooxdoo mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > 10 Tips for Better Web Security > Learn 10 ways to better secure your business today. Topics covered > include: > Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, > security Microsoft Exchange, secure Instant Messaging, and much more. > http://www.accelacomm.com/jaw/sfnl/114/51426210/ > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > ------------------------------------------------------------------------------ 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel