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: tkTk # the toplevel application window
guessesframe: GuessesFrame # the frame for holding the guesses
messageframe: MessageFrame # the frame for displaying a message
keyboardframe: KeyboardFrame # the frame for holding the keyboard
def initself settings: dict None:
self.settings settings
# Create window and set title
self.window tkTk
self.window.titleWordy
# Create three primary window frames: guesses, messages, and keyboard
# TODO: assign self.guessesframe, self.messageframe, and
# self.keyboardframe 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
