Inheritance: Gtk.DrawingArea
Exemplo n.º 1
0
 void AddSubcategory(SubCategoryStat sstats, EventTypeStats parent)
 {
     foreach (PercentualStat ostats in sstats.OptionStats)
     {
         StatsWidget w = new StatsWidget(ostats, parent, sstats, subcatsMaxSize);
         subcats.Add(w);
         cstatsbox.PackStart(w, false, true, 0);
     }
 }
Exemplo n.º 2
0
        void AddCategory(EventTypeStats cstats)
        {
            Widget w = new StatsWidget (cstats, null, null, catsMaxSize);
            cats.Add (w);
            cstatsbox.PackStart (w, false, true, 0);

            foreach (SubCategoryStat stats in cstats.SubcategoriesStats) {
                AddSubcategory (stats, cstats);
            }
            cstatsbox.PackStart (new HSeparator (), false, false, 0);
        }
Exemplo n.º 3
0
        void AddCategory(EventTypeStats cstats)
        {
            Widget w = new StatsWidget(cstats, null, null, catsMaxSize);

            cats.Add(w);
            cstatsbox.PackStart(w, false, true, 0);

            foreach (SubCategoryStat stats in cstats.SubcategoriesStats)
            {
                AddSubcategory(stats, cstats);
            }
            cstatsbox.PackStart(new HSeparator(), false, false, 0);
        }
Exemplo n.º 4
0
 void AddSubcategory(SubCategoryStat sstats, EventTypeStats parent)
 {
     foreach (PercentualStat ostats in sstats.OptionStats) {
         StatsWidget w = new StatsWidget (ostats, parent, sstats, subcatsMaxSize);
         subcats.Add (w);
         cstatsbox.PackStart (w, false, true, 0);
     }
 }