Hello all.
I'm trying to use the new combo box w/ models to reduce screen
cluttering while porting an "old" app that used a plain treeview.
I already connected the model to the combo, but how can I replace:
// cbx is the combo box, zone1 is the model, v is the treeview
gtk_combo_box_set_model(c
Diego Zuccato wrote:
Hello all.
I'm trying to use the new combo box w/ models to reduce screen
cluttering while porting an "old" app that used a plain treeview.
I already connected the model to the combo, but how can I replace:
// cbx is the combo box, zone1 is the model, v is the treeview
gtk_comb
Stephane Wirtel wrote:
> But, don't use GtkTreeViewColumn, but GtkCellLayout.
Tks. I didn't realize.
But why are you creating a new renderer every time? I'm using a single
renderer and it seems to work well.
Once the renderer is used, should it be freed (unreferenced?) ?
BYtE,
Diego.
___