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

Public Member Functions

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

Public Attributes

 window
 

Detailed Description

Definition at line 6 of file modals.py.

Constructor & Destructor Documentation

◆ __init__()

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

Reimplemented in python.iconfTool.gui.modals.HelpModal, and python.iconfTool.gui.modals.SearchModal.

Definition at line 7 of file modals.py.

7  def __init__(
8  self, start_x: int, start_y: int, width: int, height: int
9  ) -> None:
10  self.width: int = width
11  self.height: int = height
12  self.start_x: int = start_x
13  self.start_y: int = start_y
14  self.window = curses.newwin(height, width, start_y, start_x)
15  self.window.box()
16  self.refresh()
17 

Member Function Documentation

◆ destroy()

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

Definition at line 21 of file modals.py.

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

◆ refresh()

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

Definition at line 18 of file modals.py.

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

Member Data Documentation

◆ window

python.iconfTool.gui.modals.Modal.window

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