Re: GUI quickly?



Juhana Sadeharju wrote:
This is related to open source free project, please help.

I have described variables this way:
NPC / Weight, float
NPC / AI Data / Mood, "<list of choices here>"

What are possibilities for creating GUI with minimal work?
I may group variables to groups, one per window.
I may group variables to subgroups, one per tab.
I may add widget type IDs if that is not clear.
But, using Glade to built the windows is too time-consuming.

Of course, when a value has been edited in GUI, I should
receive message: "NPC / Weight" changed to 3.14, etc.

Sometimes for simple things that drive command-line utilities, a program
called "zenity" is useful.  For example, if you had ashell script and
you just wanted a bit of GUI interaction.  Probably not quite what you
are looking for, but who knows.

There is really no way to do GUI programming without taking a bit of
time and effort.  However it is not that hard to use Glade, so you may
just want to roll up your sleeves and give it a shot.  Of course your
program probably is procedural.  You'll have to rework it under any GUI
system to be event-driven.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]