Re: Force containers to be list-like

2008-11-25 Thread BJörn Lindqvist
And the patch is here: http://bugzilla.gnome.org/show_bug.cgi?id=562244 2008/10/7 BJörn Lindqvist <[EMAIL PROTECTED]>: > Hello good people, > > I think there should be a contract that all subclasses of GtkContainer > must implement. Conceptually, a container is a collection of > widgets. Usually

Re: Force containers to be list-like

2008-10-08 Thread BJörn Lindqvist
2008/10/8 Xavier Bestel <[EMAIL PROTECTED]>: > On Tue, 2008-10-07 at 21:52 +, BJörn Lindqvist wrote: >> In the future (3.0 maybe?) it would be cool if there was a Sequence >> interface that container widgets could implement. That way it would be >> more explicit how containers should be impleme

Re: Force containers to be list-like

2008-10-08 Thread Xavier Bestel
On Tue, 2008-10-07 at 21:52 +, BJörn Lindqvist wrote: > In the future (3.0 maybe?) it would be cool if there was a Sequence > interface that container widgets could implement. That way it would be > more explicit how containers should be implemented. And other > list-like widgets could also imp

Force containers to be list-like

2008-10-07 Thread BJörn Lindqvist
Hello good people, I think there should be a contract that all subclasses of GtkContainer must implement. Conceptually, a container is a collection of widgets. Usually that collection is implemented as a list but it does not have to be [1]. This means that: 1. The order child widgets are stored i