add _set_window_attributes possibly for later