proc draw(ui: Ui) {....raises: [Exception], tags: [], forbids: [].}
proc update(ui: Ui; wg: var Widget) {....raises: [Exception], tags: [RootEffect], forbids: [].}
proc update(ui: var Ui) {....raises: [Exception], tags: [RootEffect], forbids: [].}