( window: RNWindow, newProps: WindowProps, oldProps: WindowProps )
| 12 | } |
| 13 | |
| 14 | const setWindowProps = ( |
| 15 | window: RNWindow, |
| 16 | newProps: WindowProps, |
| 17 | oldProps: WindowProps |
| 18 | ) => { |
| 19 | const setter: WindowProps = { |
| 20 | set menuBar(menubar: QMenuBar) { |
| 21 | window.setMenuBar(menubar); |
| 22 | console.log("menubar was set"); |
| 23 | }, |
| 24 | }; |
| 25 | Object.assign(setter, newProps); |
| 26 | setViewProps(window, newProps, oldProps); |
| 27 | }; |
| 28 | |
| 29 | /** |
| 30 | * @ignore |
no test coverage detected