Purnama XUI 介绍
Purnama
XUI是使用XML来描述图形用户界面的框架,是一个很有用的跨平台、跨语言的基于XML的脚本语言,使用它可以不使用真正的程序代码就能开发应用程序界面。
通过下面的XML可以生成这个图形界面
<xui:XUI xmlns:xui="http://xml.bcit.ca/PurnamaProject/2003/xui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xml.bcit.ca/PurnamaProject/2003/xui ./xui.xsd" id="http://geekkit.bcit.ca/counter"> <xui:Window id="window_0" name="XUL Challenge 2004" x="100" y="100" width="250" height="110" visible="true"> <xui:GridLayout width="1" height="1"></xui:GridLayout> <xui:Panel x="0" y="0" width="1" height="1" id="panel_0" name="panel" idref="window_0"> <xui:GridLayout width="3" height="4"></xui:GridLayout> <xui:Label x="0" y="0" width="3" height="1" text="Counter" justified="left" id="label_0"/> <xui:TextField x="1" y="0" width="3" height="1" enabled="true" id="textfield_0"> <xui:Text>34</xui:Text> </xui:TextField> <xui:Button id="button_0" width="1" height="1" enabled="true" orientation="horizontal" x="2" y="0" label="Dec (-)"></xui:Button> <xui:Button id="button_1" width="1" height="1" enabled="true" orientation="horizontal" x="2" y="1" label="Clear"></xui:Button> <xui:Button id="button_2" width="1" height="1" enabled="true" orientation="horizontal" x="2" y="2" label="Inc (+)"></xui:Button> </xui:Panel> </xui:Window> </xui:XUI>
Purnama XUI 官网
http://geekkit.bcit.ca/xui/web/
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。