[Gtk-sharp-list] GTK treeview question merging texts across columns

Adam Tauno Williams awilliam at whitemice.org
Wed Nov 26 09:26:13 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. 
> > 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:
> > NODE
> > |- CHILD1
> > |- CHILD2
> >> Any help would be appreciated,
> > Thanks for your help but YPad = 0 did not help. The grid is showing the
> > same.

Perhaps you can post a screenshot somewhere?  Can this be influence by
theme possibly?

> > Anyway maybe I am going the wrong path here.
> > What I am trying is to make a task diagram that is showing cues of tasks
> > in rows. Like the following scheme:
> >       USER1:     TASK1    |                  TASK2              | TASK3 |
> >       USER2:  TASK4  |       TASK5     | TASK6 |
> > Is there any widget that does this?
> > Or do I have to make a new one from the very beggining?

Do you mean something like a Gantt chart?
<http://live.gnome.org/Planner/Screenshots?action=AttachFile&do=view&target=exportedhtml.png>




More information about the Gtk-sharp-list mailing list