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 having a "selectionChange" event
triggered when one click on an item (a custom qooxdoo container) that
returns the clicked item. So we checked in the List source code for
directions but we found anything relevant (we go up the hierarchy to the
qx.ui.core.selection.Abstract class, but we don't get when the link between
events are made). Have you any idea of what we can do ?

On Tue, Jun 1, 2010 at 3:05 PM, Christian Hagendorn <
christian.hagend...@1und1.de> wrote:

>  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-axis scrolling.
> You can override the method, and add your behavior to check when the end of
> the scrolling is reached. You can find all needed methods on
> qx.ui.core.scroll.ScrollPane, which is the child control "pane" in the list
> widget.
>
> If you have further questions, please ask.
>
> Cheers,
> Chris
>
>  The list has the qx.ui.core.scroll.ScrollPane for the scrolling, so you
> can override for e.q.
>
> Am 31.05.2010 21:50, schrieb 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/ to make those elements selectable like a qx.ui.form.List object ;
>  2/ to listen to a "scroll" event to know when to ask new stuff to the
> server (that is to say : we begin with a small amount of elements, and we
> ask dynamically to continue the list when the user reach the end of the bar)
>
> So my question is : is it possible to do this with a SlideBar ? For the
> first point, it means having an event selectionChange on the SlideBar and
> for the 2nd point, it means having an access to the scroll.
>
> If not, have you any suggestion to implement such a thing in an elegant way
> ?
>
> thank you in advance !
>  --
> David Leray
>
>
>
> --
> Christian Hagendorn
> Software Entwickler
>
> 1&1 Internet AG - Web Technologies
> Ernst-Frey-Straße 9 · DE-76135 Karlsruhe
>
> Amtsgericht Montabaur / HRB 6484
> Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
> Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver 
> Mauss, Gert Nowotny, Jan Oetjen
> Aufsichtsratsvorsitzender: Michael Scheeren
>
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


-- 
David Leray
------------------------------------------------------------------------------

_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to