12 def compose(self):
13
14 self._main_screen = self.app.get_screen("main")
15 self._config_controller: ConfigurationController = self._main_screen.query_one(ConfigurationController)
16
17 with Container(id="object_add_box"):
18 with Horizontal(id="select"):
19 yield Input(id="uid_input", placeholder="Object ID")
20 yield Select([(c, c) for c in self._config_controller.get_list_of_classes()],
21 id="class_select", allow_blank=True)
22
23
24 yield Button("Add Object", id="add_obj", variant="success")
25 yield Button("Cancel", id="cancel", variant="error")
26