mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-18 15:24:23 +01:00
Text UI general structure
This commit is contained in:
21
nomadnet/ui/textui/Conversations.py
Normal file
21
nomadnet/ui/textui/Conversations.py
Normal file
@@ -0,0 +1,21 @@
|
||||
class ConversationsDisplayShortcuts():
|
||||
def __init__(self, app):
|
||||
import urwid
|
||||
self.app = app
|
||||
|
||||
self.widget = urwid.AttrMap(urwid.Text("Conversations Display Shortcuts"), "shortcutbar")
|
||||
|
||||
class ConversationsDisplay():
|
||||
def __init__(self, app):
|
||||
import urwid
|
||||
self.app = app
|
||||
|
||||
pile = urwid.Pile([
|
||||
urwid.Text(("body_text", "Conversations Display \U0001F332")),
|
||||
])
|
||||
|
||||
self.shortcuts_display = ConversationsDisplayShortcuts(self.app)
|
||||
self.widget = urwid.Filler(pile, 'top')
|
||||
|
||||
def shortcuts(self):
|
||||
return self.shortcuts_display
|
||||
Reference in New Issue
Block a user