Gesture Listener

Jim Colton jimcolt at
Tue Sep 2 16:20:43 CEST 2008

What I think happens is what I stated in my original mail.  ;)   Each
application that has registered a doLayout() callback with the gesture
listener gets laid out again and therefore each component of the layout will
know it's new position and dimension so that touch screen events for it can
be identified and acted upon.  A button component for example.

On Mon, Sep 1, 2008 at 9:37 PM, Joel Newkirk <freerunner at> wrote:

> Jim Colton wrote:
> >
> > So that the GUI applications work right, seems to me that they need to
> > be built using "Layout managers", the top manager in the GUI being
> > called with the new dimensions by this gesture listener... after the
> > orientation has changed.  Each manager calls doLayout() on each of
> > it's children.
> What do you think happens when a window is resized? ;)  It's usually an
> oversight if an app is written with the expectation of permanent
> unchanging window dimensions.  (even console-based Midnight Commander
> redraws itself to fit if its containing console is resized, though
> without the patch I'm polishing up it can't switch from horizontal to
> vertical layout automatically, just reshapes itself to fit)  Even
> developing for a purely cellphone environment with modal apps you
> shouldn't presume you'll always have the same dimensions - in three
> months there might be an updated model with a higher resolution, for
> example.
> j
> _______________________________________________
> support mailing list
> support at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the support mailing list