1、 题目名称: wxWidgets Technology Introduction 译文题目: wxWidgets 技术简介 原文题目: wxWidgets Technology Introduction 原文出处: http:/www.wxwidgets.org/ 1 Programming with wxWidgets In this article, we answer a few basic questions about what wxWidgets is and what sets it apart from other solutions. We outline the proje
2、cts history, how the wxWidgets community works, how wxWidgets is licensed, and an overview of the architecture and available parts. 1.1 WHAT IS WXWIDGETS? wxWidgets is a programmers toolkit for writing desktop or mobile applications with graphical user interfaces (GUIs). Its a framework, in the sens
3、e that it does a lot of the housekeeping work and provides default application behavior. The wxWidgets library contains a large number of classes and methods for the programmer to use and customize. Applications typically show windows containing standard controls, possibly drawing specialized images
4、 and graphics and responding to input from the mouse, keyboard, or other sources. They may also communicate with other processes or drive other programs. In other words, wxWidgets makes it relatively easy for the programmer to write an application that does all the usual things modern applications d
5、o. While wxWidgets is often labeled a GUI development toolkit, it is in fact much more than that and has features that are useful for many aspects of application development. This has to be the case because all of a wx Widgets application needs to be portable to different platforms, not just the GUI
6、 part. wxWidgets provides classes for files and streams, multiple threads, application settings, interprocess communication, online help, database access, and much more. 1.2 WHY USE WXWIDGETS? One area where wxWidgets differs from many other frameworks, such as MFC or OWL, is its multi-platform natu
7、re. wxWidgets has an Application Programming Interface (API) that is the same, or very nearly the same, on all supported platforms. This means that you can write an application on Windows, for example, and with very few changes (if any) recompile it on Linux or Mac OS X. This has a huge cost benefit compared with completely