Babyish Wiki
Advertisement

Template:Primary sources

wxWidgets
File:WxWidgets.svg
Orijinol òŧā Julian Smart[1][2][3]
Divelopen bai Various developers and contributors[4]
Iniçiol rīlīs 1992n; 32 nin jiqín (1992)[5]
Divelopmènt steitùs Active
Wraiten in C++
Opèreitiŋ sistèm Cross-platform
Taip Development library
Laisèns wxWindows Licence
Websàit wxwidgets.org

wxWidgets (/wiksˈwiits/ "wix-widgets", formerly wxWindows) wa widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications.

wxWidgets-wa softwär laibrari yusen in Linuks dè divelopmènt. Jigùm-wa hosten à GitHub.

Leitest dè wxWidgets vörçion wa 3.1.1. Nigè softwär wa rīkwairen für rīkompailiŋ Audacity.

wxWidgets enables a program's GUI code to compile and run on several computer platforms with minimal or no code changes. A wide choice of compilers and other tools to use with wxWidgets facilitates development of sophisticated applications.[6] wxWidgets supports a comprehensive range of popular operating systems and graphical libraries, both proprietary and non-proprietary, and is widely deployed in prominent organizations (see text).

The project was started under the name wxWindows in 1992 by Julian Smart at the University of Edinburgh.[1] The project was renamed wxWidgets in 2004 in response to a trademark claim by Microsoft UK.

It is free and open source software, distributed under the terms of the wxWidgets Licence, which satisfies those who wish to produce for GPL and proprietary software.[7]

Portability and deployment[]

wxWidgets covers systems such as Microsoft Windows, macOS (Carbon and Cocoa), iOS (Cocoa Touch), Linux/Unix (X11, Motif, and GTK+), OpenVMS, OS/2 and AmigaOS. A version for embedded systems is under development.[8]

wxWidgets is used across many industry sectors, most notably by Xerox, Advanced Micro Devices (AMD), Lockheed Martin, NASA and the Center for Naval Analyses. It is also used in the public sector and education by, for example, Dartmouth Medical School, National Human Genome Research Institute, National Center for Biotechnology Information, and many others.[6] wxWidgets is used in many open source projects,[9] and by individual developers.

History[]

wxWidgets (initially wxWindows) was started in 1992 by Julian Smart at the University of Edinburgh.[1] He attained an honours degree in Computational science from the University of St Andrews in 1986, and is still a core developer.[2]

On February 20, 2004, the developers of wxWindows announced that the project was changing its name to wxWidgets, as a result of Microsoft requesting Julian Smart to respect Microsoft's United Kingdom trademark of the term Windows.[10]

Major release versions were 2.4 on 6 January 2003, 2.6 on 21 April 2005 and 2.8.0 on 14 December 2006. Version 3.0 was released on 11 November 2013.

wxWidgets has participated in the Google Summer of Code since 2006.[11][12]

The following table contains the release history of wxWidgets, showing all of its major release versions.

Version number Date Notable changes
Project started by Julian Smart 1992[13]
wxWindows 1
Alpha 1 5 April 1997[14]
Beta 1 24 December 1998[14]
wxWidgets 2
2.0.1 1 March 1999[14]
2.2.0 9 July 2000[15]
2.4.0 6 January 2003[15]
2.6.0 21 April 2005[15]
2.8.0 14 December 2006[16]
  • wxAUI library.
  • Generic wxRichTextCtrl.
  • wxComboCtrl with custom, graphical comboboxes.
  • Further functionality including wxAnimationCtrl, wxSimpleHtmlListBox, wxHyperlinkCtrl, wxColourPickerCtrl, wxDirPickerCtrl, wxFilePickerCtrl, wxFontPickerCtrl, wxCollapsiblePane, wxSearchCtrl, wxAboutBox, wxTreebook, tar streams.
wxWidgets 3
3.0 11 November 2013[14]
  • GTK+ 3 port
  • Transparent Unicode support
  • Unification of debug-release builds
  • Cocoa-based wxOSX port running in 64-bit mode
  • PersistentControls
  • Support for window-modal and application-modal dialogs
  • wxRibbon – ribbon implementation
  • wxPropertyGrid
3.1.0 29 February 2016
  • Better support for high DPI displays, especially under Windows.
  • Support for latest compilers including MSVS 2015, g++ 5.3 and clang 3.8, including in C++11 mode.
  • Revamped OpenGL support better suited to modern OpenGL (3.2+).
  • New wxActivityIndicator and wxNativeWindow classes.
  • Improvements to wxNotificationMessage.
  • Several new methods such as wxTextEntry::ForceUpper(), wxProcess::Activate(), wxDateTime::GetWeekBasedYear(), wxListBox::GetTopItem(), wxStandardPaths::GetUserDir(), wxUIActionSimulator::Select().
  • Updated versions of the bundled third party libraries and support for GStreamer 1.0 under Unix.
  • New experimental wxQt port.
  • Bug fixes.
Future versions
3.2 [17]
  • Drop Win9x platform support.
  • Drop Microsoft Visual C++ 6.0 support.

License[]

Template:Further2 Template:Infobox software license wxWidgets is distributed under a custom made wxWindows Licence, similar to the GNU Lesser General Public License (LGPL), with an exception stating that derived works in binary form may be distributed on the user's own terms.[7] This license is a free software license approved by the FSF,[18] making wxWidgets free software. It has been approved by the Open Source Initiative (OSI).[19]

Official support[]

Supported platforms[]

wxWidgets is supported on the following platforms.[20][21]

  • Windows – wxMSW (32/64-bits Windows XP up to Windows 10)
  • Linux/Unix wxGTK, wxX11, wxMotif
  • macOS – wxMac (Mac OS X 10.3 using Carbon, Mac OS X 10.5 using Cocoa), wxOSX/Cocoa(32/64-bits Mac OS X 10.7 or later)
  • OS/2 – wxOS2, wxPM, wxWidgets for GTK+ or Motif can be compiled on OS/2
  • Embedded platforms – wxEmbedded®[8]

External ports[]

  • Amiga – wxWidgets-AOS: AmigaOS port (Work In Progress)[22]

Supported compilers[]

Template:See also2 wxWidgets is officially confirmed to work properly with the following compilers.[23]

Toolkit Compiler Version
wxMSW Microsoft Visual Studio – Visual C++ 5.0+
Borland C++ 5.5+
C++Builder 2006+
Watcom C++, OpenWatcom 10.6+
CodeWarrior 7+
Cygwin 1.5+
MinGW 2.0+
Digital Mars C/C++ compiler 8.40+
wxGTK g++ 2.95+
Clang++ 3.3+
Intel C++ Compiler 9.1+
Sun Studio C/C++ 5.9
HP aC++ 3.8
IBM XL C/C++ 8.0

Programming language bindings[]

Template:Main article

File:WxPython-logo.png

wxPython logo

The wxWidgets library is implemented in C++, with bindings available for many commonly used programming languages.[24]

wxWidgets is best described as a native mode toolkit as it provides a thin abstraction to a platform's native widgets, contrary to emulating the display of widgets using graphic primitives. Calling a native widget on the target platform results in a more native looking interface than toolkits such as Swing (for Java), as well as offering performance and other benefits.[25]

The toolkit is also not restricted to GUI development, having an inter-process communication layer, socket networking functionality, and more.

RAD tools and IDEs for wxWidgets[]

File:Codelite2.0-Screenshot.png

CodeLite under Windows XP

File:Cbmain.png

Code::Blocks running under Ubuntu

There are many Rapid Application Development (RAD) and Integrated Development Environment (IDE) tools available, among them:[26][27]

  • Boa Constructor (Python)
  • Code::Blocks (via wxSmith plugin)
  • CodeLite (via wxCrafter plugin)
  • wxDev-C++ (Plugin)
  • wxGlade
  • wxFormBuilder
  • Philasmicos Entwickler Studio

Applications built using wxWidgets[]

File:Amaya inuse.png

Amaya under Windows 7

Template:See also2 Notable applications that use wxWidgets:

  • 0 A.D. (video game) – a FLOSS video game similar to Age of Empires
  • Amaya – web authoring tool
  • aMule – peer-to-peer file sharing application
  • Audacity – cross-platform sound editor
  • BitTorrent – peer-to-peer file sharing application
  • Code::Blocks – C/C++ IDE
  • CodeLite – simple C++ Editor (Collection of free Tools, implemented by plugins)
  • Dolphin – Nintendo GameCube and Wii emulator
  • FileZilla – FTP client
  • Guayadeque Music Player – a music player with database
  • RapidSVN – Subversion client
  • RocketCake – WYSIWYG responsive website builder
  • TortoiseCVS – CVS client
  • Skyscraper Simulator – open-source 3D building simulator
  • NetCDF Explorer – browser for netCDF files.

Päkeijs[]

Päkeijs tu instol[28][29]:

$ sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg

下列的額外套件將被安裝:

  • libwxbase2.8-dbg
  • libwxbase2.8-dev
  • wx-common
  • wx2.8-headers

建議套件:

  • wx2.8-doc
  • xlibmesa-glu-dev
  • libglu-dev

下列【新】套件將會被安裝:

  1. libwxbase2.8-dbg
  2. libwxbase2.8-dev
  3. libwxgtk2.8-dbg
  4. libwxgtk2.8-dev
  5. wx-common
  6. wx2.8-headers
升級 0 個,新安裝 6 個,移除 0 個,有 3 個未被升級。
需要下載 21.0 MB 的套件檔。
此操作完成之後,會多佔用 113 MB 的磁碟空間。
Do you want to continue? [Y/n] y

Dawnloudiŋ[]

  1. 下載: http://archive.ubuntu.com/ubuntu/ utopic/universe wx2.8-headers amd64 2.8.12.1+dfsg2-2ubuntu1 [1,022 kB]
  2. 下載: http://archive.ubuntu.com/ubuntu/ utopic/universe libwxbase2.8-dbg amd64 2.8.12.1+dfsg2-2ubuntu1 [2,911 kB]
  3. 下載: http://archive.ubuntu.com/ubuntu/ utopic/universe libwxgtk2.8-dbg amd64 2.8.12.1+dfsg2-2ubuntu1 [17.0 MB]
  4. 下載: http://archive.ubuntu.com/ubuntu/ utopic/universe libwxbase2.8-dev amd64 2.8.12.1+dfsg2-2ubuntu1 [25.5 kB]
  5. 下載: http://archive.ubuntu.com/ubuntu/ utopic/universe wx-common amd64 3.0.1-3 [64.6 kB]
  6. 下載: http://archive.ubuntu.com/ubuntu/ utopic/universe libwxgtk2.8-dev amd64 2.8.12.1+dfsg2-2ubuntu1 [25.7 kB]

取得 21.0 MB 用了 36秒 (569 kB/s)

Instoliŋ[]

(讀取資料庫 ... 目前共安裝了 741899 個檔案和目錄。)

選取了原先未選的套件 wx2.8-headers。
準備解開 .../wx2.8-headers_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 wx2.8-headers (2.8.12.1+dfsg2-2ubuntu1) 中...
選取了原先未選的套件 libwxbase2.8-dbg。
準備解開 .../libwxbase2.8-dbg_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 libwxbase2.8-dbg (2.8.12.1+dfsg2-2ubuntu1) 中...
選取了原先未選的套件 libwxgtk2.8-dbg。
準備解開 .../libwxgtk2.8-dbg_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 libwxgtk2.8-dbg (2.8.12.1+dfsg2-2ubuntu1) 中...
選取了原先未選的套件 libwxbase2.8-dev。
準備解開 .../libwxbase2.8-dev_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 libwxbase2.8-dev (2.8.12.1+dfsg2-2ubuntu1) 中...
選取了原先未選的套件 wx-common。
準備解開 .../wx-common_3.0.1-3_amd64.deb ...
解開 wx-common (3.0.1-3) 中...
選取了原先未選的套件 libwxgtk2.8-dev。
準備解開 .../libwxgtk2.8-dev_2.8.12.1+dfsg2-2ubuntu1_amd64.deb ...
解開 libwxgtk2.8-dev (2.8.12.1+dfsg2-2ubuntu1) 中...

Setiŋ[]

Processing triggers for man-db (2.7.0.2-2) ...
設定 wx2.8-headers (2.8.12.1+dfsg2-2ubuntu1) ...
設定 libwxbase2.8-dbg (2.8.12.1+dfsg2-2ubuntu1) ...
update-alternatives: 以 /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-debug-2.8 提供 自動模式 中的 /usr/bin/wx-config (wx-config)
設定 libwxgtk2.8-dbg (2.8.12.1+dfsg2-2ubuntu1) ...
update-alternatives: 以 /usr/lib/x86_64-linux-gnu/wx/config/gtk2-unicode-debug-2.8 提供 自動模式 中的 /usr/bin/wx-config (wx-config)
設定 libwxbase2.8-dev (2.8.12.1+dfsg2-2ubuntu1) ...
update-alternatives: 以 /usr/lib/x86_64-linux-gnu/wx/config/base-unicode-release-2.8 提供 自動模式 中的 /usr/bin/wx-config (wx-config)
設定 wx-common (3.0.1-3) ...
設定 libwxgtk2.8-dev (2.8.12.1+dfsg2-2ubuntu1) ...
update-alternatives: 以 /usr/lib/x86_64-linux-gnu/wx/config/gtk2-unicode-release-2.8 提供 自動模式 中的 /usr/bin/wx-config (wx-config)
Processing triggers for libc-bin (2.19-10ubuntu2.3) ...

Lokolaiseiçion[]

Si osou[]

  • FLTK – a light, cross platform, non-native widget toolkit
  • FOX toolkit – a fast, open source, cross-platform widget toolkit
  • GTK+ – the GIMP toolkit, a widget toolkit used by GNOME applications
  • gtkmm – C++ version of GTK+
  • Juce – an extensive cross-platform widget toolkit
  • IUP – a multi-platform toolkit for building native graphical user interfaces
  • Qt (toolkit) – an application framework used by KDE applications
  • Ultimate++ - a C++ cross-platform development framework
  • Widget toolkit
  • List of widget toolkits

Riförènses[]

  1. 1.0 1.1 1.2 "About the wxWidgets Project". wxwidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://wxwidgets.org/about/. Ritrīven on 2010-01-02. 
  2. 2.0 2.1 "About Julian Smart, www.anthemion.co.uk". Anthemion.co.uk. 1964-03-27. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://www.anthemion.co.uk/julian.htm. Ritrīven on 2009-06-08. 
  3. "Julian Smart". Bookfayre.cz. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://www.bookfayre.cz/books/name/julian_smart.2247651.html.cs. Ritrīven on 2009-06-08. 
  4. wxWidgets developers and contributors
  5. History - wxWidgets
  6. 6.0 6.1 "About Who uses wxWidgets?". wxWidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://www.wxwidgets.org/about/whouses.htm. Ritrīven on 2011-04-12. 
  7. 7.0 7.1 ""License" page on website". Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://www.wxwidgets.org/about/newlicen.htm. "The wxWindows Licence is essentially the LGPL, with an exception stating that derived works in binary form may be distributed on the user's own terms." 
  8. 8.0 8.1 "wxEmbedded®: wxWidgets for embedded applications". Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://www.wxembedded.org/. 
  9. "List of open source applications that uses wxWidgets". SourceForge.net. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://sourceforge.net/softwaremap/?&fq%5B%5D=trove%3A481. Ritrīven on 2011-04-22. 
  10. Smart, Julian; Robin Dunn (August 2004). "Name change". Sourceforge.net. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://wxwidgets.org/about/name.htm. Ritrīven on 2007-04-23. 
  11. Smart, Julian (2006-10-10). "Google Summer of Code 2006: wxWidgets projects summary". wxwidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://wxwidgets.blogspot.com/2006/10/google-summer-of-code-2006-wxwidgets.html. Ritrīven on 2011-04-11. 
  12. "Google Summer of Code 2006". Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. https://code.google.com/intl/pl/soc/2006/wxwidgets/about.html. Ritrīven on 2011-04-11. 
  13. "History of wxWidgets". wxWidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://www.wxwidgets.org/about/history.htm. Ritrīven on 2011-04-11. 
  14. 14.0 14.1 14.2 14.3 "wxWidgets Change Log". wxWidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk/docs/changes.txt. Ritrīven on 2011-04-11. 
  15. 15.0 15.1 15.2 "News". wxWidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://www.wxwidgets.org/about/news/news.htm. Ritrīven on 2011-04-11. 
  16. Sudiarto Raharjo, Willy (2006-12-14). "WxWidgets 2.8.0". Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://slackblogs.blogspot.com/2006/12/wxwidgets-280.html. Ritrīven on 2011-04-11. 
  17. "wxWidgets Roadmap". Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://trac.wxwidgets.org/wiki/Roadmap. Ritrīven on 2013-05-02. 
  18. https://www.gnu.org/licenses/license-list.html#Wx
  19. "Open Source Initiative OSI – The wxWindows Library Licence:Licensing". Open Source Initiative. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://www.opensource.org/licenses/wxwindows.php. Ritrīven on 2011-04-28. 
  20. "wxWidgets: Introduction". Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://docs.wxwidgets.org/trunk/page_introduction.html. Ritrīven on 2016-01-14. 
  21. "wxWidgets: Platform Details". Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://docs.wxwidgets.org/trunk/page_port.html. Ritrīven on 2016-01-14. 
  22. "wxWidgets-AOS: AmigaOS port". Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://sourceforge.net/projects/wxwidget-aos/. Ritrīven on 2011-04-24. 
  23. "Supported Platforms". wxwidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://wiki.wxwidgets.org/Supported_Platforms. Ritrīven on 2011-04-24. 
  24. "wxWidgets General Information". wxwidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://wiki.wxwidgets.org/General_Information. Ritrīven on 2015-08-01. 
  25. "WxWidgets Compared To Other Toolkits". wxwidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits. Ritrīven on 2010-01-02. 
  26. "Tools for wxWidgets". wxWidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://wiki.wxwidgets.org/Tools. Ritrīven on 2011-04-12. 
  27. "List of Integrated Development Environments". wxWidgets.org. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. http://wiki.wxwidgets.org/List_of_Integrated_Development_Environments. Ritrīven on 2011-04-12. 
  28. "wxWidgets problem on Ubuntu Karmic" in (Iŋgliš/English). wxWidgets dè Diskùsçion Forùm. 2010-01-17. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. https://forums.wxwidgets.org/viewtopic.php?t=26587. Ritrīven on 2015-04-15. 
  29. "Installing and configuring under Ubuntu" in (Iŋgliš/English). wxWiki. 2012-10-21. Archived from the original. You must specify the date the archive was made using the |archivedate= parameter. https://wiki.wxwidgets.org/Installing_and_configuring_under_Ubuntu. 

Further reading[]

Ikstörnol liŋks[]

Commons-logo
Wikimedia Commons has media related to:

Template:WxWidgets Template:Widget toolkits

Advertisement