如何在gtk c#中设置列宽?

时间:2015-12-18 05:11:56

标签: c# treeview gtk monodevelop

这是我在gtk中的TreeView中的代码。请帮我刷新gtk

Gtk.TreeViewColumn activeColumn = new Gtk.TreeViewColumn ();   
activeColumn.Title = "Active";   
activeColumn.Expand = true;   
activeColumn.Sizing = TreeViewColumnSizing.Fixed;   
activeColumn.MinWidth = 100;   
Gtk.CellRendererPixbuf activeCell = new Gtk.CellRendererPixbuf ();  
activeColumn.PackStart (activeCell, true);  
activeColumn.AddAttribute (activeCell, "pixbuf", 6);  

0 个答案:

没有答案