mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-05 07:35:02 -04:00
Text UI general structure
This commit is contained in:
parent
c039ff2e2a
commit
9693e3e814
7 changed files with 227 additions and 0 deletions
21
nomadnet/ui/textui/Directory.py
Normal file
21
nomadnet/ui/textui/Directory.py
Normal file
|
@ -0,0 +1,21 @@
|
|||
class DirectoryDisplayShortcuts():
|
||||
def __init__(self, app):
|
||||
import urwid
|
||||
self.app = app
|
||||
|
||||
self.widget = urwid.AttrMap(urwid.Text("Directory Display Shortcuts"), "shortcutbar")
|
||||
|
||||
class DirectoryDisplay():
|
||||
def __init__(self, app):
|
||||
import urwid
|
||||
self.app = app
|
||||
|
||||
pile = urwid.Pile([
|
||||
urwid.Text(("body_text", "Directory Display \U0001F332")),
|
||||
])
|
||||
|
||||
self.shortcuts_display = DirectoryDisplayShortcuts(self.app)
|
||||
self.widget = urwid.Filler(pile, 'top')
|
||||
|
||||
def shortcuts(self):
|
||||
return self.shortcuts_display
|
Loading…
Add table
Add a link
Reference in a new issue