示例#1
0
 def call(ref):
     widget = ref()
     if widget:
         widget.idleevent()
     else:
         print "Idle ref died!"
     return bool(widget)
示例#2
0
 def call(ref):
     widget = ref()
     if widget:
         widget.idleevent(event)
     else:
         print "Idle ref died!"
     return bool(widget)