martin,

 From my experiments, there appears to be one (or two in Ubuntu) click
handlers. The x,y are for the top Shoes window and not relative to the
flow/stack that the handler is attached to. In that case two handlers in
Linux is probably a bug. 

For your purpose (and mine), one handler sucks because you'll have to
track the global bounds of all your clickables yourself. And then change
them to match resize events (assuming there is a resize event). Not a
path I intend to follow. 

--cecil


On Fri, 2008-07-25 at 15:27 -0700, Martin DeMello wrote:
> So how do I give each flow its own click? (For that matter, am I doing
> this the right way in the first place? What I need is a basic
> one-column list view each of whose cells can have a different height
> and background colour, and a click handler that's aware of which cell
> was clicked. If there's a simpler way to achieve that than the code
> below, I'm open to suggestions.)
> 
> martin


Reply via email to