未知
divide的Python项目详细描述
分开?
divide是一种特殊的浏览器,可以同时显示多个页面 时间,水平或垂直拆分屏幕。它是为 需要smartjog's it noc。
特点:
- Use webkit to display pages
- Can split horizontally or vertically
- Automatic reload of pages (delay settable by page)
- Horizontal or vertical auto-scrolling (with time and move configuration)
- Height and width of each screen-part can be configured
- Fullscreen mode
- Can display a title on screen
- JSON configuration
- Released under WTFPL license
使用方法:
用easy_install或uncompress tarball安装并执行:
python2.6 setup.py install
您需要python2.6,pygtk和python webkit来使用它,安装 他们和你的包经理在一起。
创建一个json格式的配置文件,您可以从中得到启发 示例:
{ "title": "Title", "view": { "split": "horizontally", "sub": [ { "type": "page", "url": "http://google.fr", "auto_refresh": 5, "auto_scroll": { "y": { "increment": 10, "milli": 250, "pause": 5, "return": true } } }, { "type": "view", "heigh": 200, "sub": { { "type": "page", "url": "http://google.fr", }, { "type": "page", "url": "http://google.fr", } } }, ] } }
使用:
divide config.json
更改日志
- 2:
- 在自动滚动部分添加了返回选项,用于在 已到达页末。正确的值是布尔值(真或假)。
- 在自动滚动部分添加了暂停选项,用于在结束时暂停(或 已到达页的开始)。正确的值是整数,对应于 要等待的“milli”值的数目(例如:milli设置为2,pause设置为1000, 自动滚动将等待2*1000毫秒)。
- 更改了应用程序标题(从旧名称)。
- 注意:Divide已经在SmartJog使用了一个多月 因此,任何问题,IT的发展现状都是“稳定的”。
- 1:
- 初始版本