planning out api more
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from textual.app import App, ComposeResult
|
||||
from textual.widgets import Header, Footer
|
||||
from textual.app import App
|
||||
from ui.screens.pair_screen import PairScreen
|
||||
from api.node import MeshNode
|
||||
|
||||
|
||||
16
desktop_app/ui/widgets/chat_window.py
Normal file
16
desktop_app/ui/widgets/chat_window.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from textual.containers import Vertical, VerticalScroll, HorizontalGroup
|
||||
from textual.widgets import Input, Button, Static
|
||||
|
||||
|
||||
class Message(Static):
|
||||
def __init__(self, message):
|
||||
super().__init__()
|
||||
|
||||
class ChatWindow(Vertical):
|
||||
def compose(self):
|
||||
with VerticalScroll():
|
||||
pass
|
||||
|
||||
with HorizontalGroup():
|
||||
yield Input(placeholder="Send a message")
|
||||
yield Button("", flat=True)
|
||||
Reference in New Issue
Block a user