-
Excuse me, this is a example on wiki:from textual import events
from textual.app import App
from textual.widgets import Placeholder
class SimpleApp(App):
async def on_mount(self, event: events.Mount) -> None:
await self.view.dock(Placeholder(), edge="left", size=40)
await self.view.dock(Placeholder(), Placeholder(), edge="top")
app = SimpleApp()
app.run() but when i run it, debugger shows that
what can i do to fix it, or is it a bug or a wrong example on the wiki? |
Beta Was this translation helpful? Give feedback.
Answered by
davep
Sep 2, 2023
Replies: 1 comment 1 reply
-
That looks like very old Textual code. When you say it's from an example on "the wiki", could you please point us to it? We don't maintain a wiki. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
davep
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That looks like very old Textual code. When you say it's from an example on "the wiki", could you please point us to it? We don't maintain a wiki.