setKeyRepeatEnabled will only impact KeyPressed and KeyReleased events, and it's the same for setJoystickThreshold and JoystickMoved events. So yes, they truly are attributes of the window itself.
If you're creating a window just to call them then you might be doing something really wrong, because they will have effect only on this window.