[Gtk-sharp-list] GTK treeview question merging texts across columns
christian_hoff at gmx.net
Tue Nov 25 13:53:33 EST 2008
> First I want to tell that I have been searching this forum and the web for
> the below information with no luck. Also I have been checking the GTK
> documentation, specially the treeview and treenode class docs.
> Now the problem:
> I am trying to port a MS Visual Basic 6 application to Gtk#. My VB6
> application is using a control called flexgrid that allows data to be placed
> in columns and rows. One feature of this control is that it lets you merge
> the text from one column to the next column, so if two or more contiguous
> columns have the same text then this text is shown only once, centred across
> all the columns.
> Does anybody know if there is any way to implement this with treeview?
No, this is not possible.
> Also I am trying that when the columns are shown there is no space/separator
> between each column. Is this possible?
> I have been trying this with treeview1.EnableGridLines =
> TreeViewGridLines.None; also with no effect.
What seperator are you talking about? Maybe setting the YPad of all
CellRenderers to 0 helps. In any case, the grid lines do not appear
between columns but instead display the hiarchy:
> Any help would be appreciated,
> Thanks in advance,
More information about the Gtk-sharp-list