subject

In this GUI, the components in the frame are organized in a grid that has import tkinter as tk
2. from tkinter import ttk
3. class TipCalcFrame(ttk. Frame):
4. def __init__(self, parent):
5. ttk. Frame.__init__(self, parent, padding="20 20 20 20")
6. self. pack()
7. self. mealCost = tk. StringVar()
8. self. tipPercent = tk. StringVar()
9. self. tipAmount = tk. StringVar()
10. ttk. Label(self, text="Cost of your meal:").grid(
column=0, row=0, sticky=tk. E)
11. ttk. Entry(self, width=30, textvariable=self. mealCost).grid(
column=1, row=0)
12. ttk. Label(self, text="Percent to leave as a tip:").grid(
column=0, row=1, sticky=tk. E)
13. ttk. Entry(self, width=30, textvariable=self. tipPercent).grid(
column=1, row=1)
14. ttk. Label(self, text="Tip amount:").grid(
column=0, row=2, sticky=tk. E)
15. ttk. Entry(self, width=30, textvariable=self. tipAmount,

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Which best describes the condition under which the unicode output is the same as plain text?
Answers: 3
question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
These factors limit the ability to attach files to e-mail messages. location of sender recipient's ability to open file size of file type of operating system used
Answers: 2
You know the right answer?
In this GUI, the components in the frame are organized in a grid that has import tkinter as tk
Questions
question
Mathematics, 09.04.2020 19:29
question
Mathematics, 09.04.2020 19:30
question
Mathematics, 09.04.2020 19:30