Hello,

I've just started playing with clutter, and I'm enjoying it. I do have
a question.

I've got a box with a flow_layout_manger set on it and a bunch of
actors in it - rectangles, and many more than will fit in the box.
When this is drawn the actors spill out over the bottom of the box
(the layout is a horizontal one).
If I set the box to reactive, and enable dragging on it, I can click
and pan my collection of actors that are it's children. However, since
the box's y dimension is much smaller than that of all of it's actors,
if I click on one of it's children that happens to be drawn outside
the box, there is no dragging effect.

I may be approaching this in the wrong direction, but what is the
'right' way to handle this case? I can either imagine a scenario where
I find the size of the union of the children and set the box to be
that size, or I make the children reactive and pass drag events on to
their parent. I dislike that latter solution a little bit because it
wouldn't allow dragging if I asked the layout manager to space out the
children - there would be nothing for my drag-clicks to hit.

Any ideas?

Thanks!
Jason
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to