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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:00, ksanchez2100
Need asap assignment directions: think of an organization (business, religious institution, volunteer organization, sports team) with which you have been involved. imagine outfitting it with an it infrastructure. prepare a plan for what you would do to support outfitting it. draw a map of a network connecting all the individuals, give them pcs and printers, and lay out the design as best you can. the purpose is to begin working with these concepts, not to build a perfect network.
Answers: 2
image
Computers and Technology, 23.06.2019 01:10, kristofwr3444
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
image
Computers and Technology, 23.06.2019 01:50, akornegay2
Write a program that uses a random number generator to generate a two digit positive integer and allows the user to perform one or more of the following operations: a. double the number. b. reverse the digits of the number. c. raise the number to the power of 2, 3, or 4. d. sum the digits of the number. e. if the number is a two-digit number, then raise the first digit to the power of the second digit. f. if the number is a three-digit number and the last digit is less than or equal to 4, then raise the first two digits to the power of the last digit. after performing an operation if the number is less than 10, add 10 to the number. also, after each operation determine if the number is prime. each successive operation should be performed on the number generated by the last operation. your program should not contain any global variables and each of these operations must be implemented by a separate function. also, your program should be menu driven. 7. (fraction calculator) write a program that
Answers: 1
image
Computers and Technology, 23.06.2019 16:30, vitothebest1
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
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 in other subjects:

Konu
Social Studies, 22.06.2019 22:00