Re: Why was GtkCList deprecated?



Emmanuele Bassi wrote:
> On Wed, 2008-12-10 at 12:52 -0800, Ian Puleston wrote:
>>> -----Original Message-----
>>> From: Emmanuele Bassi
>>>
>>> On Tue, 2008-12-09 at 04:05 -0800, 198710 wrote:
>>>> "GtkCList has been deprecated since GTK+ 2.0 and should not be used
>>> so I'd suggest you read the documentation
>>> for the TreeView - there's not much you cannot do with it.
>> That's true, but GtkTreeView is pretty heavy duty and overkill for a lot of
>> (most?) purposes. I've used it quite a lot now and every time I have to go
>> back to the docs and look at other examples to work out what the heck all
>> the models, iters, paths etc. are doing. It would be nice if we had some
>> simpler standardized widgets that implemented simple list views (like
>> GtkList and maybe GtkCList, although I don't know that one) that could use
>> GtkTreeView behind the scenes, acting as a font-end to it and providing a
>> nice simple to use API.
> 
> a SimpleList widget, wrapping most of the TreeView MVC implementation in
> a simple API is already planned and developed by Kris - also taking into
> account the similar API implemented by high level languages bindings
> like Python and Perl; as soon as he finishes it, he'll send it to the
> gtk-devel-list for review. hopefully, in time for 2.16.

Do you have any migration tips for converting old code using GtkCList to
GtkTreeView? In a project I'm slightly involved in, we've used GtkCList
for ages, and they're quite stuck in the code. How can we
migrate/convert in a simple way?

-Øystein

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]