请查看本页底部的示例:http: //www.pygtk.org/pygtk2tutorial/sec-EventHandling.html 它说:
57 def button_press_event(widget, event):
58 if event.button == 1 and pixmap != None:
59 draw_brush(widget, event.x, event.y)
60 return True
Run Code Online (Sandbox Code Playgroud)
那么,对于什么是"返回真实"?
| 归档时间: |
|
| 查看次数: |
199 次 |
| 最近记录: |