From 9c0cc4b441249e47cbed99223080df8342dd0b52 Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Thu, 18 Jan 2024 16:01:45 +0100 Subject: [PATCH] Update README.md Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com> --- tk/overview/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tk/overview/README.md b/tk/overview/README.md index ea08cd8..652d05f 100644 --- a/tk/overview/README.md +++ b/tk/overview/README.md @@ -299,12 +299,12 @@ root = tk.Tk() width_element: int = 10 -my_frame = ttk.Label( +my_object = ttk.Label( root, width=width_element, text="A label thing", ) -my_frame.grid(row=0, column=0, sticky="w") +my_object.grid(row=0, column=0, sticky="w") root.mainloop()