2012-12-03 68 views

回答

1

我不知道这是否是可能的,但如果是这样,那么

label.grab_focus() 

将做到这一点。确保先设置gtk.CAN_FOCUS标志。 Documentation here.