wxWidgets

From Wikipedia, the free encyclopedia
Jump to: navigation, search
wxWidgets
WxWidgets.svg
Developer(s) wxWidgets Developers and Contributors
Initial release 1992; 20 years ago (1992)
Stable release 2.8.12 / March 28, 2011; 10 months ago (2011-03-28)
Preview release 2.9.3 / December 14, 2011; 2 months ago (2011-12-14)
Development status Active
Written in C++
Operating system Cross-platform
Type Development library
License wxWindows license
Website wxwidgets.org

wxWidgets (formerly wxWindows) is a widget toolkit and tools library for creating graphical user interfaces (GUIs) for cross-platform applications. wxWidgets enables a program's GUI code to compile and run on several computer platforms with minimal or no code changes. It covers systems such as Microsoft Windows, Mac OS X (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.[1]

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.[2] wxWidgets is used in many open source projects,[3] as well as by the individual developers. A wide choice of compilers and other tools to use with wxWidgets, allows development of highly sophisticated applications on a tight budget.[2]

It is free and open source software, distributed under the terms of the wxWidgets license, which satisfies those who wish to produce GPL software, and also those producing proprietary software.[4]

Contents

[edit] History

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

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.[8]

Major release versions were 2.4 on 6 January 2003, 2.6 on 21 April 2005 and 2.8.0 on 14 December 2006.

wxWidgets has participated in the Google Summer of Code since 2006.[9][10]

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[11]
wxWindows 1
Alpha 1 5 April 1997[12]
Beta 1 24 December 1998[12]
wxWidgets 2
2.0.1 1 March 1999[12]
2.2.0 9 July 2000[13]
2.4.0 6 January 2003[13]
2.6.0 21 April 2005[13]
2.8.0 14 December 2006[14]
  • 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.
Future versions
3.0 Summer of 2012[15]
  • 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.2 [15]
  • Drop Win9x platform support.
  • Drop Microsoft Visual C++ 6.0 support.

[edit] License

wxWidgets is distributed under a custom made wxWindows License, similar to the GNU Lesser General Public License, with an exception stating that derived works in binary form may be distributed on the user's own terms. This license is a free software license, making wxWidgets free software.[4] It has been approved by the Open Source Initiative (OSI).[16] Its name will be changed to wxWidgets Licence.

[edit] Official support

[edit] Supported platforms

wxWidgets is supported on the following platforms.[17]

  • Windows - wxMSW (Windows 95/98/ME, NT, 2000, XP, and Vista)
  • Linux/Unix wxGTK+, wxX11, wxMotif
  • Mac OS X - wxMac (10.3 using Carbon)
  • OS/2 - wxOS2, wxPM, wxWidgets for GTK+ or Motif can be compiled on OS/2
  • Embedded platforms - wxEmbedded[1]

[edit] External ports

  • Amiga - wxWidgets-AOS: AmigaOS port[18]

[edit] Supported compilers

wxWidgets is officially confirmed to work properly with the following compilers.[19]

wxMSW wxGTK
Compiler Version Compiler Version
Microsoft Visual Studio - Visual C++
Borland C++
Borland C++ Builder
Watcom C++, OpenWatcom
CodeWarrior
Cygwin
MinGW
Digital Mars C/C++ compiler
5.0 +
5.5 +
2006 +
10.6 +
7 +
1.5 +
2.0 +
8.40 +
g++
Sun Studio C/C++
HP aC++
IBM XL C/C++
2.95 +
5.9
3.80
8.00

[edit] Implementation

wxPython logo

The wxWidgets library is implemented in C++, with bindings available for many commonly used programming languages. Some of them:[20]

Language Binding Latest release Latest release date
Python wxPython 2.8.12.1 2011-07-23[21]
PHP wxPHP 1.1 2011-09-22[22]
Erlang wxErlang R14B03 2011-05-25[23]
Haskell wxHaskell 0.12.1.2 2009-10-13[24]
Tcl wxTCL [25]
Lua wxLua 2.8.10.0 2009-05-24[26]
Perl wxPerl 0.98 2010-08-18[27]
Ruby wxRuby 2.0.1 2009-09-08[28]
Smalltalk wxSqueak 0.5.1 2008-07-06[29]
Basic wxBasic 2.8.10.23 2009-09-06[30]
FreeBasic wx-c 2.8.12
BlitzMax wxMax 1.01 2009-10[31]
C wxC [32]
D wxD 0.15 2009-07-03[33]
Euphoria wxEuphoria 0.16.0 2011-06-20[34]
.NET Framework wx.NET 0.9.2 2010-07-14[35]
Java wx4j 0.2.0 2004-04-01[36]
JavaScript wxJavaScript 0.9.75 2008-12-09[37]
JavaScript GLUEscript 0.1.08 2011-02-18[38]

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.[39]

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

[edit] RAD tools and IDEs for wxWidgets

CodeLite under Windows XP

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

[edit] Applications built using wxWidgets

Audacity running under Ubuntu
TrueCrypt on Windows Vista

Notable applications that use wxWidgets:

[edit] See also

[edit] References

  1. ^ a b "wxEmbedded: wxWidgets for embedded applications". Sourceforge.net. http://www.wxwidgets.org/docs/embedded.htm. Retrieved 2007-04-23. 
  2. ^ a b "About Who uses wxWidgets?". wxWidgets.org. http://www.wxwidgets.org/about/whouses.htm. Retrieved 2011-04-12. 
  3. ^ "List of open source applications that uses wxWidgets". SourceForge.net. http://sourceforge.net/softwaremap/?&fq%5B%5D=trove%3A481. Retrieved 2011-04-22. 
  4. ^ a b ""License" page on website". http://www.wxwidgets.org/about/newlicen.htm. "The wxWindows License is essentially the L-GPL (Library General Public License), with an exception stating that derived works in binary form may be distributed on the user's own terms." 
  5. ^ "About the wxWidgets Project". wxwidgets.org. http://wxwidgets.org/about/. Retrieved 2010-01-02. 
  6. ^ "About Julian Smart, www.anthemion.co.uk". Anthemion.co.uk. 1964-03-27. http://www.anthemion.co.uk/julian.htm. Retrieved 2009-06-08. 
  7. ^ "Julian Smart". Bookfayre.cz. http://www.bookfayre.cz/books/name/julian_smart.2247651.html.cs. Retrieved 2009-06-08. 
  8. ^ Smart, Julian; Robin Dunn (August 2004). "Name change". Sourceforge.net. http://wxwidgets.org/about/name.htm. Retrieved 2007-04-23. 
  9. ^ Smart, Julian (2006-10-10). "Google Summer of Code 2006: wxWidgets projects summary". wxwidgets.org. http://wxwidgets.blogspot.com/2006/10/google-summer-of-code-2006-wxwidgets.html. Retrieved 2011-04-11. 
  10. ^ "Google Summer of Code 2006". http://code.google.com/intl/pl/soc/2006/wxwidgets/about.html. Retrieved 2011-04-11. 
  11. ^ "History of wxWidgets". wxWidgets.org. http://www.wxwidgets.org/about/history.htm. Retrieved 2011-04-11. 
  12. ^ a b c "wxWidgets Change Log". wxWidgets.org. http://svn.wxwidgets.org/svn/wx/wxWidgets/trunk/docs/changes.txt. Retrieved 2011-04-11. 
  13. ^ a b c "News". wxWidgets.org. http://www.wxwidgets.org/about/news/news.htm. Retrieved 2011-04-11. 
  14. ^ Sudiarto Raharjo, Willy (2006-12-14). "WxWidgets 2.8.0". http://slackblogs.blogspot.com/2006/12/wxwidgets-280.html. Retrieved 2011-04-11. 
  15. ^ a b "wxWidgets Roadmap". http://trac.wxwidgets.org/wiki/Roadmap. Retrieved 2011-07-28. 
  16. ^ "Open Source Initiative OSI - The wxWindows Library Licence:Licensing". Open Source Initiative. http://www.opensource.org/licenses/wxwindows.php. Retrieved 2011-04-28. 
  17. ^ "wxWidgets - General FAQ". wxwidgets.org. http://www.wxwidgets.org/docs/faqgen.htm. Retrieved 2011-04-29. 
  18. ^ "wxWidgets-AOS: AmigaOS port". http://sourceforge.net/projects/wxwidget-aos/. Retrieved 2011-04-24. 
  19. ^ "Supported Platforms". wxwidgets.org. http://wiki.wxwidgets.org/Supported_Platforms. Retrieved 2011-04-24. 
  20. ^ "wxWidgets General Information". wxwidgets.org. http://wiki.wxwidgets.org/General_Information. Retrieved 2011-04-11. 
  21. ^ "wxPython". http://www.wxpython.org/. Retrieved 2011-08-14. 
  22. ^ "wxPHP". http://www.wxphp.org/. Retrieved 2011-09-22. 
  23. ^ "Erlang -- wx the erlang binding of wxWidgets". http://www.erlang.org/doc/apps/wx/chapter.html. Retrieved 2011-04-12. 
  24. ^ "WxHaskell - HaskellWiki". http://haskell.org/haskellwiki/WxHaskell. Retrieved 2011-04-12. 
  25. ^ "wx Extension for Tcl". http://membres.lycos.fr/awaken/. Retrieved 2011-04-12. 
  26. ^ "wxLua - homepage". http://wxlua.sourceforge.net/. Retrieved 2011-04-12. 
  27. ^ "wxPerl". http://wxperl.sourceforge.net/. Retrieved 2011-04-12. 
  28. ^ "wxRubyWiki: wxRuby". http://wxruby.rubyforge.org/wiki/wiki.pl. Retrieved 2011-04-12. 
  29. ^ "wxSqueak official website". http://www.wxsqueak.org/. Retrieved 2011-04-12. 
  30. ^ "wxBasic Programming Language". http://wxbasic.net/download.html. Retrieved 2011-04-12. 
  31. ^ "wxmax - BlitzMax binding for wxWidgets". http://code.google.com/p/wxmax/. Retrieved 2011-04-12. 
  32. ^ "wxC official website". http://wxc.sourceforge.net/. Retrieved 2011-04-12. 
  33. ^ "wxD - Cross-Platform GUI Library". http://wxd.sourceforge.net/. Retrieved 2011-04-12. 
  34. ^ "wxEuphoria official website". http://wxeuphoria.sourceforge.net/. Retrieved 2011-08-14. 
  35. ^ "wx.NET Home Page". http://wxnet.sourceforge.net/. Retrieved 2011-04-12. 
  36. ^ "wx4j: A Java Binding for wxWidgets". http://wx4j.sourceforge.net/. Retrieved 2011-04-12. 
  37. ^ "wxJavaScript official website". http://www.wxjavascript.net/. Retrieved 2011-04-12. 
  38. ^ "GLUEscript - Glueing Libraries Using EcmaScript". http://gluescript.sourceforge.net/. Retrieved 2011-04-12. 
  39. ^ "WxWidgets Compared To Other Toolkits". wxwidgets.org. http://wiki.wxwidgets.org/WxWidgets_Compared_To_Other_Toolkits. Retrieved 2010-01-02. 
  40. ^ "Tools for wxWidgets". wxWidgets.org. http://wiki.wxwidgets.org/Tools. Retrieved 2011-04-12. 
  41. ^ "List of Integrated Development Environments". wxWidgets.org. http://wiki.wxwidgets.org/List_of_Integrated_Development_Environments. Retrieved 2011-04-12. 

[edit] Further reading

  • Smart, Julian; Hock, Kevin; Csomor, Stefan (August 5, 2005), Cross-Platform GUI Programming with wxWidgets, Prentice Hall, pp. 744, ISBN 978-0131473812 

[edit] External links

Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages