- self.edit = EditWidget(self, (0, 6), (1, 14), check_tui = ['edit'])
- self.turn = TurnWidget(self, (2, 6), (1, 14), ['turn'])
- self.log = LogWidget(self, (4, 0), (None, 20), ['log'])
- self.map_ = MapWidget(self, (0, 21), (None, None), ['map'])
- self.popup = PopUpWidget(self, (0, 0), (1, 1), ['popup'])
- self.popup.visible = False
+ edit_widget = TextLineWidget('SEND:', self, (0, 0), (1, 20))
+ edit_line_widget = EditWidget(self, (0, 6), (1, 14), ['edit'])
+ edit_widget.children += [edit_line_widget]
+ turn_widget = TextLineWidget('TURN:', self, (2, 0), (1, 20))
+ turn_widget.children += [TurnWidget(self, (2, 6), (1, 14), ['turn'])]
+ log_widget = LogWidget(self, (4, 0), (None, 20), ['log'])
+ map_widget = MapWidget(self, (0, 21), (None, None), ['map'])
+ popup_widget = PopUpWidget(self, (0, 0), (1, 1), ['popup'])
+ popup_widget.visible = False