自从
2.5.0
开始,
wxWidgets
既可以编译成单一的代码库(这种编译方式被称为:
monolithic
),或者编译为一些多个小的代码库(这种编译方式被称为
multilib
),
Multilib
是默认的编译方式。
wxWidgets
被划分成多个代码库的形式,简要概述如下,这张图标展示了他们之间的依赖关系:
wxAui
它包含了高级的用户界面库,如控件停靠等。
wxBase
每一个wxWidgets应用程序必须连接这个代码库。他包含了wxWidgets依赖的最基础的代码库(如: wxString),也包含了在多个平台之间可移植的抽象定义。wxBase可以被用来开发控制台程序,它并不依赖任何GUI库,也不需要在UNIX平台上运行X-Window系统。
wxNet
网络访问控制:
- wxSocket 类(wxSocketClient, wxSocketServer and 相关类)
- wxSocketOutputStream 和 wxSocketInputStream
- 基于Sockets的IPC类(wxTCPServer, wxTCPClient和wxTCPConnection)
- wxURL
- wxInternetFSHandler (一个wxFileSystem辅助类)
- 依赖wxBase.
wxRichText
他包含了通用的RichText控件和相关功能。
wxXML
它包含解析XML文档的一些简单类。需要注意的是,这些API接口在将来会被改变,并且也不会提供向后兼容性。所以不推荐在你的程序中使用这些类,它仅仅被XML resources system使用。WxWidgets将来的版本会包含新的DOM-like API 的XML处理类。
信赖于wxBase.
wxCore
基础的GUI类库,如GDI类和控件库。
所有的wxWidgets GUI应用程序都需要连接此类库,除非控制台程序。
wxAdvanced
高级GUI控件库:
- wxBufferedDC
- wxCalendarCtrl
- wxGrid classes
- wxJoystick
- wxLayoutAlgorithm
- wxSplashScreen
- wxTaskBarIcon
- wxSound
- wxWizard
- wxSashLayoutWindow
- wxSashWindow
依赖于wxCore和wxBase.
wxMedia
和多媒体有关系的一些类。当前,这个类库中只包含wxMediaCtrl,但是在将来会加进更多的类。
依赖wxCore和wxBase.
wxGL
这个类库包含用户整合
OpenGL 和 wx
Widgets
的wxGLCanvas类。与其他的类库包不同,这个类库不能作为单一代码包的一部分。它总是被单独编译。
依赖wxCore 和 wxBase.
wxHTML
它包含一个简单的HTML展示器和一些HTML呈现类。如wxHtmlHelpController, wxBestHelpController 和 wxHtmlListBox.
依赖于 wxCore 和 wxBase.
wxODBC
关于数据库的一些类。
依赖 wxBase.
wxQA
这个类库包包含一些扩展的质量保障附加类。当前仅包含wxDebugReport类及其相关类。但是将来会添加更多的类.
依赖于 wxCore, wxBase 和 wxXML.
wxDbGrid
wxDbGridTableBase
类是wxGrid 和 wxDbTable的功能组合类.
依赖于 wxODBC 和 wxAdvanced.
wxXRC
这个类库包包含wxXmlResource类,它提供了对XRC格式的XML 资源文件的读写访问。
依赖于 wxXML, wxCore, wxAdvanced 和 wxHTML.
附原文:
wxWidgets Libraries list
Starting from version 2.5.0 wxWidgets can be built either as a single large library (this is called the monolithic build) or as several smaller libraries (multilib build). Multilib build is the default.
wxWidgets library is divided into libraries briefly described below. This diagram show dependencies between them:
wxAui
This contains the Advanced User Interface docking library.
wxBase
Every wxWidgets application must link against this library. It contains mandatory classes that any wxWidgets code depends on (e.g. wxString) and portability classes that abstract differences between platforms. wxBase can be used to develop console mode applications, it does not require any GUI libraries or running X Window System on Unix.
wxNet
Classes for network access:
- wxSocket classes (wxSocketClient, wxSocketServer and related classes)
- wxSocketOutputStream and wxSocketInputStream
- sockets-based IPC classes (wxTCPServer, wxTCPClient and wxTCPConnection)
- wxURL
- wxInternetFSHandler (a wxFileSystem handler) Requires wxBase.
wxRichText
This contains generic rich text control functionality.
wxXML
This library contains simple classes for parsing XML documents. Note that their API will change in the future and backward compatibility will not be preserved. Use of this library in your applications is not recommended, it is only meant for use by XML resources system. Future versions of wxWidgets will contain new XML handling classes with DOM-like API. Requires wxBase.
wxCore
Basic GUI classes such as GDI classes or controls are in this library. All wxWidgets GUI applications must link against this library, only console mode applications don't.
wxAdvanced
Advanced or rarely used GUI classes:
- wxBufferedDC
- wxCalendarCtrl
- wxGrid classes
- wxJoystick
- wxLayoutAlgorithm
- wxSplashScreen
- wxTaskBarIcon
- wxSound
- wxWizard
- wxSashLayoutWindow
- wxSashWindow
Requires wxCore and wxBase.
wxMedia
Miscellaneous classes related to multimedia. Currently this library only contains wxMediaCtrl but more classes will be added in the future.
Requires wxCore and wxBase.
wxGL
This library contains wxGLCanvas class for integrating OpenGL library with wxWidgets. Unlike all others, this library is not part of the monolithic library, it is always built as separate library. Requires wxCore and wxBase.
wxHTML
Simple HTML renderer and other HTML rendering classes are contained in this library, as well as wxHtmlHelpController, wxBestHelpController and wxHtmlListBox. Requires wxCore and wxBase.
wxODBC
Database classes. Requires wxBase.
wxQA
This is the library containing extra classes for quality assurance. Currently it only contains wxDebugReport and related classes, but more will be added to it in the future.
Requires wxCore, wxBase and wxXML.
wxDbGrid
wxDbGridTableBase class which combines wxGrid and wxDbTable. Requires wxODBC and wxAdvanced.
wxXRC
This library contains wxXmlResource class that provides access to XML resource files in XRC format. Requires wxXML, wxCore, wxAdvanced and wxHTML.
~~The END~~
尹曙光