Window for a building, the window comprising: - at least one casement, - a fixed frame, - a motorised drive device for displacing the casement relative to the fixed frame by tilting, ∘ the motorised drive device comprising: ▪ an electromechanical actuator, the electromechanical actuator comprising a casing, an electric motor and an output shaft, the electromechanical actuator being mounted on the fixed frame or on the casement by means of fixing elements (22, 23), ▪ a flexible element, the flexible element cooperating on the one hand with the casement or the fixed frame and on the other hand with the electromechanical actuator, the casing of the electromechanical actuator comprising a passage opening for the flexible element, - the electromechanical actuator being of the tubular type, - the fixing elements (22, 23) of the electromechanical actuator comprising a first support fitted to a first end of the casing of the electromechanical actuator and a second support fitted to a second end of the casing, the first and second supports (22, 23) being fixed to the fixed frame or to the casement, - the passage opening for the flexible element formed in the casing of the electromechanical actuator being capable of being oriented by rotation about a longitudinal axis of the electromechanical actuator by means of the first and second supports (22, 23) cooperating on the one hand with the casing of the electromechanical actuator and on the other hand with the fixed frame or the casement, characterised in that each of the first and second supports (22, 23) is configured to be oriented relative to the casing by means of orientation elements (33, 34), according to a rotational movement about the longitudinal axis of the electromechanical actuator, during fitting of each of the first and second supports (22, 23) relative to the casing and to be blocked in rotation relative to the casing by means of the orientation elements (33, 34) in the fitted configuration of each of the first and second supports (22, 23) relative to the casing, in that each of the first and second ends (16a, 16b) of the casing of the electromechanical actuator comprises an end-piece which cooperates with one of the first and second supports (22, 23), and in that each end-piece of the first and second ends (16a, 16b) of the casing of the electromechanical actuator cooperates with one of the first and second supports (22, 23) by means of the orientation elements (33, 34) produced in the form of fluted shafts, so as to be able to orient each of the first and second supports (22, 23) relative to the casing of the electromechanical actuator and to block each of the first and second supports (22, 23) in rotation relative to the casing of the electromechanical actuator. - at least one casement, - a fixed frame, - a motorised drive device for displacing the casement relative to the fixed frame by tilting, ∘ the motorised drive device comprising: ▪ an electromechanical actuator, the electromechanical actuator comprising a casing, an electric motor and an output shaft, the electromechanical actuator being mounted on the fixed frame or on the casement by means of fixing elements (22, 23), ▪ a flexible element, the flexible element cooperating on the one hand with the casement or the fixed frame and on the other hand with the electromechanical actuator, the casing of the electromechanical actuator comprising a passage opening for the flexible element, ▪ an electromechanical actuator, the electromechanical actuator comprising a casing, an electric motor and an output shaft, the electromechanical actuator being mounted on the fixed frame or on the casement by means of fixing elements (22, 23), ▪ a flexible element, the flexible element cooperating on the one hand with the casement or the fixed frame and on the other hand with the electromechanical actuator, the casing of the electromechanical actuator comprising a passage opening for the flexible element, - the electromechanical actuator being of the tubular type, - the fixing elements (22, 23) of the electromechanical actuator comprising a first support fitted to a first end of the casing of the electromechanical actuator and a second support fitted to a second end of the casing, the first and second supports (22, 23) being fixed to the fixed frame or to the casement, - the passage opening for the flexible element formed in the casing of the electromechanical actuator being capable of being oriented by rotation about a longitudinal axis of the electromechanical actuator by means of the first and second supports (22, 23) cooperating on the one hand with the casing of the electromechanical actuator and on the other hand with the fixed frame or the casement,