Skip to content
Permalink
Browse files
Done
  • Loading branch information
a committed Oct 2, 2022
1 parent 4a5ffcc commit 9785626982b87486e356f63a3d8c625a29199b4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file not shown.
@@ -6,7 +6,7 @@ __all__ = (
)

import tkinter as tk
import tkinter.scrolledtext as scrolledtext
from tkinter.scrolledtext import ScrolledText

from dataclasses import dataclass, field

@@ -39,7 +39,7 @@ class Text(Protocol):


@final
class Textbox(scrolledtext.ScrolledText):
class Textbox(ScrolledText):
clear = partialmethod(tk.Text.delete, "0.1", tk.END)
append = partialmethod(tk.Text.insert, tk.END)

@@ -72,8 +72,8 @@ class App(tk.Tk):

__slots__ = 'text', 'options', 'button', 'parts', 'pages'

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
def __init__(self):
super().__init__()

# Configure window
self.title("Stanley")

0 comments on commit 9785626

Please sign in to comment.