If want to break it down to its basic parts its
- either a button with image that when clicked sends a macro to command line
- or some type of control that is bound to some drawings data.
Your tabs or like main Menu Headers(Home, Insert, Annootate, etc.....)
Each Tab contains Panels which is another level of grouping.
In pic below Your tabs or Highlighted in yellow with Home being Active tab and panels have red outline.
Inside panels you can add buttons with image small or big and text above or below, or you can nest more buttons inside, etc...
So it has different options to display buttons and other settings like what help file to open if you hit F1 while hovering over or tooltip to display, but when clicked just sends string to command line. You can see this in CUI
For example the circle buttons in pic below have macro set to
Center, Radius = ^C^C_circle
Center, Diameter = ^C^C_circle \_d
2-Point = ^C^C_circle _2p
3-Point = ^C^C_circle _3p
Tan, Tan, Radius = ^C^C_circle _ttr
Tan, Tan, Tan = ^C^C_circle _3p _tan \_tan \_tan \
If that helps and other type would be like layer combobox that is bound to layers but unlike properties pallet it will filter with currently selected filter in layer manager