On Mon, 17 Sep 2012 08:50:52 -0700 (PDT), Ludovic Brenta wrote:
> Correct and in addition, the Windows API is just as mind-boggingly
> complex as either Qt or GtkAda.
Windows GDI is much lower level comparing to GTK, but surprisingly simpler
to use, especially because it is natively multi-tasking. Though some things
are simpler with GTK, e.g. containers.
> GUI programming is complex no
> matter how you look at it.
That is because of design faults. There are many contradictory
requirements. Plus, in the case of GTK and Win32, the API become extremely
messy when defined using pure procedural decomposition, which is the only
way to get it in C.
I think that modern languages are immature to deal with GUI programming.
That includes Ada, alas. Typically a GUI is decomposed along multiple axes:
visual containment, events handling, application logic constraints, to name
few. No language supports multiple hierarchies of types needed to describe
such relationships sanely and to reuse the corresponding code.
> So, I'd vote for GtkAda.
That makes two of us. (:-)) But the be honest the choice was quite
arbitrary in my case.