public static List <RibbonButton> buttons(this RibbonTab ribonTab)
        {
            var buttons = new List <RibbonButton>();

            foreach (var group in ribonTab.groups())
            {
                buttons.AddRange(group.buttons());
            }
            return(buttons);
        }
 public static RibbonGroup group(this RibbonTab ribbonTab, string header)
 {
     foreach (var group in ribbonTab.groups())
     {
         if (group.header() == header)
         {
             return(group);
         }
     }
     return(null);
 }