nerdexam
Python_Institute

PCPP-32-101 · Question #28

Which of the following will set the button text's font to 12 point italics Arial? (Choose two.)

The correct answer is C. button=Button(wnd,font=('Arial', '12', 'italic') D. button.config(font=('Arial', '12', 'italic')). You've hit your limit · resets 5am (America/New_York)

Advanced OOP

Question

Which of the following will set the button text's font to 12 point italics Arial? (Choose two.)

Options

  • Abutton.ButtonFont('Arial' , '12', 'italic')
  • Bbutton.setfont(('Arial', '12', 'italic'))
  • Cbutton=Button(wnd,font=('Arial', '12', 'italic')
  • Dbutton.config(font=('Arial', '12', 'italic'))

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    94% (30)

Explanation

You've hit your limit · resets 5am (America/New_York)

Topics

#tkinter#Button widget#font configuration#config method

Community Discussion

No community discussion yet for this question.

Full PCPP-32-101 Practice