Re: [gtkmm] TreeView / List View Question



On Wed, 2004-04-21 at 13:44, Matthew Walton wrote:
> NalDie wrote:
> > is it possible for a Treeview or Listview to display rows with different
> > Collumn records together ??
> > 
> > something like this:
> > 
> > | int | string |
> > | string | string | int |
> > | string | string | int |
> > | int | string |
> > | string | string | int |
> > | string | string | int |
> > | string | string | int |
> > 
> > or 
> > 
> > | int | string |
> >     | string | string | int |
> >     | string | string | int |
> > | int | string |
> >     | string | string | int |
> >     | string | string | int |
> >     | string | string | int |
> > 
> 
> Short answer: no
> Long answer: if you did some very clever trickery with custom types and 
> custom CellRenderers you could probably create that effect. Although if 
> you just want ints and strings, you could possibly just store the ints 
> in string form and then all the columns would be the same type, but 
> that's a special case.

There is some discussion on gtk-devel at the moment about a GtkGrid
widget that would allow different types of data in the same column -
something that is required by spreadsheets.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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