473,769 Members | 5,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Dipping my toes in cross-platform GUI


I don't know the first thing about cross-platform GUI programming, so
I'd like to ask a few quick questions.

Which library is best for someone who appreciates portable programming
and correct efficient code, and who'd like the library to fit well with the
C++ Standard Library? Also I'd like the library to work on as many
platforms as possible (Windows, Linux, Mac, and even the new game consoles
such as Playstation 3 and XBox 360 if possible).

I've heard of wxWidgets and Qt, but I haven't a clue what they're like.
I've seen the cross-platform media player, VLAN; it uses wxWidgets and it
looks good. What GUI libraries are all the well-known programs using, such
as Mozilla, Xilinx?

Is there any cross-platform networking library that stands head and
shoulders above the rest?

--
Tomás Ó hÉilidhe
Jan 8 '08
12 2004
=?UTF-8?B?RXJpayBXaWt zdHLDtm0=?= <Er***********@ telia.comwrote in
news:91******** *********@newsb .telia.net:
>
My point was that they can match the look and feel of a platform, but
seldom more than one. It might have been what you were saying but the
way I read your post you were saying that they can not get the look
and feel right on any platform.
Ahhhh. No, I wasn't trying to say that. What I was trying to say is that it is hard to get
the look and feel right on every platform. Usually the program looks good on the platform
it is developed on, and just a little out of place everywhere else.
joe
Jan 9 '08 #11
Joe Greer wrote:
=?UTF-8?B?RXJpayBXaWt zdHLDtm0=?= <Er***********@ telia.comwrote in
news:91******** *********@newsb .telia.net:
>>
My point was that they can match the look and feel of a platform, but
seldom more than one. It might have been what you were saying but the
way I read your post you were saying that they can not get the look
and feel right on any platform.

Ahhhh. No, I wasn't trying to say that. What I was trying to say is
that it is hard to get the look and feel right on every platform.
Usually the program looks good on the platform it is developed on,
and just a little out of place everywhere else.
I think you hit very close to the bullseye. IME, the program looks
good on the platform where the portable GUI library originated.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Jan 9 '08 #12
On Jan 8, 5:35 am, "Tomás Ó hÉilidhe" <t...@lavabit.c omwrote:
I don't know the first thing about cross-platform GUI programming, so
I'd like to ask a few quick questions.

Which library is best for someone who appreciates portable programming
and correct efficient code, and who'd like the library to fit well with the
C++ Standard Library? Also I'd like the library to work on as many
platforms as possible (Windows, Linux, Mac, and even the new game consoles
such as Playstation 3 and XBox 360 if possible).

I've heard of wxWidgets and Qt, but I haven't a clue what they're like..
I've seen the cross-platform media player, VLAN; it uses wxWidgets and it
looks good. What GUI libraries are all the well-known programs using, such
as Mozilla, Xilinx?

Is there any cross-platform networking library that stands head and
shoulders above the rest?

--
Tomás Ó hÉilidhe
Why not Gtkmm (site: http://www.gtkmm.org/ a C++ wrapper over GTK)? It
is purely an GUI library - nothing more, nothing less. Whereas
wxWidgets and Qt are not JUST gui libraries. They have xml parsing
code (it is very basic with SAX and DOM interfaces don't support
Schemas or XSLT - hence I recommend to use Xerces or libxml2 for your
xml code instead of Qt's xml library), networking api, database api
(for Qt) and even Vectors, Lists, Maps their own String classes (like
QString in Qt). Why do you as a these with your gui library. There are
excellent Boost libraries (or open source libraries) to do most of
these in a very better way. No pointing in learning these again. If
you are only interested in GUI application, Gtkmm is a clean api. It
works fine on Windows and excellent on Linux (and UNIX systems like
Solaris, FreeBSD) - I am not sure how it look on Mac.
Glade library (http://glade.gnome.org/) can even make things better.
It generates Glade XML which can be used in C, C++, Python or even in
Java (From their site: By using libglade, Glade XML files can be used
in numerous programming languages including C, C++, Java, Perl,
Python, C#, Pike, Ruby, Haskell, Objective Caml and Scheme. Adding
support for other languages is easy too.), making Gtk not only a cross-
platform UI library but even language independent.
Tomorrow if you want to migrate your C++ project to Java (or Python),
no need to do anything with your Glade XML UI - it is already
portable.

I recommend to have a look at Gtkmm and Glade.

Jan 15 '08 #13

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

Similar topics

0
2054
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics, manifolds, science, physics, chemistry, law, legal, government, home, office, business, domain lookup, medical, travel, food, university students, searching, searchers, surfing, advanced search, search tools Chemistry, mathematics, physical sciences,...
12
3879
by: * ProteanThread * | last post by:
but depends upon the clique: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=954drf%24oca%241%40agate.berkeley.edu&rnum=2&prev=/groups%3Fq%3D%2522cross%2Bposting%2Bversus%2Bmulti%2Bposting%2522%26ie%3DUTF-8%26oe%3DUTF-8%26hl%3Den ...
3
3114
by: rollasoc | last post by:
Hi, Doing a bit of system testing on a Windows 98 laptop. (.Net 1.1 app). Did a bit of testing. Loaded a previously saved file. A gray box appeared with the text and buttons all white rectangles with a big red cross in it. Pressed a button (the one I thought might be ok). My file appeared to load. Then when I clicked on any button on my form, the button was replaced with a white rectangle with a big red cross in it.
0
1893
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics, manifolds, science, physics, chemistry, law, legal, government, home, office, business, domain lookup, medical, travel, food, university students, searching, searchers, surfing, advanced search, search tools Chemistry, mathematics, physical sciences,...
23
6546
by: Jeff Rodriguez | last post by:
Here's what I want do: Have a main daemon which starts up several threads in a Boss-Queue structure. From those threads, I want them all to sit and watch a queue. Once an entry goes into the queue, grab it and run a system command. Now I want to make sure that system command doesn't hang forever, so I need some way to kill the command and have the worker thread go back to work waiting for another queue entry.
0
2059
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics, manifolds, science, physics, chemistry, law, legal, government, home, office, business, domain lookup, medical, travel, food, university students, searching, searchers, surfing, advanced search, search tools Chemistry, mathematics, physical sciences,...
1
2765
by: Rob Woodworth | last post by:
Hi, I'm having serious problems getting my report to work. I need to generate a timesheet report which will contain info for one employee between certain dates (one week's worth of dates). I have a table containing records for each job done, the records contain date, employee name, job done (a code representing the type of job), cost code (another code), regular hours, and overtime hours. The tricky part is that more than one job can...
6
8635
by: Simon | last post by:
Hi All, An experiment i'm doing requires requires a synchronous cross-domain request, without using a proxy. I wondered if anyone had any ideas to help me achieve this. Below is what I have tried, including my conclusions/assumptions (which i'll happily be corrected on if it solves my problem!): The requirement not to use a proxy means I can't use the synchronous
6
5482
by: Bart Van der Donck | last post by:
Hello, I'm presenting my new library 'AJAX Cross Domain' - a javascript extension that allows to perform cross-domain AJAX requests. http://www.ajax-cross-domain.com/ Any comments or suggestions are welcome. --
6
3992
by: ampo | last post by:
Hello. Can anyone help with cross-domain problem? I have HTML page from server1 that send xmlHTTPRequest to server2. How can I do it? Thanks.
0
9590
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
9424
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
10223
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10051
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
7413
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5310
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...
0
5448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3571
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.