English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: [Caml-list] Osiris - gtk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-02 (10:07)
From: Kontra, Gergely <kgergely@m...>
Subject: Re: [Caml-list] Osiris - gtk
>> Some sort of automatic placement will be fine. Configure, that all
>> elements in a container vill be top aligned. (=VPanel)
>> The last thing I miss is to enable auto-fill an element. (AlClient is
>> for that purpose?)
>try to work with the "#align" calls in order to align compents
> left/top/right/bottom/client & center are allowed ).
These alignment has "side effects": when you resize the window, they
behave differently: the left and right aligned things can stretch in y
direction, others in x direction.

>you can also use #span & #space on the containers ( windows, panels ).
>This let Osiris handle all the resize / positionning of the components,
>especially when resizing the window or adding new elements.

Well, as I can see only one component is allowed to be
client-aligned. The labels have predefined sizes, they doesn't respect
the actual data. Will osiris do some cool stuff auto-arrange components?
Creating a singe one-row entry field, which is really one row height is
a bit hacking. Specifying the height goes in pixels, not in rows.
Packing is not so simple, so it worth a tutorial.
I think osiris is now low-level to quickly develop GUIs.
Will it be higher-level, or this will be another package?

In the example programs you use mainly explicit placement. In some
examples, the background of the window, where there is no component, is
darkgrey, while the back of the labels, buttons are lighter grey.

I currently can help just with testing/suggestions and maybe some tips
writing the documentation.

+-[Kontra, Gergely @ Budapest University of Technology and Economics]-+
|         Email: kgergely@mcl.hu,  kgergely@turul.eet.bme.hu          |
|  URL:   turul.eet.bme.hu/~kgergely    Mobile: (+36 20) 356 9656     |
+-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+
Magyar php mirror es magyar php dokumentacio: http://hu.php.net

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners