首页> 中文期刊> 《计算机技术与发展》 >基于GTK+的编辑界面自动生成设计与实现

基于GTK+的编辑界面自动生成设计与实现

         

摘要

There are numerous and frequent interaction user information in communication system. To solve the problem of repetitive and tedious work in customizing user information editing interface by software coding,a method for graphical user interface automatic genera-tion is presented by applying the XML method in the description of graphical user interface,combining the characteristics of open source widget library GTK+. It dynamically creates graphical user interface by parsing the XML document and calling the API of widget library GTK+,this enables the separation of interface design from the generation. Practice proves by using this method in multiple information edit module,it can reduce the workload of interface design and coding greatly,and improve the developing efficiency and maintainability of software.%通信系统中用户信息交互频繁,格式种类繁多,为解决软件编码定制用户信息编辑界面大部分工作重复繁琐的现状,应用 XML方法对图形界面元素进行描述,结合开源GTK+图形用户界面库的使用特点,给出了一种用户编辑界面自动生成的实现方法。通过解析XML文档并调用界面控件库接口动态生成图形用户界面,实现界面设计和生成实现的分离。实践证明,运用该方法实现多样化用户信息的编辑,能够大幅降低界面设计编程的工作量,提高了软件的开发效率和可维护性。

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号