Thanks, that's exactly what I did and it worked great.
Randy
Tadej Borovšak wrote:
> Hi.
>
> I'm returning this back to the mailing list.
>
>> Hmm. OK, going through gtk_tree_view_insert_column_with_attributes works
>> for me, too. So there's something about the sequence of calls gen
Hi.
I'm returning this back to the mailing list.
> Hmm. OK, going through gtk_tree_view_insert_column_with_attributes works
> for me, too. So there's something about the sequence of calls generating
> this other column that creates this behavior.
>
> This is part of a large GUI project so it goes
Hi.
> The problem I'm having is with display. I'd like it only to show the
> checkbox. I can write a cell data display function to read the value
> from the model and set the checkbox appropriately. That works fine. But
> if I make the underlying value a G_TYPE_INTEGER then the column displays
> 1
I'm trying to make a column in a GtkTreeView which shows only a
checkbox, tied to a column in the underlying GtkTreeModel which is a
gboolean. I have defined the renderer to be a GtkCellRendererToggle.
The problem I'm having is with display. I'd like it only to show the
checkbox. I can write a cel