Question: Question 11 pts A component that only displays text is known as a button label frame title Flag this Question Question 21 pts A frame

Question 11 pts

A component that only displays text is known as a

button
label
frame
title

Flag this Question

Question 21 pts

A frame is

the same as the root window
a synonym for a component
an invisible component thats used to group other components
the padding around the edge of the root window

Flag this Question

Question 31 pts

A function thats called when a user clicks on a button is commonly known as

a click function
a callback function
a GUI function
an event caller

Flag this Question

Question 41 pts

For a root window to begin listening for events, you must

call the title() method to finish setting up the root window
call the pack() method to enable the listeners
call the mainloop() method after all the code that sets up the window
none of these are required to begin listening for events

Flag this Question

Question 51 pts

Most tkinter components, like frames and buttons, have a constructor that accepts __________ as its first argument.

the parent component
the child component
the root window
a frame

Flag this Question

Question 61 pts

The grid() method does not allow you to specify

the row and column indexes where the component should be added
the horizontal and vertical padding for the component
the number of columns and/or rows the component should span
the background color of the row
the side of the container (North, South, East, West) that the component should stick to

Flag this Question

Question 71 pts

To create a frame that automatically resizes itself vertically and horizontally to fill its parent component, use:

frame = ttk.Frame(root, padding="5 5 5 5")
root = ttk.Frame(padding="5 5 5 5")
frame = ttk.Frame(root, padding="5 5 5 5") root.pack(fill=tk.BOTH)
frame = ttk.Frame(root, padding="5 5 5 5") frame.pack(fill=tk.BOTH, expand=True)

Flag this Question

Question 81 pts

To create a root window, you can

call the title() method
call the geometry() method
call the mainloop() method
call the Tk() constructor

Flag this Question

Question 91 pts

You can use a StringVar object to

create a read-only component.
get and set the text in a component.
set the width of a component.
connect a string to a variable.

Flag this Question

Question 101 pts

To lay out components in a series of rows and columns, you can use the __________ method.

grid()
pack()
table()
layout()

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!