Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Smart-Space
TinUI帮助手册
提交
dd6bf02e
T
TinUI帮助手册
项目概览
Smart-Space
/
TinUI帮助手册
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TinUI帮助手册
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
dd6bf02e
编写于
11月 25, 2022
作者:
Smart-Space
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新res/page2.aardio, res/page1.aardio
上级
868a2d47
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
68 addition
and
0 deletion
+68
-0
res/page1.aardio
res/page1.aardio
+20
-0
res/page2.aardio
res/page2.aardio
+48
-0
未找到文件。
res/page1.aardio
0 → 100644
浏览文件 @
dd6bf02e
import win.ui;
/*DSG{{*/
var winform = win.form(text="首页";right=549;bottom=469;mode="popup")
winform.add(
edit={cls="edit";text='TinUI - tkinter拓展UI库\r\n\r\nTinUI基于tkinter画布,是一个提供现代化样式元素控件的渲染核心。\r\n\r\nTinUI能够通过自身绘制出功能组件和文字与图片,也可以使用画布功能添加任何tkinter原生控件和任何画布元素。使用TinUI,可以使界面设计和代码设计分离,此外,TinUI绘制的虚拟组件速度更快,样式更加丰富。\r\n\r\n这里是TinUI使用帮助应用程序,集成并提供了大部分关于TinUI使用和说明的内容,本应用程序中的内容均来自于TinUI开发者。\r\n\r\n任何一件作品都需要时间打磨,TinUI也不例外。开启你的TinUI之旅吧……';left=10;top=15;right=376;bottom=459;autohscroll=false;bgcolor=15790320;font=LOGFONT(h=-18;name='Microsoft YaHei UI');hidesel=1;multiline=1;readonly=1;z=1};
groupbox={cls="groupbox";text="TinUI部分元素控件";left=386;top=14;right=550;bottom=466;ah=1;aw=1;edge=1;z=2};
plus2={cls="plus";left=396;top=46;right=540;bottom=115;background="E:\GitHub\TinUI\image\TinUI按钮2.gif";repeat="scale";z=3};
plus3={cls="plus";left=390;top=131;right=547;bottom=185;background="E:\GitHub\TinUI\image\TinUI输入框.gif";repeat="scale";z=4};
plus4={cls="plus";left=390;top=193;right=547;bottom=290;background="E:\GitHub\TinUI\image\TinUI菜单.gif";repeat="scale";z=5};
plus5={cls="plus";left=390;top=305;right=545;bottom=459;background="E:\GitHub\TinUI\image\TinUI树状图.gif";repeat="scale";z=6}
)
/*}}*/
winform.edit.oncommand = function(id,event){
}
winform.show();
win.loopMessage();
return winform;
\ No newline at end of file
res/page2.aardio
0 → 100644
浏览文件 @
dd6bf02e
import win.ui;
import web.form
import string.html
import console
/*DSG{{*/
var winform = win.form(text="帮助";right=549;bottom=469)
winform.add(
custom={cls="custom";text="自定义控件";left=132;top=50;right=547;bottom=470;z=3};
listbox={cls="listbox";left=1;top=2;right=131;bottom=470;font=LOGFONT(h=-14;name='Microsoft YaHei UI');integralHeight=0;items={"title";"paragraph";"button";"label";"checkbutton";"entry";"separate";"radiobutton";"link";"waitbar1";"labelframe";"waitbar2";"combobox";"progressbar";"table";"onoff";"spinbox";"scalebar";"info";"menubar";"tooltip";"back";"waitbar3";"textbox";"scrollbar";"listbox";"canvas";"ui";"pipspager";"notebook";"ratingbar";"radiobox";"notecard";"pivot";"button2";"expander";"waitframe";"listview";"treeview"};vscroll=1;z=1};
static={cls="static";text='控件名称\r\n控件使用简短介绍';left=131;top=4;right=547;bottom=46;font=LOGFONT(h=-14);transparent=1;z=2}
)
/*}}*/
var wb=web.form(winform.custom)
wb.go('https://tinui.smart-space.com.cn/')
function change_docu(title,docu){
winform.static.text=title+'\r\n'+docu
}
//获取选定元素控件
winform.listbox.oncommand = function(id,event){
widget=winform.listbox.selText
if (widget==null){
return false;
}
index=winform.listbox.selIndex
docu=''
change_docu(widget,docu)
move_view(index)
}
//显示相应位置
function move_view(index){
//console.open()
html=wb.html
htmldoc=string.html(html)
//console.log()
text=htmldoc.html[1].body[1].div[1].h3[index*2-1].id//获取链接
wb.go('https://tinui.smart-space.com.cn/#'+text)
//wb.html=htmldoc.html[1].body[1].div[1].outerXml()
}
winform.show();
win.loopMessage();
return winform;
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录