charmap: use the constructor for scrolled windows