[Y-devel] Widgets in a canvas
Lincoln Quirk lincoln at cognitoy.com
Wed Feb 25 01:10:56 GMT 2004
On Tue, 2004-02-24 at 19:17, Jacob O'Reilly wrote:
> I'm not sure if someone's specifically said it, but it sounds to me like the
> simplest way of doing this is to have the LayerLayout implement only an
> ordered list of other layouts, each containing their respective controls.
> It's not common case that each layer would only contain one control (at
> least, that's what I'd guess).
>
> Regards,
> Jacob
I believe the simplest way is to have it contain a number of Widget
objects, which can themselves be containers (which count as widgets,
after all) or simply widgets. That adds flexibility too. Hooray.
On Tue, 2004-02-24 at 17:21, Mark Thomas wrote:
> > 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.
> Regards,
>
> Mark.
Will do... this seems simple enough. [Updated task list]
--
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved