Re: Flipping a TreeView

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

 



Well, you may try to.

Although, I would suggest you to keep your data in your own container and just use conversion function to set model data then display it with method I described before. I guess, that will be much easier to implement and will save your time to fix all mistakes you could make there.

Regards,
-Andrew

Duncan Sands wrote:

On Thursday 09 October 2003 09:05, Andrew E. Makeev wrote:


1st - you could to implement your own CellRenderer for your coulumn and
render data as you would to see it.
2nd - attach function to column<gchar *> that will format data for you
(property "text").
Description is available in GTK API Reference.


Hi Andrew, thanks for your help.  I don't think it solves my problem though:
I don't want the text to be rendered differently, I want it to be rendered in
a different place: I would like the text at position (I,J) in the model to be
rendered in position (J,I) in the view.  As far as I understand, cell renderers
work on columns: you associate column I of the tree view with some column
I' of the model, and the renderer renders the column.  Using your own
renderer won't change the fact that columns of the model correspond to
columns of the view, and I would like a column of the model to correspond
to a row of the view.

Maybe I need to write my own model?




_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux