Hi, guys. I have one more question about GtkTreeView.
In my GtkTreeView, another column use GtkCellRenderCombo, and I tried store the GtkListStore (for GtkCellRenderCombo) using G_TYPE_OBJECT and set it up as an attribute ("model" -> list_store). But this doesn't seem work properly and warning occurs. [W] unable to set property `model' of type `GtkTreeModel' from value of type `GObject' If I use G_TYPE_INTERFACE rather than G_TYPE_OBJECT. the warning disappears but tree view does not work. Is there something different when using GtkCellRenderCombo in this case? Thanks, :-) 2008/12/9 Keedi Kim <[EMAIL PROTECTED]> > Tadej, Tristan, Thanks! > > In fact I misunderstood about attributes and GtkCellRenderSpin, > and I thought each column's spin cell renderer could have only one > adjustments. > but it was not true. :-) > > As you were mentioned, > I use tree model to store adjustment for each row of columns, > and connect them using attributes, then everything works great! > > Thanks again! :-) > > > 2008/12/9 Tristan Van Berkom <[EMAIL PROTECTED]> > > On Mon, Dec 8, 2008 at 6:02 AM, Keedi Kim <[EMAIL PROTECTED]> wrote: >> > Hi! :-) >> > >> > I have some question about GtkTreeView and GtkCellRenderer. >> > Is it possible to have different GtkAdjustment values for each >> > column(renderer?) in GtkTreeView? >> >> Is there any reason you cant just store the adjustment in the model >> and set it up as an attribute ? or am I missing what you want to >> accomplish ? >> >> Cheers, >> -Tristan >> > > > > -- > Best regards, > > Keedi Kim > > -- Best regards, Keedi Kim _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list