Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/2092.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dialogs were added to the textual backend.
4 changes: 2 additions & 2 deletions examples/dialogs/dialogs/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from toga.style import Pack


class ExampledialogsApp(toga.App):
class ExampleDialogsApp(toga.App):
# Button callback functions
def do_clear(self, widget, **kwargs):
self.label.text = "Ready."
Expand Down Expand Up @@ -333,7 +333,7 @@ def startup(self):


def main():
return ExampledialogsApp("Dialogs", "org.beeware.widgets.dialogs")
return ExampleDialogsApp("Dialogs", "org.beeware.widgets.dialogs")


if __name__ == "__main__":
Expand Down
3 changes: 2 additions & 1 deletion textual/src/toga_textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


class MainWindow(Window):
pass
def textual_close(self):
self.interface.app.on_exit(None)


class TogaApp(TextualApp):
Expand Down
Loading