Colonnes redimensionnables la ou c'était nécessaire

This commit is contained in:
tzim 2015-06-04 09:51:28 +00:00
parent f01883444e
commit 59d40ad743
2 changed files with 5 additions and 0 deletions

View file

@ -117,6 +117,7 @@ namespace DMX2
nomCol.Title = "Nom";
nomCol.PackStart (nomCell, true);
nomCol.SetCellDataFunc (nomCell, new Gtk.TreeCellDataFunc (RenderMatriceNom));
nomCol.Resizable = true;
nomCell.Editable = true;
nomCell.Edited += OnNomCellEdited;
this.MatriceUI.AppendColumn (nomCol);
@ -126,6 +127,7 @@ namespace DMX2
dureeCol.Title = "Durée";
dureeCol.PackStart (dureeCell, true);
dureeCol.SetCellDataFunc (dureeCell, new Gtk.TreeCellDataFunc (RenderMatriceDuree));
dureeCol.Resizable = true;
dureeCell.Editable = true;
dureeCell.Edited += OnDureeCellEdited;
this.MatriceUI.AppendColumn (dureeCol);
@ -162,6 +164,7 @@ namespace DMX2
seqCol.Title = seq.Name;
seqCol.PackStart(seqCell, true);
seqCol.SetCellDataFunc ( seqCell, new Gtk.TreeCellDataFunc(RenderMatriceSeqVal));
seqCol.Resizable = true;
seqCell.Editable = true;
seqCell.Edited += OnSeqValCellEdited;
seqCell.Data[seqkey] = seq;

View file

@ -85,6 +85,7 @@ namespace DMX2
nomCol.Title = "Nom";
nomCol.PackStart (nomCell, true);
nomCol.SetCellDataFunc (nomCell, new Gtk.TreeCellDataFunc (RenderMatriceNom));
nomCol.Resizable = true;
nomCell.Editable = true;
nomCell.Edited += OnNomCellEdited;
effetsListe.AppendColumn (nomCol);
@ -103,6 +104,7 @@ namespace DMX2
circuitsCol.Title = "Circuits";
circuitsCol.PackStart (circuitsCell, true);
circuitsCol.SetCellDataFunc (circuitsCell, new Gtk.TreeCellDataFunc (RenderMatriceCircuits));
circuitsCol.Resizable = true;
circuitsCell.Editable = true;
circuitsCell.Edited += OnCircuitsCellEdited;
effetsListe.AppendColumn (circuitsCol);