Question: class WordyView: Class that creates represents the Tk application. # instance variables settings: dict # the dictionary with all

class WordyView:
""" Class that creates represents the Tk application. """
# instance variables
settings: dict # the dictionary with all the UI settings
window: tk.Tk # the top-level application window
guesses_frame: GuessesFrame # the frame for holding the guesses
message_frame: MessageFrame # the frame for displaying a message
keyboard_frame: KeyboardFrame # the frame for holding the keyboard
def __init__(self, settings: dict)-> None:
self.settings = settings
# Create window and set title
self.window = tk.Tk()
self.window.title("Wordy")
# Create three primary window frames: guesses, messages, and keyboard
# TODO: assign self.guesses_frame, self.message_frame, and
# self.keyboard_frame to new GuessesFrame, MessageFrame, and
# KeyboardFrame objects that you create.
# Check the __init__ method of those three classes for a reminder of
# what parameters are needed for creating them.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!