473,788 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Please use wxWidgets


PLEASE USE WXWIDGETS

Please use wxWidgets, the multiplatform C++ class library. It's free, open-source
and non-commercial. It's modelled after MFC but it produces code which can
be compiled (using conditional compilation) into native code executables with
the speed and UI look of the platform for which the compile is targeted. So
the Windows executable looks (and is) a real Windows program, the Mac OS X
executable looks (and is) a native Mac OS X program and the Linux executable
is and looks like a real Linux/GTK+ application. It has been in development
by a band of open-source programmers led by Julian Smart for over a decade
(12 years to be exact)!

So code in wxWidgets and your program will run on both Windows, Mac OS X and
Linux, natively. Three for the price of one! And it's much easier to use than
MFC. Dialogs and Windows are easy to design using the DialogBlocks WYSIWYG
UI creator (not free and commercial, but low cost). So prepare your software
to be independent of platform and be prepared for the future.

See http://www.wxwidgets.org for more information.
Jul 22 '05 #1
10 2596
Nomen Nescio wrote:
PLEASE USE WXWIDGETS

Please use wxWidgets, the multiplatform C++ class library. [..]


Besides "free", what are the advantages of it over, say, Qt?

V
Jul 22 '05 #2
So code in wxWidgets and your program will run on both Windows, Mac OS
X and Linux, natively.


Windows and Mac OS use different CPU types and hence have different CPU
instructions... how can you have an executable that will run on both... ? Is
there a virtual machine involved at all... ?

As for Windows and Linux... Windows has some sort of PE executable file
format, does Linux have the same... ?
-JKop
Jul 22 '05 #3
"Victor Bazarov" <v.********@com Acast.net> wrote in message
news:3o******** ********@newsre ad1.dllstx09.us .to.verio.net.. .
Nomen Nescio wrote:
PLEASE USE WXWIDGETS

Please use wxWidgets, the multiplatform C++ class library. [..]


Besides "free", what are the advantages of it over, say, Qt?


Other than Qt, would you know any other comparable library?

One advantage of wx might be that, as the OP mentioned, it always
uses native widgets of the target platform. Last I checked, Qt
was using custom-drawn widgets, which don't always have the look
and feel of the target platform.

Other than that, Wx does not use a special preprocessor (Qt's MOC),
however it tends to use MFC-style macros for message maps (although
you can do without them). Its license allows it to be used in any
project for free, including non-open source.
Qt, while being GPL on linux only, is commercial on other platforms.
It is also more polished overall.

While Qt is used as a basis for the KDE desktop (as far as I know),
wxWidgets has a Python binding (wxPython) that has also become a de
facto standard for Python GUI development.

Btw, both Qt and Wx, share a set of common flaws:
- Tendency to use custom container and string classes
instead of the standard library.
- Use of a MOC or Macros to implement a callback/messaging
mechanisme while a pure C++ equivalent is possible today
- Single-rooted object hierarchies and "emulated" RTTI
- Excessively monolithic design -- intrication of various
modules/components makes it difficult to use only a subset
of the library.

(Disclaimer: I haven't reviewed the latest version of Qt).
I would welcome further constructive/informative comments
about how these two libraries compare...

Cheers,
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Jul 22 '05 #4
On Wed, 06 Oct 2004 17:40:02 +0200, Nomen Nescio wrote:

PLEASE USE WXWIDGETS

I thought I was reading comp.lang.c++ not comp.lang.ads
I hope the author of this post is in no way associated with wxWidgets,
that alone would make me stay far, far away from that toolkit.

Jul 22 '05 #5

"JKop" <NU**@NULL.NULL > wrote in message
news:fr******** ***********@new s.indigo.ie...
So code in wxWidgets and your program will run on both Windows, Mac OS
X and Linux, natively.
Windows and Mac OS use different CPU types and hence have different CPU
instructions... how can you have an executable that will run on both... ?

Is there a virtual machine involved at all... ?


I would assume that by "code", the OP was talking about "source code", not
an executable that will run on both. We discuss cross-platform issues here
often, and I'm pretty sure we're talking about source code that is platform
independent. Right?

-Howard
Jul 22 '05 #6
Howard wrote:
[..]
I would assume that by "code", the OP was talking about "source code", not
an executable that will run on both. We discuss cross-platform issues here
often, and I'm pretty sure we're talking about source code that is platform
independent. Right?


Right. There is another "problem", however. To use such libraries, one
has to either begin fresh or totally rewrite the UI code that has been
already written. Solutions that allow one to take the code written for
a particular platform and just recompile it on another platform and
expect it to run and do what it does on the original platform, are few
and far between. Not to mention that they are very expensive.

We're falling off the topic very rapidly, BTW.

V
Jul 22 '05 #7

"Nomen Nescio" <no****@dizum.c om> wrote in message
news:57******** *************** *******@dizum.c om...

PLEASE USE WXWIDGETS


Please keep material posted here topical.

-Mike
Jul 22 '05 #8
> >> Please use wxWidgets, the multiplatform C++ class library. [..]

Besides "free", what are the advantages of it over, say, Qt?
Other than Qt, would you know any other comparable library?

[snip] I would welcome further constructive/informative comments
about how these two libraries compare...


http://freshmeat.net/articles/view/928/

--
Peter van Merkerk
peter.van.merke rk(at)dse.nl
Jul 22 '05 #9
Ivan Vecerina wrote:

I would welcome further constructive/informative comments
about how these two libraries compare...

I don't know about Qt, but the screenshots on WxWidgets page might
look good compared to the sucko Motif and other X GUI designs, but
they suck compared to the MAC/PC state of the art.
Jul 22 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1606
by: USCode | last post by:
I've been poking around the wxPython website and am unclear if wxPython has a wrapper for ALL wxWidget classes or just the GUI-related classes? Does wxPython also provide a python wrapper for the wxWidget non-GUI classes such as: ODBC, printing, threading, interprocess communication, XML, streams, etc. I realize Python provides many of these facilities natively but through wxPython, can I use the wxWidget versions instead? Thanks!
5
2525
by: py | last post by:
i need to design a GUI for my python app. i heard of wxWidgets and was going to look into that, but then I saw wxPython. Why would I use wxPython over wxWidgets? thanks
5
403
by: Tudman Todmorden | last post by:
Please use wxWidgets, the multiplatform C++ class library. It's free, open-source and non-commercial. It's modeled after MFC but it produces code which can be compiled (using conditional compilation) into native code executables with the speed and UI look of the platform for which the compile is targeted. So the Windows executable looks like (and is) a real Windows program, the Mac OS X executable looks like (and is) a native Mac OS X...
1
2980
by: sc | last post by:
I'm hoping to hear from anyone who has had extensive experience with writing cross-platform GUI apps using wxWidgets? I'm particularly interested in "advanced" features such as Outlook or Google Desktop style pop-ups, ability to skin the UI, set dialog transparency, customize look and feel: bitmaps, dialog, and control customization (colors, shapes, etc)... I'm mostly looking for the comparison between C++ and Java cross-platform GUI...
3
2091
by: Alfay | last post by:
Hi everybody! I've got a problem: I want to compile a lot of mini-utilities with WxWidgets, but every executable is about 3 or 5 MB. Then I want to give separately the wxwidgets dlls, but I don't know the parameters to use. I've got Windows XP and wxDev-Cpp Example: 10 mini-utilities X 4 MB = 40 MB????? It's better this:
1
2408
DeMan
by: DeMan | last post by:
I built a project using wxWidgets (2.8.3) using codeBlocks, with wxWidgets built MOLITHIC=1, SHARE=0, BUILD=debug and everything was fine and dandy (asside from the 25MB exe). I tried the same by building the Widgets library with BUILD=release (in a seperate directory), changed the path of the library and changed the link command line arguments, but suddenly I get some errors related to wxApp::OnExceptionInMainLoop and...
17
1749
by: marks542004 | last post by:
Hi all , I am an old programmer now hobbyist who has used cobol, basic, and RPG . I am new to c++ but have Microsoft Visual Studio 6.0. I have a program in Basic that reads a file , looks for lines containing a specific string , and lists them. I am trying to do the same thing in C in a search for speed with very
1
3520
by: Marcin Kalicinski | last post by:
I have an application written in C++ that uses wxWidgets for GUI. I use embedded Python for scripting inside of this application. I want to use wxPython to add GUI to my scripts - because my C++ App uses wxWidgets I thought it to be easy. The problem is that wxPython knows nothing about wxApp/wxFrame objects created in my C++ application, and insists (by giving me asserts) that I create another wxApp object for wxPython inside my scripts....
7
3283
by: Protected | last post by:
Hello. I'm a complete newbie trying to learn Python. I decided to try some Tkinter examples, including the one from the library reference, but they don't seem to do anything! Shouldn't there be, like, a dialog? I'm running Windows XP and using IDLE. You can assume my version of Python is the latest.
0
9656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5399
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.