首页 | 本学科首页   官方微博 | 高级检索  
     

哈希表在基于GTK+库图形界面开发中的应用
引用本文:侯景昆,刘少君,裴海龙,黄瑛. 哈希表在基于GTK+库图形界面开发中的应用[J]. 电子科技, 2004, 0(5): 4-8
作者姓名:侯景昆  刘少君  裴海龙  黄瑛
作者单位:广州华南理工大学自动化科学与工程学院,广东,广州,510640;广州华南理工大学自动化科学与工程学院,广东,广州,510640;广州华南理工大学自动化科学与工程学院,广东,广州,510640;广州华南理工大学自动化科学与工程学院,广东,广州,510640
基金项目:广东省科技厅科技攻关项目
摘    要:在linux系统下采用GTK 库进行应用于数控机床的图形界面编程时,一个具体的问题是:当菜单的层次结构比较复杂,单击了某一层次的某个菜单按钮后,如何找到对应所需要执行的功能函数?针对此问题,笔者提出了一个解决方法,此方法利用了数据结构中的哈希表来存储函数指针,通过哈希表的查找,可以成功地实现功能函数的调用.

关 键 词:哈希表  GTK+  Linux  数控机床  图形界面
修稿时间:2004-03-28

The Application of the Hash Table to the GUI Design Based on GTK+
Hou Jingkun Liu Shaojun Pei Hailong Huang Ying. The Application of the Hash Table to the GUI Design Based on GTK+[J]. Electronic Science and Technology, 2004, 0(5): 4-8
Authors:Hou Jingkun Liu Shaojun Pei Hailong Huang Ying
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.
Keywords:GTK   Linux
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号