[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Wizard GUI for X
- From: David Given <dg@...>
- Date: Wed, 08 Sep 2004 01:10:11 +0100
Daniel Quintela wrote:
[...]
Because I never built a GUI for the X platform without using wxWidgets
or FLTK, I have a question for the experts:
Is it possible to build a "user friendly", lightweight and nice X GUI
(wizard style) in 500 lines ?
Sure.
The bulk of the problem is designing the UI. The recommended way to do
this is to use some sort of GUI painter; Glade is the one I use for GTK
and Gnome, there's a similar one for Qt. Once you've done this, all your
program has to do is to load the UI, initialise any components with
dynamic content, attach callbacks to various trigger components, and go.
The only UI I've dealt with non-trivially is GTK, which is pretty
straightforward to use and C based. I haven't used Qt, which is C++ based.
That said, if you're used to wxWidgets, stick with it --- there are GTK
and Qt backends for it, and there's nothing like working in something
you know.
--
[insert interesting .sig here]