Definition at line 39 of file modals.py.
◆ __init__()
None python.iconfTool.gui.modals.HelpModal.__init__ |
( |
|
self, |
|
|
int |
start_x, |
|
|
int |
start_y, |
|
|
int |
width, |
|
|
int
|
height |
|
) |
| |
Reimplemented from python.iconfTool.gui.modals.Modal.
Definition at line 40 of file modals.py.
41 self, start_x: int, start_y: int, width: int, height: int
43 super().
__init__(start_x, start_y, width, height)
44 self.help_window = self.window.derwin(
45 self.height - 2, self.width - 2, 1, 1
48 self.begin_y, self.begin_x = self.window.getparyx()
49 self.y, self.x = self.begin_y, self.begin_x
◆ add_line()
None python.iconfTool.gui.modals.HelpModal.add_line |
( |
|
self, |
|
|
str |
text, |
|
|
int |
blank_lines = 1 |
|
) |
| |
Definition at line 53 of file modals.py.
53 def add_line(self, text: str, blank_lines: int = 1) ->
None:
54 self.window.addstr(self.y, self.x, text)
◆ destroy()
None python.iconfTool.gui.modals.Modal.destroy |
( |
|
self | ) |
|
|
inherited |
Definition at line 21 of file modals.py.
21 def destroy(self) -> None:
◆ refresh()
None python.iconfTool.gui.modals.Modal.refresh |
( |
|
self | ) |
|
|
inherited |
Definition at line 18 of file modals.py.
18 def refresh(self) -> None:
◆ show_help()
None python.iconfTool.gui.modals.HelpModal.show_help |
( |
|
self | ) |
|
◆ begin_x
python.iconfTool.gui.modals.HelpModal.begin_x |
◆ help_window
python.iconfTool.gui.modals.HelpModal.help_window |
◆ window
python.iconfTool.gui.modals.Modal.window |
|
inherited |
python.iconfTool.gui.modals.HelpModal.x |
The documentation for this class was generated from the following file: