super basic skeleton, just loads an irssi-like UI
it doesn't do anything at the moment
This commit is contained in:
parent
5edfc62f27
commit
8b6b93e87d
15
bin/tabletracker
Executable file
15
bin/tabletracker
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Bootstrap the application and start it."""
|
||||
import npyscreen
|
||||
|
||||
from npytabletracker.ui import TableTrackerDisplay
|
||||
|
||||
class TableTrackerApplication(npyscreen.NPSAppManaged):
|
||||
"""Combine the pieces of the application."""
|
||||
|
||||
def onStart(self):
|
||||
"""Link necessary UI elements and state management and whatnot."""
|
||||
self.addForm('MAIN', TableTrackerDisplay)
|
||||
|
||||
app = TableTrackerApplication()
|
||||
app.run()
|
0
npytabletracker/__init__.py
Normal file
0
npytabletracker/__init__.py
Normal file
6
npytabletracker/ui.py
Normal file
6
npytabletracker/ui.py
Normal file
@ -0,0 +1,6 @@
|
||||
"""UI elements for the npytabletracker application."""
|
||||
import npyscreen
|
||||
|
||||
class TableTrackerDisplay(npyscreen.FormMuttActiveTraditional):
|
||||
"""Create the high level form, which is organized like mutt/irssi."""
|
||||
pass
|
Loading…
Reference in New Issue
Block a user