proc getPressedButton(self: ButtonGroup): BaseButton {.gcsafe, locks: 0, raises: [Exception], tags: [RootEffect].}