Re: Force containers to be list-like
- From: "BJörn Lindqvist" <bjourne gmail com>
- To: "Xavier Bestel" <xavier bestel free fr>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: Force containers to be list-like
- Date: Thu, 9 Oct 2008 03:48:04 +0200
2008/10/8 Xavier Bestel <xavier bestel free fr>:
> On Tue, 2008-10-07 at 21:52 +0000, 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 implement that interface (GtkListStore,
>> GtkCellView and GtkMenuShell for example).
>
> Something like [1]libgee's List interface ?
Exactly! But the wheels at gtk turn slowly, getting to know that these
classes are list-like would be enough for now. In the future it would
of course be much better if gtk totally integrated the concepts from
abstract data types.
It is very 8mportant to know if a GtkContaineer is a set or if it is
list-like. For many reasons.
--
mvh Björn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]