-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpanel.py
42 lines (32 loc) · 832 Bytes
/
panel.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from textual.containers import Container
class KMiffedPanel(Container):
#
# Constants
#
PANEL_TITLE = ""
#
# Constructor
#
def __init__(self, panel_title, classes=None, id=None):
self.PANEL_TITLE = panel_title
super().__init__(classes=classes, id=id)
#
# Event Handlers
#
def on_mount(self) -> None:
# assign title to panel
self.border_title = self.PANEL_TITLE
def on_panel_enter(self) -> None:
pass
def on_panel_exit(self) -> None:
pass
def on_panel_key_up(self) -> None:
pass
def on_panel_key_down(self) -> None:
pass
def on_panel_key_select(self) -> None:
pass
def on_panel_key_decrement(self) -> None:
pass
def on_panel_key_increment(self) -> None:
pass