[Iup-users] Layout with IUP

Ingo Hohmann 200502.lists at ingohohmann.de
Thu Aug 17 13:50:45 GMT+3 2006


Hi All, (or is it only Antonio?)

I have IUP partly working with newLisp, and now I'm trying to do a layout,
which should look somewhat like this:

 30%     70%
+-------+---------------+
|       |               |
| List  |   multiline   |  70%
|-------+               |
|       |               |
|       |               |
|       +---------------|
| List  |               |
|       |   multiline   |  30%
|       |               |
|-------+---------------+
|      [Button]         |
+-----------------------+

(I hope you're reading this with monospaced fonts ;-)

But I just don't get the layout right. Between my trials I got layouts
with one of the
diomensions about right, and the other just 50/50, and now I'm again
stuck as everything
being space 50/50.

I don't know where to put the size information (into the visible
widgets or the layout widgets?
everywhere? something completely different?)

I'd appreciate a C example, on how this should be done, to check
wether I have just used
the functions incorrectly, or wether my mappings to the functions are wrong.


Kind regards,

Ingo



More information about the iup-users mailing list