Re: [qooxdoo-devel] Make a SlideBar behave like a List

2010-06-04 Thread david leray
Hi, I've tried what you suggested. I've done the inheritance from SlideBar and included/added the needed parts, and now I get those errors : There is no event handler for the event 'addItem' on target 'editor.components.core.SlideBarList[4k0]'! There is no event handler for the event 'removeItem'

Re: [qooxdoo-devel] Make a SlideBar behave like a List

2010-06-02 Thread Christian Hagendorn
Hi David, okay, I'm not sure if this works, but give it a try: 1) extend the SlideBar 2) include the qx.ui.core.MMultiSelectionHandling mixin 3) define a member "SELECTION_MANAGER : qx.ui.core.selection.ScrollArea" I hope that this works to use the selection manger from the list for the SlideBa

Re: [qooxdoo-devel] Make a SlideBar behave like a List

2010-06-02 Thread david leray
Thank you for your answer. Actually we would like to implement a selection behaviour for our SlideBar. We get rid of the scroll problem by using the child control mecanism you talk about. But now we are considering implementing the selection behaviour on our own on the SlideBar. That is to say hav

Re: [qooxdoo-devel] Make a SlideBar behave like a List

2010-06-01 Thread Christian Hagendorn
Hi David, I think the easy way is to create an own List and an own ListItem. Your ListItem should extend from the qooxdoo ListItem and implements one entry. Your List should extend the qooxdoo List. The List has the event handler method _onScrollPaneY for e.q. which is informed about the y-a

[qooxdoo-devel] Make a SlideBar behave like a List

2010-05-31 Thread david leray
Hi ! I'm developping a "get-hot-new-stuff"-like widget for a qooxdoo app (as in KDE for downloading new themes, wallpapers, and so on, example here : http://blogs.fsfe.org/gladhorn/files/2009/11/ghns_preview.png). So basically it is a SlidBar container with all the stuff in it. But I need : 1/