Re: Two warnings when creating a TreeStore



В Срд, 12/09/2007 в 18:04 -0400, José Alburquerque пишет:
> Murray Cumming wrote:
> > On Tue, 2007-09-11 at 17:17 -0400, Paul Davis wrote:
> >   
> >> On Tue, 2007-09-11 at 17:03 -0400, José Alburquerque wrote:
> >>
> >>     
> >>> Any ideas?  Thanks so much.
> >>>       
> >> What is an "Element" ? Gtkmm can't handle arbitary types as column
> >> template args.
> >>     
> >
> > Actually, it can, I think.
> >
> >   
> One weird question on this:  Can a pointer to a class be used in a 
> TreeModelColumn<..> of a TreeColumnRecord class (such as 
> TreeModelColumn<MyBaseClass*>)?  I'm thinking of using a pointer to my 
> class instead of the class itself.

You could use any specification of TreeModelColumn, but you should
implement custom CellRenderer then, either define SlotCellData callback
to render your column properly.

-andrew





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