◆ compose()
config_object_modifier_screen.ConfigObjectModifierScreen.compose |
( |
| self | ) |
|
Definition at line 18 of file config_object_modifier_screen.py.
18 def compose(self):
19 yield RelationshipSelectPanel(id="rel_select")
20 yield Button("Exit", variant="success", id="exit")
21
◆ on_button_pressed()
None config_object_modifier_screen.ConfigObjectModifierScreen.on_button_pressed |
( |
| self, |
|
|
Button.Pressed | event ) |
Definition at line 22 of file config_object_modifier_screen.py.
22 def on_button_pressed(self, event: Button.Pressed)->None:
23 if event.button.id=="exit":
24
25 rel_panel = self.query_one(RelationshipSelectPanel)
26
27
28 rel_panel.verify_relations()
29
30
31 main_screen = self.app.get_screen("main")
32 selection_menu = main_screen.query_exactly_one("SelectionPanel")
33 selection_menu.refresh(recompose=True)
34 selection_menu.restore_menu_state()
35 self.app.screen.dismiss()
36
37
◆ css_file_path
str config_object_modifier_screen.ConfigObjectModifierScreen.css_file_path = f"{environ.get('DAQCONF_SHARE')}/config/textual_dbe/textual_css" |
|
static |
◆ CSS_PATH
str config_object_modifier_screen.ConfigObjectModifierScreen.CSS_PATH = f"{css_file_path}/modify_object_layout.tcss" |
|
static |
The documentation for this class was generated from the following file: