[sg.Frame('单选题', [
[sg.Button(j, button_color=('black', global_bgColor), border_width=0,
font=('华文仿宋', 12), image_data=answer_image_data, size=(2, 1), key='answer_%s' % j) for j in
radio_num[i * cols:i * cols + cols]
] for i in range(radio_num_rows)
], key='-radioResult-', background_color='#E5ECFC')],
循环输出控件
最新推荐文章于 2024-09-06 18:47:44 发布