1 我不知道这是否是可能的,但如果是这样,那么 label.grab_focus() 将做到这一点。确保先设置gtk.CAN_FOCUS标志。 Documentation here. 来源 2012-12-03 19:43:42 ptomato