All pastes #738433 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-10-16 09:47 UTC
rendered paste body
        public void set_tree_column_names (string[] namesArray)
        {

                int c=0;

                TreeViewColumn tvcol;

                tree.HeadersClickable = true;

                foreach (String colName in namesArray) {

                        tvcol = tree.AppendColumn (colName, new Gtk.CellRendererText (), "text", c);
//                      tvcol.Clicked += tree_column_clicked;
                        tvcol.SortIndicator = true;
                        tvcol.Clickable = true;
                        c++;

                }

        }