DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
file_io.OpenFileScreen Class Reference
Inheritance diagram for file_io.OpenFileScreen:
[legend]
Collaboration diagram for file_io.OpenFileScreen:
[legend]

Public Member Functions

None __init__ (self, str|None name=None, str|None id=None, str|None classes=None)
 
ComposeResult compose (self)
 
None on_mount (self)
 

Static Public Attributes

str css_file_path = f"{environ.get('DAQCONF_SHARE')}/config/textual_dbe/textual_css"
 
str CSS_PATH = f"{css_file_path}/save_menu_layout.tcss"
 

Protected Attributes

 _controller = main_screen.query_one(ConfigurationController)
 

Detailed Description

Definition at line 139 of file file_io.py.

Constructor & Destructor Documentation

◆ __init__()

None file_io.OpenFileScreen.__init__ ( self,
str | None name = None,
str | None id = None,
str | None classes = None )
Add in configuration screen

Definition at line 146 of file file_io.py.

146 def __init__(self, name: str | None=None, id: str | None = None, classes: str | None = None) -> None:
147 """Add in configuration screen
148 """
149 super().__init__(name=name, id=id, classes=classes)
150 main_screen = self.app.get_screen("main")
151 self._controller = main_screen.query_one(ConfigurationController)
152
153

Member Function Documentation

◆ compose()

ComposeResult file_io.OpenFileScreen.compose ( self)

Definition at line 154 of file file_io.py.

154 def compose(self)->ComposeResult:
155 yield OpenFile()
156

◆ on_mount()

None file_io.OpenFileScreen.on_mount ( self)

Definition at line 157 of file file_io.py.

157 def on_mount(self) -> None:
158 message_box = self.query_one(OpenFile)
159 message_box.focus()
160
161
162

Member Data Documentation

◆ _controller

file_io.OpenFileScreen._controller = main_screen.query_one(ConfigurationController)
protected

Definition at line 151 of file file_io.py.

◆ css_file_path

str file_io.OpenFileScreen.css_file_path = f"{environ.get('DAQCONF_SHARE')}/config/textual_dbe/textual_css"
static

Definition at line 142 of file file_io.py.

◆ CSS_PATH

str file_io.OpenFileScreen.CSS_PATH = f"{css_file_path}/save_menu_layout.tcss"
static

Definition at line 144 of file file_io.py.


The documentation for this class was generated from the following file: