auto populate code blocks

not yet complete need to add widgets to a list view not self which is a
boxlayout