make window frame right-widgets generic