Definition at line 25 of file modals.py.
◆ __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.
27 self, start_x: int, start_y: int, width: int, height: int
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
33 self.search = curses.textpad.Textbox(self.search_window)
◆ destroy()
None python.iconfTool.gui.modals.Modal.destroy |
( |
|
self | ) |
|
|
inherited |
Definition at line 21 of file modals.py.
21 def destroy(self) -> None:
◆ 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()
◆ refresh()
None python.iconfTool.gui.modals.Modal.refresh |
( |
|
self | ) |
|
|
inherited |
Definition at line 18 of file modals.py.
18 def refresh(self) -> None:
◆ search
python.iconfTool.gui.modals.SearchModal.search |
◆ search_window
python.iconfTool.gui.modals.SearchModal.search_window |
◆ window
python.iconfTool.gui.modals.Modal.window |
|
inherited |
The documentation for this class was generated from the following file: