节点文献

哈希表在基于GTK+库图形界面开发中的应用

The Application of the Hash Table to the GUI Design Based on GTK+

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 侯景昆刘少君裴海龙黄瑛

【Author】 Hou Jingkun Liu Shaojun Pei Hailong Huang Ying ( Department of Automation, South China University of Technology, Guangzhou, PRC, 510640,China )

【机构】 广州华南理工大学自动化科学与工程学院广州华南理工大学自动化科学与工程学院 广东广州510640广东广州510640广东广州510640

【摘要】 在linux系统下采用GTK+库进行应用于数控机床的图形界面编程时,一个具体的问题是:当菜单的层次结构比较复杂,单击了某一层次的某个菜单按钮后,如何找到对应所需要执行的功能函数?针对此问题,笔者提出了一个解决方法,此方法利用了数据结构中的哈希表来存储函数指针,通过哈希表的查找,可以成功地实现功能函数的调用。

【Abstract】 One problem in designing a GUI used in the numerical control machine tool with the GTK+ is how to find and execute the corresponding function when the layer’s structure is complex, to which a solution is brought forward: the Hash Table is used to store the pointers of functions, so that these functions can be found and executed through the search of the Hash Table.

【关键词】 哈希表GTK+Linux数控机床图形界面。
【Key words】 Hash TableGTK+Linuxnumerical control machine toolGUI.
【基金】 广东省科学技术厅重点科技攻关项目 (项目编号:2002A1040402)
  • 【分类号】TP311.1
  • 【下载频次】110
节点文献中: 

本文链接的文献网络图示:

本文的引文网络