mirror of
https://github.com/markqvist/NomadNet.git
synced 2024-12-31 18:16:10 -05:00
22 lines
586 B
Python
22 lines
586 B
Python
class NetworkDisplayShortcuts():
|
|
def __init__(self, app):
|
|
import urwid
|
|
self.app = app
|
|
|
|
self.widget = urwid.AttrMap(urwid.Text("Network Display Shortcuts"), "shortcutbar")
|
|
|
|
class NetworkDisplay():
|
|
def __init__(self, app):
|
|
import urwid
|
|
self.app = app
|
|
|
|
pile = urwid.Pile([
|
|
urwid.Text(("body_text", "Network Display \U0001F332")),
|
|
])
|
|
|
|
self.shortcuts_display = NetworkDisplayShortcuts(self.app)
|
|
self.widget = urwid.Filler(pile, 'top')
|
|
|
|
def shortcuts(self):
|
|
return self.shortcuts_display
|