pah*_*nin 2 python events pygtk button
我想当鼠标悬停在按钮上时更改按钮的文本,
喜欢这个http://www.youtube.com/watch?v=l7vCf_lvUsY
如何在pygtk中鼠标悬停在按钮上时添加事件
我在文档中找不到这个
pto*_*ato 5
您需要连接到按钮的enter-notify-event和信号。leave-notify-event不要忘记在事件掩码中启用它们。我认为你不需要一个EventBox.
enter-notify-event
leave-notify-event
EventBox
归档时间:
13 年,6 月 前
查看次数:
1581 次
最近记录: