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

luimarma tech at ppciberica.com
Wed Nov 26 05:37:29 EST 2008




Christian Hoff wrote:
> 
> luimarma schrieb:
>> Hello,
>>
>> 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:
> NODE
> |- CHILD1
> |- CHILD2
> 
>> Any help would be appreciated,
>>
>> Thanks in advance,
>>
>> Luis
>>   
> 
> Thanks for your help but YPad = 0 did not help. The grid is showing the
> same.
> 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?
> 
> Thanks in advance,
> 
> Luis
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
> 
> 

-- 
View this message in context: http://www.nabble.com/GTK-treeview-question-merging-texts-across-columns-tp20677373p20698430.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.



More information about the Gtk-sharp-list mailing list