[Y-devel] Widgets in a canvas

Mark Thomas mark at www.y-windows.org
Tue Feb 24 22:21:04 GMT 2004


On Tue, 24 Feb 2004, Lincoln Quirk wrote:

> Well, I like these ideas. Perhaps a layered layout is what you're
> looking for:
>
> Make LayerLayout a layout (similar in the hierarchy to GridLayout) -- it
> manages different widgets, so in that respect it is a layout. (I'm
> having second thoughts about the name though...0
>
> LayerLayout should have any number of layers. You can add layers, hide
> them, reorder them, remove them, etc. I believe they should each be
> buffered separately.
>
> That way you can have a Canvas on a lower layer than your widgets, and
> they should interact properly.

That's a fantastic idea.  Noted.

> In addition, a layout that allows you to place widgets in terms of X/Y
> coordinates may also be useful, but I don't have a good idea of how that
> should be implemented yet.

Yes, this is planned (though feel free to implement it now if you're
looking for something to do). Something like grid layout, but just keeps a
list of
  { x, y, widget }
and provides a mechanism for clients to modify that list.

Can everyone please try and post replies under previous messages (like
this one does) so that your mail reads like a discussion.  Also trim
irrelevent parts of the previous mails.

Regards,

  Mark.
-- 
|| Mark Thomas
|| efaref.net
||
|| Daddy, why doesn't this magnet pick up this floppy?



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved