ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.iconfTool.gui.modals.SearchModal Class Reference
Inheritance diagram for python.iconfTool.gui.modals.SearchModal:
Collaboration diagram for python.iconfTool.gui.modals.SearchModal:

Public Member Functions

None __init__ (self, int start_x, int start_y, int width, int height)
 
str edit (self)
 
None refresh (self)
 
None destroy (self)
 

Public Attributes

 search_window
 
 search
 
 window
 

Detailed Description

Definition at line 25 of file modals.py.

Constructor & Destructor Documentation

◆ __init__()

None python.iconfTool.gui.modals.SearchModal.__init__ (   self,
int  start_x,
int  start_y,
int  width,
int   height 
)

Reimplemented from python.iconfTool.gui.modals.Modal.

Definition at line 26 of file modals.py.

26  def __init__(
27  self, start_x: int, start_y: int, width: int, height: int
28  ) -> None:
29  super().__init__(start_x, start_y, width, height)
30  self.search_window = self.window.derwin(
31  self.height - 2, self.width - 2, 1, 1
32  )
33  self.search = curses.textpad.Textbox(self.search_window)
34 

Member Function Documentation

◆ destroy()

None python.iconfTool.gui.modals.Modal.destroy (   self)
inherited

Definition at line 21 of file modals.py.

21  def destroy(self) -> None:
22  del self.window
23 
24 

◆ edit()

str python.iconfTool.gui.modals.SearchModal.edit (   self)

Definition at line 35 of file modals.py.

35  def edit(self) -> str:
36  return self.search.edit().strip()
37 
38 

◆ refresh()

None python.iconfTool.gui.modals.Modal.refresh (   self)
inherited

Definition at line 18 of file modals.py.

18  def refresh(self) -> None:
19  self.window.refresh()
20 

Member Data Documentation

◆ search

python.iconfTool.gui.modals.SearchModal.search

Definition at line 31 of file modals.py.

◆ search_window

python.iconfTool.gui.modals.SearchModal.search_window

Definition at line 28 of file modals.py.

◆ window

python.iconfTool.gui.modals.Modal.window
inherited

Definition at line 12 of file modals.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18