On Tue, 2008-07-22 at 17:23 +0800, Pizza wrote:
> Hi,
> I'm quite new to clutter and even to programming, so maybe my questions
> are silly.
> 1. It seems that ClutterListModel is similar to GtkListStore. Are the
> usages similar too?

partially.

> 2. If yes, why there are only two APIs for ClutterListModel while there
> are many more for GtkListStore?

because GtkListStore is an implementation of the GtkTreeModel interface,
which cannot assume anything about the implementation.

on the other hand, ClutterListModel is a subclass of ClutterModel, which
is an abstract class. a lot of the methods that GtkTreeModel
implementations must provide can be written as ClutterModel methods
instead.

> Does it mean I should implement those functions myself?
> 3. Is there any example of using ClutterListModel? Or maybe a tip?

the test-model.c file under tests/ shows how use ClutterListModel and
ClutterModel - by exercising its API.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, OpenedHand Ltd.
Unit R, Homesdale Business Centre
216-218 Homesdale Rd., Bromley - BR12QZ
http://www.o-hand.com

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to