public StatType(string statisticType, string statisticSubType, string statisticApplyTo, Gtk.TreeView treeview_stats,
ArrayList sendSelectedSessions, bool sex_active, int statsJumpsType, int limit,
ArrayList markedRows, int evolution_mark_consecutives, GraphROptions gRO,
bool graph, bool toReport, Preferences preferences)
{
//some of this will disappear when we use myStatTypeStruct in all classes:
this.statisticType = statisticType;
this.statisticSubType = statisticSubType;
this.statisticApplyTo = statisticApplyTo;
this.treeview_stats = treeview_stats ;
this.markedRows = markedRows;
this.evolution_mark_consecutives = evolution_mark_consecutives;
this.graph = graph;
this.toReport = toReport;
myStatTypeStruct = new StatTypeStruct (
statisticApplyTo,
sendSelectedSessions, sex_active,
statsJumpsType, limit,
markedRows, gRO,
toReport, preferences);
myStat = new Stat(); //create an instance of myStat
fakeButtonRowCheckedUnchecked = new Gtk.Button();
fakeButtonRowsSelected = new Gtk.Button();
fakeButtonNoRowsSelected = new Gtk.Button();
}