why another cross-platform development tool?
wxwidgets was developed to provide a cheap and flexible way to maximize
investment in gui application development. while a number of commercial
class libraries already existed for cross-platform development,
none met all of the following criteria:
- low price;
- source availability;
- simplicity of programming;
- support for a wide range of compilers.
since wxwidgets was started, several other free or almost-free
gui frameworks have emerged. however, none has the range of
features, flexibility, documentation and the well-established
development team that wxwidgets has.
as open source software, wxwidgets has benefited from comments,
ideas, bug fixes, enhancements and the sheer enthusiasm of
users. this gives wxwidgets a certain advantage over its
commercial competitors (and over free libraries without an
independent development team), plus a robustness against the
transience of one individual or company. this openness and
availability of source code is especially important when the
future of thousands of lines of application code may depend upon
the longevity of the underlying class library.
version 2 goes much further than previous versions in terms of
generality and features, allowing applications to be produced
that are often indistinguishable from those produced using
single-platform toolkits such as motif, gtk+ and mfc.
the importance of using a platform-independent class library
cannot be overstated, since gui application development is very
time-consuming, and sustained popularity of particular guis
cannot be guaranteed. code can very quickly become obsolete if
it addresses the wrong platform or audience. wxwidgets helps to
insulate the programmer from these winds of change. although
wxwidgets may not be suitable for every application (such as an
ole-intensive program), it provides access to most of the
functionality a gui program normally requires, plus many extras
such as network programming, postscript output, and html
rendering; and it can of course be extended as needs dictate.
as a bonus, it provides a far cleaner and easier programming
interface than the native apis. programmers may find it
worthwhile to use wxwidgets even if they are developing on only
one platform.
it is impossible to sum up the functionality of wxwidgets in a few paragraphs, but
here are some of the benefits:
- low cost (free, in fact!)
- you get the source.
- available on a variety of popular platforms.
- works with almost all popular c++ compilers and python.
- over 50 example programs.
- over 1000 pages of printable and on-line documentation.
- includes tex2rtf, to allow you to produce your own documentation
in windows help, html and word rtf formats.
- simple-to-use, object-oriented api.
- flexible event system.
- graphics calls include lines, rounded rectangles, splines, polylines, etc.
- constraint-based and sizer-based layouts.
- print/preview and document/view architectures.
- toolbar, notebook, tree control, advanced list control classes.
- postscript generation under unix, normal ms windows printing on the pc.
- mdi (multiple document interface) support.
- can be used to create dlls under windows, dynamic libraries on unix.
- common dialogs for file browsing, printing, colour selection, etc.
- under ms windows, support for creating metafiles and copying
them to the clipboard.
- an api for invoking help from applications.
- ready-to-use html window (supporting a subset of html).
- network support via a family of socket and protocol classes.
- support for platform independent image processing.
- built-in support for many file formats (bmp, png, jpeg, gif, xpm, pnm, pcx).
|