Re: GUI application



kkrish wrote:

With some experience in Java swing, I want to write same kind
of GUI applications in Linux with C++. Which GUI libraries will
require less memory , will be faster?

Are your only concerns memory consumption and speed? (As you're
coming from Java, I almost believed you ;) )

Also, I asked myself why you want to switch. One reason could be
that you aren't comfortable with Java; in this case, other
alternatives should be considered.

I am completely new to GUI development in C++.I know programming
in c++ but not GUI interfacing programming.I googled and
understood QT, GTK, wxWidgets can be used for GUI development.

Yes. At least for Qt and wxWidgets, I know they have tutorials. To
see how the toolkits work it's best to start there.

I do not know the differences between KDE and GNome and other
XWindows libraries,etc.

Ugh. :) There is no "XWindows", we're talking about X Window System
(X). It's the basic GUI layer that is widely used in GNU/Linux
operating systems and others.

Upon X, there exist GUI toolkit libraries like Qt, wxWidgets and
GTK.

Upon these, there are Desktop Environments like KDE (based on Qt)
and Gnome (based on GTK). "Desktop Environment" means a collection
of applications with same look-and-feel and central configuration.

I do not know why XWindows is a employing Client-server like
model .

Why does it concern you? As a typical user and/or GUI programmer
that uses high level toolkits you'll normally never have to cope
with X details. The GUI toolkits provide the necessary abstraction
(as Java SWING also does).

I really could not understand why so much of complexity in GUI
programming that are not there in Java Swing.

Why don't you take a look at GUI scripting solutions like

- Python with wxPython/pyGTK/pyQt
- Perl with wxPerl/(don't know others)

The performance is often sufficient, and the coding much easier
(even easier than in Java).

BTW, you won't understand stuff by staring at it desperately, but by
starting to code and play with the tools.

Regards,


Björn

--
BOFH excuse #177:

sticktion

.



Relevant Pages

  • comp.lang.java.gui FAQ
    ... Q1.3 There are so many Java FAQs. ... Q1.4 Does Sun support or endorse this FAQ? ... Q3.2 How do I update the GUI from another thread? ... Q4.2 What is the Swing single-threading issue? ...
    (comp.lang.java.gui)
  • comp.lang.java.gui FAQ
    ... Q1.3 There are so many Java FAQs. ... Q1.4 Does Sun support or endorse this FAQ? ... Q3.2 How do I update the GUI from another thread? ... Q4.2 What is the Swing single-threading issue? ...
    (comp.lang.java.programmer)
  • Re: Whats your favorite language and why? (LINUX)
    ... and if you want to do GUI, your MT GUI app must serialize all the info ... of are the CLR and the JVM. ... coordination, and with that, any needed synchronization. ... At times, you'll want Java. ...
    (comp.programming)
  • Re: A question to the APL vendors on Windows GUIs ...
    ... Is there a possibility of using "Java GUI Modules" instead? ... we can't provide natural APL interfaces to every possible ... low-level programming. ...
    (comp.lang.apl)
  • comp.lang.java.gui FAQ
    ... Q1.2 There are so many Java FAQs. ... Q1.5 What is Swing? ... Q2.1 My GUI freezes or doesn't update. ... Q2.5 How can I make a transparent or non-rectangular window? ...
    (comp.lang.java.gui)