检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
出 处:《电脑与电信》2014年第4期43-45,48,共4页Computer & Telecommunication
摘 要:wxWidgets是一个可以在多个平台上进行图形用户界面开发的C++语言框架库。如同其它所有的GUI框架一样,wxWidgets的程序控制采用事件驱动的方式。wxWidgets主要有两种方法来处理事件:一种通过事件表宏定义静态地把事件和事件处理过程绑定在一起;另外一种通过函数动态地绑定事件和事件处理过程。本文介绍了这两种事件处理方法并对其作出分析比较,说明了动态事件处理机制代码量稍大但比静态事件表机制更加灵活方便。wxWidgets is a C++ framework providing GUI (Graphical User Interface) and other facilities on multi-platforms. Like other GUI frameworks, the control of flow in wxWidgets applications is event-based. There are two principal ways to handle events in wxWidgets. One of them uses event table macros and allows you to define the binding between events and their handlers only statically; the other way maps events and their handlers dynamically. The paper introduces and analyzes the two methods and summarizes that the dynamical way requires slightly more codes but is much more flexible than the static way.
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.113