Re: copy a GtkTreeView



As an addendum, why shouldn't I just be able to use g_value_copy?
Everything I'm dealing with is an object and should react like one. So
at least in theory I should be able to copy objects very easily and
the ref counts (and whatever else) just gets updated accordingly. And
once I have the "copied" object I should just be able to use it.

Mark Kegel

PS Many apologies for spamming the list with the second message. I
thought that GMail had somehow eaten my message.

On 7/17/06, Mark Kegel <mark kegel gmail com> wrote:
I've been reading through the documentation trying to figure out how
to copy a GtkTreeView (or barring that a GtkTreeViewColumn) and I
don't see anything that would allow me to do that. I've managed to
figure out how to copy the model, but the view and the column(s) don't
seem to be copiable. I tried to use g_copy_value but that only gave me
a shallow copy. Really I only need to be able to copy the columns
contained in the view, because I could then just create a new view and
through the columns and model in, but I would prefer a solution that
could copy the entire view. Is this even possible? Thanks.

Mark Kegel




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