运行过程中,经常要用到注册消息机制,以设计事件驱动.
这有时会用到动态绑定函数的方法.
那么有如下要关注:
def func(self): print self.name,"func" def func2(self): print "func2" def func3(): print "func3"
class CUI(object):
pass
阅读全文>
发表于 @ 2008年09月05日 11:24:00|评论(loading...)|收藏
cegui scrollbar 滚动条 阅读全文>
发表于 @ 2008年09月02日 15:38:00|评论(loading...)|收藏
cegui statictext控件阅读全文>
发表于 @ 2008年09月02日 10:22:00|评论(loading...)|收藏
cegui原理分析 源代码分析阅读全文>
发表于 @ 2008年09月01日 00:37:00|评论(loading...)|收藏
发表于 @ 2008年09月01日 00:35:00|评论(loading...)|收藏
发表于 @ 2008年08月31日 11:22:00|评论(loading...)|收藏
lua 学习资源阅读全文>
发表于 @ 2008年08月30日 18:17:00|评论(loading...)|收藏
cegui 对齐阅读全文>
发表于 @ 2008年08月29日 14:55:00|评论(loading...)|收藏
cegui 文本阅读全文>
发表于 @ 2008年08月29日 14:13:00|评论(loading...)|收藏
python 获取web资源阅读全文>
发表于 @ 2008年07月29日 09:52:00|评论(loading...)|收藏