Re: GtkTreeView madness...



On Thu, Feb 14, 2002 at 04:26:19PM +0100, Fabio Rotondo wrote:
1-  can anybody explain me where is the main difference between GtkListStore
and GtkTreeStore?

Elements of a list don't have children.  Elements of a tree can have children.

2 - If I have all my data inside my private structures and want to show 
them inside
a TreeView, which one of the above shoud I use to not duplicate data?

The best way is to implement a GtkTreeModel interface for your private
data structure.

3 - Do I need a CellRenderer if all my columns just render text? If so, 
can I "share" the CellRenderer or should I create one for each column?

i'm not sure, but based on practical experience: sharing doesn't work.

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org



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