Hi, there, I'm using a TreeView as a list box (i.e., I use a ListStore and plain text elements). While adding columns, I include the following code:
== // Add columns for(int colNum = 0; colNum < this.NumCols -1; ++colNum) { column = new Gtk.TreeViewColumn { Title = this.Headers[ colNum ], Sizing = Gtk.TreeViewColumnSizing.Autosize }; cellRenderer = new Gtk.CellRendererText { WrapMode = Pango.WrapMode.WordChar }; column.PackStart( cellRenderer, true ); column.AddAttribute( cellRenderer, "text", colNum + 1 ); cellRenderer.Edited += OnCellEdited; tvTable.AppendColumn( column ); } == The objective here is to achieve a list box in which each option can have multiple rows. Using Pango.WrapMode.WordChar makes me include the Pango assembly reference mandatorily. That is not a problem, but yet it still does not work. What mudt I don in order to achieve word wrapping? Is this possible at all? Regards, -- Baltasar
_______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.dot.net http://lists.dot.net/mailman/listinfo/gtk-sharp-list