Colonnes redimensionnables la ou c'était nécessaire
This commit is contained in:
parent
f01883444e
commit
59d40ad743
2 changed files with 5 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ namespace DMX2
|
||||||
nomCol.Title = "Nom";
|
nomCol.Title = "Nom";
|
||||||
nomCol.PackStart (nomCell, true);
|
nomCol.PackStart (nomCell, true);
|
||||||
nomCol.SetCellDataFunc (nomCell, new Gtk.TreeCellDataFunc (RenderMatriceNom));
|
nomCol.SetCellDataFunc (nomCell, new Gtk.TreeCellDataFunc (RenderMatriceNom));
|
||||||
|
nomCol.Resizable = true;
|
||||||
nomCell.Editable = true;
|
nomCell.Editable = true;
|
||||||
nomCell.Edited += OnNomCellEdited;
|
nomCell.Edited += OnNomCellEdited;
|
||||||
this.MatriceUI.AppendColumn (nomCol);
|
this.MatriceUI.AppendColumn (nomCol);
|
||||||
|
|
@ -126,6 +127,7 @@ namespace DMX2
|
||||||
dureeCol.Title = "Durée";
|
dureeCol.Title = "Durée";
|
||||||
dureeCol.PackStart (dureeCell, true);
|
dureeCol.PackStart (dureeCell, true);
|
||||||
dureeCol.SetCellDataFunc (dureeCell, new Gtk.TreeCellDataFunc (RenderMatriceDuree));
|
dureeCol.SetCellDataFunc (dureeCell, new Gtk.TreeCellDataFunc (RenderMatriceDuree));
|
||||||
|
dureeCol.Resizable = true;
|
||||||
dureeCell.Editable = true;
|
dureeCell.Editable = true;
|
||||||
dureeCell.Edited += OnDureeCellEdited;
|
dureeCell.Edited += OnDureeCellEdited;
|
||||||
this.MatriceUI.AppendColumn (dureeCol);
|
this.MatriceUI.AppendColumn (dureeCol);
|
||||||
|
|
@ -162,6 +164,7 @@ namespace DMX2
|
||||||
seqCol.Title = seq.Name;
|
seqCol.Title = seq.Name;
|
||||||
seqCol.PackStart(seqCell, true);
|
seqCol.PackStart(seqCell, true);
|
||||||
seqCol.SetCellDataFunc ( seqCell, new Gtk.TreeCellDataFunc(RenderMatriceSeqVal));
|
seqCol.SetCellDataFunc ( seqCell, new Gtk.TreeCellDataFunc(RenderMatriceSeqVal));
|
||||||
|
seqCol.Resizable = true;
|
||||||
seqCell.Editable = true;
|
seqCell.Editable = true;
|
||||||
seqCell.Edited += OnSeqValCellEdited;
|
seqCell.Edited += OnSeqValCellEdited;
|
||||||
seqCell.Data[seqkey] = seq;
|
seqCell.Data[seqkey] = seq;
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,7 @@ namespace DMX2
|
||||||
nomCol.Title = "Nom";
|
nomCol.Title = "Nom";
|
||||||
nomCol.PackStart (nomCell, true);
|
nomCol.PackStart (nomCell, true);
|
||||||
nomCol.SetCellDataFunc (nomCell, new Gtk.TreeCellDataFunc (RenderMatriceNom));
|
nomCol.SetCellDataFunc (nomCell, new Gtk.TreeCellDataFunc (RenderMatriceNom));
|
||||||
|
nomCol.Resizable = true;
|
||||||
nomCell.Editable = true;
|
nomCell.Editable = true;
|
||||||
nomCell.Edited += OnNomCellEdited;
|
nomCell.Edited += OnNomCellEdited;
|
||||||
effetsListe.AppendColumn (nomCol);
|
effetsListe.AppendColumn (nomCol);
|
||||||
|
|
@ -103,6 +104,7 @@ namespace DMX2
|
||||||
circuitsCol.Title = "Circuits";
|
circuitsCol.Title = "Circuits";
|
||||||
circuitsCol.PackStart (circuitsCell, true);
|
circuitsCol.PackStart (circuitsCell, true);
|
||||||
circuitsCol.SetCellDataFunc (circuitsCell, new Gtk.TreeCellDataFunc (RenderMatriceCircuits));
|
circuitsCol.SetCellDataFunc (circuitsCell, new Gtk.TreeCellDataFunc (RenderMatriceCircuits));
|
||||||
|
circuitsCol.Resizable = true;
|
||||||
circuitsCell.Editable = true;
|
circuitsCell.Editable = true;
|
||||||
circuitsCell.Edited += OnCircuitsCellEdited;
|
circuitsCell.Edited += OnCircuitsCellEdited;
|
||||||
effetsListe.AppendColumn (circuitsCol);
|
effetsListe.AppendColumn (circuitsCol);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue