in reply to how to set a different background colour on certain rows in an HList widget?

The documentation states that the items that get added to an HList are DItem's. If the DItem is of the appropiate type (e.g. text and imagetext), you can apply an ItemStyle, the attributes of which include background color.

See the manpage of Tk::DItem for details. Then see the Tk::HList manpage for an explanation of how to create custom DItems and add them to an HList.