- 博客(7)
- 收藏
- 关注
原创 IE Firefox 事件
function fn_evt_handler(){ /* evt 事件对象; sender 为触发事件的Element */ var evt = arguments[0] || window.event; var sender = evt.srcElement || evt.target; alert( "send...
2009-08-31 23:50:27 95
原创 Button的icon 和 label 显示控制
Atom.gap 表示icon和label之间的距离 Atom.center 表示 "内容"是否居中 Atom.iconPosition 表示 icon 相对于 label 的位置 Allowed values: ...
2009-08-24 18:45:50 321
原创 doc , win 的left , top , width, height align...
getBounds() return {} Contains the keys width, height, left , top. 单位 pixel alignX, "left", "center", "right" alignY, "top", "middle", "bottom", "baseline" heiht
2009-08-21 14:53:41 118
原创 python json
py2.5 可使用 simplejson http://simplejson.googlecode.com/svn/tags/simplejson-2.0.9/docs/index.html Encoding - dumps() 方法 Decoding - loads() 方法 GAE例程 blitz, geochat, muvmuv 均有使用 simplejson...
2009-08-18 05:05:04 82
原创 pytho生成GUID UUID
import uuid uuid1 = uuid.uuid1() uuid3 = uuid.uuid3(uuid.NAMESPACE_DNS, 'test_str') uuid4 = uuid.uuid4() uuid5 = uuid.uuid5(uuid.NAMESPACE_DNS,'test_str') uuid.uuid1() ...
2009-08-17 17:46:09 147
原创 python 静态方法
staticmethod 或 classmethod 一 class C_use_staticmethod1: def sm(in_str): print in_str sm = staticmethod( sm ) C_use_staticmethod1.sm("静态方法1") 二 class C_use_st...
2009-08-17 14:23:53 130
原创 ICS-例程s
Sample applications: -------------------- Note: All sample file names begins with prefix "OverbyteIcs". Some samples listed below maybe missing from distribution because the are from version ...
2009-08-02 05:57:37 261
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人