【喵呜刷题小喵解析】在tkinter中,设置控件widget的背景颜色需要使用`config`方法,并指定`bg`参数为所需的颜色。因此,选项D `widget.config(bg="red")`是正确的设置控件widget背景颜色为红色的方法。其他选项如`widget.bg_color = "red"`、`widget.background = "red"`和`widget.set_bg_color("red")`在tkinter中都是错误的,因为它们并不是tkinter设置背景颜色的正确方法。